Blender Git Loki
Git Commits -> Revision 56c6bd6
Revision 56c6bd6 by Julian Eisel (temp-ui-widget-refactor) July 16, 2015, 19:44 (GMT) |
New widget type for preview menu items Also to avoid special draw calls. Note: This adds iconid and str args to uiWidgetDrawType->text callback, which is currently only needed for preview menu items (could also be done differently), but in future this might be handy to get rid of uiBut usage on this level. |
Commit Details:
Full Hash: 56c6bd646af638a9d0e5fc52f6c0e66117c99f18
Parent Commit: 85eb2ea
Lines Changed: +89, -53
6 Modified Paths:
/source/blender/editors/interface/interface_intern.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_widgets.c (+10, -38) (Diff)
/source/blender/editors/interface/widgets/widgets.h (+2, -1) (Diff)
/source/blender/editors/interface/widgets/widgets_draw/drawstyle_classic.c (+18, -0) (Diff)
/source/blender/editors/interface/widgets/widgets_draw/widgets_draw_intern.h (+11, -7) (Diff)
/source/blender/editors/interface/widgets/widgets_draw/widgets_draw_text.c (+47, -7) (Diff)
/source/blender/editors/interface/interface_widgets.c (+10, -38) (Diff)
/source/blender/editors/interface/widgets/widgets.h (+2, -1) (Diff)
/source/blender/editors/interface/widgets/widgets_draw/drawstyle_classic.c (+18, -0) (Diff)
/source/blender/editors/interface/widgets/widgets_draw/widgets_draw_intern.h (+11, -7) (Diff)
/source/blender/editors/interface/widgets/widgets_draw/widgets_draw_text.c (+47, -7) (Diff)