diff options
author | Ton Roosendaal <ton@blender.org> | 2012-12-20 20:50:39 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2012-12-20 20:50:39 +0400 |
commit | 566d35036961dbe2c786b70a2972ca77055420a6 (patch) | |
tree | 0d970133be2850333bc4e97c59b9fd505de4e931 /source/blender/editors/include | |
parent | 4d3f0cb8c1e7a47dda400727dea8657fb74265d8 (diff) |
UI todo:
- Recoded soft shadow drawing for menus, giving better predictable results
(and round off nicer on top side, was looking bad still)
- Brought it under DPI control
- Added Theme setting to control size and strength for it.
Max size 24 pix:
http://wiki.blender.org/index.php/File:MenuShadow.png
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_resources.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_resources.h b/source/blender/editors/include/UI_resources.h index eaab17c4137..119c26b2fd5 100644 --- a/source/blender/editors/include/UI_resources.h +++ b/source/blender/editors/include/UI_resources.h @@ -287,6 +287,9 @@ void UI_SetTheme(int spacetype, int regionid); // get current theme struct bTheme *UI_GetTheme(void); +// return shadow width outside menus and popups */ +int UI_ThemeMenuShadowWidth(void); + /* only for buttons in theme editor! */ const unsigned char *UI_ThemeGetColorPtr(struct bTheme *btheme, int spacetype, int colorid); |