diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-06-07 17:20:41 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-06-07 17:20:41 +0400 |
commit | 1c9079d6e1ea8912a5b5901026e6f4446dea0527 (patch) | |
tree | 0a9fe3be6b9854f88b1a4ec9e69f3eb58e4a4460 /source/blender/editors/include | |
parent | c1135d489bf7c41b2e081b593bac08e62bf980a3 (diff) |
UI:
* layout.split() now takes a percentage argument to control
the split position.
* ID template now works for more than just the Text ID type,
includes and icon, and some other fixes.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 4 | ||||
-rw-r--r-- | source/blender/editors/include/UI_resources.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 53fcf581f7e..cb105f2ea3e 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -594,13 +594,13 @@ uiLayout *uiLayoutColumn(uiLayout *layout, int align); uiLayout *uiLayoutColumnFlow(uiLayout *layout, int number, int align); uiLayout *uiLayoutBox(uiLayout *layout); uiLayout *uiLayoutFree(uiLayout *layout, int align); -uiLayout *uiLayoutSplit(uiLayout *layout); +uiLayout *uiLayoutSplit(uiLayout *layout, float percentage); uiBlock *uiLayoutFreeBlock(uiLayout *layout); /* templates */ void uiTemplateHeader(uiLayout *layout, struct bContext *C); -void uiTemplateHeaderID(uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, char *propname, +void uiTemplateID(uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, char *propname, char *newop, char *openop, char *unlinkop); uiLayout *uiTemplateModifier(uiLayout *layout, struct PointerRNA *ptr); uiLayout *uiTemplateConstraint(uiLayout *layout, struct PointerRNA *ptr); diff --git a/source/blender/editors/include/UI_resources.h b/source/blender/editors/include/UI_resources.h index 5339a255dbc..6fa0eb90c5f 100644 --- a/source/blender/editors/include/UI_resources.h +++ b/source/blender/editors/include/UI_resources.h @@ -83,8 +83,8 @@ typedef enum { ICON_CHECKBOX_HLT, ICON_UNLOCKED, ICON_LOCKED, - ICON_BLANK013, - ICON_BLANK014, + ICON_PINNED, + ICON_UNPINNED, ICON_BLANK015, ICON_RIGHTARROW, ICON_DOWNARROW_HLT, |