diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-02-04 14:52:16 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-02-04 14:52:16 +0300 |
commit | df7e7660325611847721768fb7d082e7d5f2736c (patch) | |
tree | a13434a5824a3f55c46f6d876275f864647c0f95 /source/blender/editors/include/UI_resources.h | |
parent | 0341e762b28f732dd2913ebec48405f7718a4617 (diff) |
UI
* Changed uiPupMenuOperator usage to uiPupMenuBegin/End (simpler,
no need to build a string). Also made transform orientation and
subdiv type enums instead of ints for this.
* Added an icon argument to many of the uiMenu calls, and added a
uiMenuItemIntO.
* Move auto rna button creation out of outliner code, now is
uiDefAutoButR for individual buttons and uiDefAutoButsRNA for a
whole block.
* Implemented uiPupBlock(O). Pressing F6 gives a menu with the
properties of the last operator to test. I tried to make a redo
last operator out of this but couldn't get the context correct
for the operator to repeat in. Further the popup block also has
some issues getting closed while editing buttons.
* Fix uiAfterFunc memory leak on Ctrl+Q quit.
* Fix handling of RNA number button dragging and sliding for RNA
buttons with range -inf/inf.
Diffstat (limited to 'source/blender/editors/include/UI_resources.h')
-rw-r--r-- | source/blender/editors/include/UI_resources.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_resources.h b/source/blender/editors/include/UI_resources.h index 939c5b005c2..5012a71a647 100644 --- a/source/blender/editors/include/UI_resources.h +++ b/source/blender/editors/include/UI_resources.h @@ -878,6 +878,7 @@ enum { /* specific defines per space should have higher define values */ struct bTheme; +struct PointerRNA; // THE CODERS API FOR THEMES: @@ -919,6 +920,8 @@ void UI_ColorPtrBlendShade3ubv(char *cp1, char *cp2, float fac, int offset); // get a 3 byte color, blended and shaded between two other char color pointers void UI_GetColorPtrBlendShade3ubv(char *cp1, char *cp2, char *col, float fac, int offset); +// get pointer from RNA pointer +int UI_GetIconRNA(struct PointerRNA *ptr); struct ScrArea; |