UI: preset popover buttons in panel headers.
Moves the preset into a menu for the panel header, so it can be changed without opening the panel and takes up less space. Two remaining issues: * For long lists the add new preset button can be scrolled off screen. * We should support showing the name of the chosen preset in the panel header, but the current preset system does not support detecting which preset is used. Differential Revision: https://developer.blender.org/D3366
This commit is contained in:
@@ -113,9 +113,7 @@ DEF_ICON(FILE_TICK)
|
||||
DEF_ICON(QUIT)
|
||||
DEF_ICON(URL)
|
||||
DEF_ICON(RECOVER_LAST)
|
||||
#ifndef DEF_ICON_BLANK_SKIP
|
||||
DEF_ICON(BLANK038)
|
||||
#endif
|
||||
DEF_ICON(PRESET)
|
||||
DEF_ICON(FULLSCREEN_ENTER)
|
||||
DEF_ICON(FULLSCREEN_EXIT)
|
||||
DEF_ICON(BLANK1) // Not actually blank - this is used all over the place
|
||||
|
||||
Reference in New Issue
Block a user