diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-06-07 17:36:12 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-06-07 17:36:12 +0400 |
commit | eecf7722b635545f0f5c51b74a15418e3cc9f47e (patch) | |
tree | 9d74c4603411f4aa6d527d229d2ea05220f81aec /source/blender/editors/space_buttons/buttons_intern.h | |
parent | 0a9dea9d7d2db373b47395d4b5d564e559da5229 (diff) |
UI Buttons:
* Context now allows pinning a datablock, independent of
selection.
* Initial ID browse buttons for most buttons tabs.
* Browsing from world to texture now displays world textures
again, but is a bit of a hack, not sure there is a right
way to do this.
* There's a button to switch between active materials and
textures now, only temporary though.
* There's some code to put context part in own region,
disabled still because it doesn't work that well yet.
Diffstat (limited to 'source/blender/editors/space_buttons/buttons_intern.h')
-rw-r--r-- | source/blender/editors/space_buttons/buttons_intern.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/source/blender/editors/space_buttons/buttons_intern.h b/source/blender/editors/space_buttons/buttons_intern.h index 04c7241c465..196647a3750 100644 --- a/source/blender/editors/space_buttons/buttons_intern.h +++ b/source/blender/editors/space_buttons/buttons_intern.h @@ -32,6 +32,9 @@ struct ARegion; struct ARegionType; struct bContext; struct bContextDataResult; +struct SpaceButs; +struct uiLayout; +struct wmOperatorType; /* buts->scaflag */ #define BUTS_SENS_SEL 1 @@ -52,9 +55,15 @@ struct bContextDataResult; void buttons_header_buttons(const struct bContext *C, struct ARegion *ar); /* buttons_context.c */ -void buttons_context_compute(const struct bContext *C, SpaceButs *sbuts); +void buttons_context_compute(const struct bContext *C, struct SpaceButs *sbuts); int buttons_context(const struct bContext *C, const char *member, struct bContextDataResult *result); +void buttons_context_draw(const struct bContext *C, struct uiLayout *layout); void buttons_context_register(struct ARegionType *art); +/* buttons_ops.c */ +void MATERIAL_OT_new(struct wmOperatorType *ot); +void TEXTURE_OT_new(struct wmOperatorType *ot); +void WORLD_OT_new(struct wmOperatorType *ot); + #endif /* ED_BUTTONS_INTERN_H */ |