Blender Git Loki
Git Commits -> Revision f08032e
Revision f08032e by Brecht Van Lommel (master) January 15, 2009, 04:13 (GMT) |
UI: various changes * View2D to region now returns ints instead of shorts. * Use "Numpad" instead of "Pad" in automatic keymap menu info. * Menus can now use buttons other than BUTM and SEPR, in particular TOG and ROW are now supported instead of flipping bits manually. * Added a simpler uiDefMenu* api for making menus now, and it only supports Operator and RNA buttons at the moment, will be used in next commit. Not sure how this will evolve .. makes menu code look cleaner anyways. * Ensure that interface code doesn't crash when getting unknown Operators and RNA properties, and display their buttons grayed out in that case. |
Commit Details:
Full Hash: f08032e8f967e5c5893116fc24c82a18da7bdf79
SVN Revision: 18515
Parent Commit: ad50055
Lines Changed: +264, -151
14 Modified Paths:
/source/blender/editors/gpencil/gpencil.c (+6, -7) (Diff)
/source/blender/editors/include/UI_interface.h (+8, -3) (Diff)
/source/blender/editors/include/UI_resources.h (+0, -7) (Diff)
/source/blender/editors/include/UI_view2d.h (+2, -2) (Diff)
/source/blender/editors/interface/interface.c (+206, -88) (Diff)
/source/blender/editors/interface/interface_draw.c (+2, -2) (Diff)
/source/blender/editors/interface/interface_regions.c (+2, -5) (Diff)
/source/blender/editors/interface/view2d.c (+13, -12) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+1, -1) (Diff)
/source/blender/editors/space_time/time_header.c (+4, -4) (Diff)
/source/blender/editors/transform/transform.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+17, -17) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+1, -1) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -1) (Diff)
/source/blender/editors/include/UI_interface.h (+8, -3) (Diff)
/source/blender/editors/include/UI_resources.h (+0, -7) (Diff)
/source/blender/editors/include/UI_view2d.h (+2, -2) (Diff)
/source/blender/editors/interface/interface.c (+206, -88) (Diff)
/source/blender/editors/interface/interface_draw.c (+2, -2) (Diff)
/source/blender/editors/interface/interface_regions.c (+2, -5) (Diff)
/source/blender/editors/interface/view2d.c (+13, -12) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+1, -1) (Diff)
/source/blender/editors/space_time/time_header.c (+4, -4) (Diff)
/source/blender/editors/transform/transform.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+17, -17) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+1, -1) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -1) (Diff)