Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-06-03 04:01:22 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-06-03 04:01:22 +0400
commit7498561cfb27166569ae6f0b154bf8391a0cdd9f (patch)
tree59f02dc34f8e6766d0b3242ef4b0d029bd4217e4 /source/blender/editors/space_buttons/buttons_intern.h
parent5b2737a73523560bf195279a6b1b922d0b415182 (diff)
2.5:
* Button space context now includes most data so python code doesn't have to look it up manually, and to plug-in context browsing later.
Diffstat (limited to 'source/blender/editors/space_buttons/buttons_intern.h')
-rw-r--r--source/blender/editors/space_buttons/buttons_intern.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/editors/space_buttons/buttons_intern.h b/source/blender/editors/space_buttons/buttons_intern.h
index 9d49a1eeaab..ea1fe7db29e 100644
--- a/source/blender/editors/space_buttons/buttons_intern.h
+++ b/source/blender/editors/space_buttons/buttons_intern.h
@@ -31,7 +31,7 @@
struct ARegion;
struct ARegionType;
struct bContext;
-
+struct bContextDataResult;
/* buts->scaflag */
#define BUTS_SENS_SEL 1
@@ -48,8 +48,11 @@ struct bContext;
/* internal exports only */
-/* image_header.c */
+/* buttons_header.c */
void buttons_header_buttons(const struct bContext *C, struct ARegion *ar);
+/* buttons_context.c */
+int buttons_context(const struct bContext *C, const char *member, struct bContextDataResult *result);
+
#endif /* ED_BUTTONS_INTERN_H */