Blender Git Loki

Git Commits -> Revision f3f65f3

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

Based on this mockup by @venomgfx:

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-
* Cleanup


Commit Details:

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

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2020