15bab56fbc
Merge branch 'master' into blender2.8
2018-09-11 11:02:37 +10:00
5bb11cfde2
UI: split theme draw style into separate field
...
Was using UI_BLOCK_LOOP to control draw style,
this meant we couldn't use popup theme colors for cases
where it the interface has the same purpose as a popup but happens
not to use this flag.
2018-09-11 10:56:08 +10:00
3823287179
Merge branch 'master' into blender2.8
2018-06-07 17:08:55 +02:00
d274c64d22
WM: add support for drag events
...
This allows for a single key to be mapped to both release and drag,
useful for pie menus to share a key with a different action.
2018-06-07 17:06:01 +02:00
5f8ad885e1
Fix some popup menus that don't support it refreshing and crashing.
2018-04-30 14:27:44 +02:00
c509922605
UI: use a wider minimum menu width
...
Icon only buttons with menus would be too narrow,
especially buttons for selecting tools.
2018-04-25 21:54:29 +02:00
6618852b7f
WM: Add WM_menutype_poll function
...
Wraps menutype poll, no functional changes.
2018-02-23 17:02:03 +11:00
2a87bd8995
Cleanup: split interface_regions.c
...
Each region type is quite separate and file was getting too big.
2017-11-03 20:57:09 +11:00