Blender Git Commit Log

Git Commits -> Revision f3f65f3

June 5, 2015, 20:54 (GMT)
A first Menu/Popup redesign

Based on this mockup by @venomgfx: http://wiki.blender.org/index.php/
User:Venomgfx/User_Interface#Menu_Item_.26_Menu_Back

Main changes:
* Draw background for menu title in a different color (currently
hardcoded darker) instead of using a separation line
* Align submenu triangle icons vertically and add some extra space for
them so that they are not squashed in to the line (means shortcut text
is now always vertically aligned as well)
* More modern submenu triangle icon drawing
* Draw separation lines a bit more visible
* Don't add extra icon padding if the menu doesn't contain any icons
(text in menus often used to have some padding on the left so that the
text is nicely aligned even when some entries had icons in front of it.
This is all fine but wasn't needed/looked weird if there isn't any menu
entry with an icon at all - e.g. 3D View "Select" menu, most of the RMB-
menus)
* Cleanup

Screenshots:
* https://developer.blender.org/F185706
* https://developer.blender.org/F185707
* https://developer.blender.org/F185708

Commit Details:

Full Hash: f3f65f38b7a6501eee9b1a1bdba9df05c7157806
Parent Commit: 868b1e3
Lines Changed: +352, -142

10 Modified Paths:

/release/scripts/startup/bl_ui/space_view3d.py (+2, -1) (Diff)
/source/blender/editors/armature/pose_group.c (+3, -1) (Diff)
/source/blender/editors/include/UI_interface.h (+5, -2) (Diff)
/source/blender/editors/interface/interface.c (+21, -6) (Diff)
/source/blender/editors/interface/interface_handlers.c (+30, -10) (Diff)
/source/blender/editors/interface/interface_intern.h (+5, -0) (Diff)
/source/blender/editors/interface/interface_regions.c (+47, -32) (Diff)
/source/blender/editors/interface/interface_widgets.c (+234, -71) (Diff)
/source/blender/editors/space_image/image_buttons.c (+5, -18) (Diff)
/source/blender/editors/space_nla/nla_edit.c (+0, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021