Blender Git Loki
Git Commits -> Revision 26a8c63
Revision 26a8c63 by Brecht Van Lommel (master) April 16, 2009, 12:17 (GMT) |
UI: * Don't call generic layout hints templates anymore, i.e. TemplateRow becomes Row, etc. * Added more general layout nesting, using uiLayoutSplit() and uiLayoutBox() functions, for which the sublayouts can then be accessed using uiLayoutSub(), to put items in those sublayouts. * Some steps to make the layout decisions, like which items to put in which columns, independent of the width of the window or the text in the buttons. We want the layout to be stable under resizes and translations. * Added an "expand" parameter to uiItemR, used now to expand enums into a row instead of using a menu. |
Commit Details:
Full Hash: 26a8c63eae9c398ad82122877f0ea3d9b167d66c
SVN Revision: 19754
Parent Commit: db7d010
Lines Changed: +451, -339
7 Modified Paths:
/release/ui/buttons_objects.py (+30, -28) (Diff)
/release/ui/buttons_scene.py (+15, -15) (Diff)
/source/blender/editors/include/UI_interface.h (+11, -24) (Diff)
/source/blender/editors/interface/interface_api.c (+19, -25) (Diff)
/source/blender/editors/interface/interface_layout.c (+351, -216) (Diff)
/source/blender/editors/interface/interface_utils.c (+4, -6) (Diff)
/source/blender/editors/space_text/text_header.c (+21, -25) (Diff)
/release/ui/buttons_scene.py (+15, -15) (Diff)
/source/blender/editors/include/UI_interface.h (+11, -24) (Diff)
/source/blender/editors/interface/interface_api.c (+19, -25) (Diff)
/source/blender/editors/interface/interface_layout.c (+351, -216) (Diff)
/source/blender/editors/interface/interface_utils.c (+4, -6) (Diff)
/source/blender/editors/space_text/text_header.c (+21, -25) (Diff)