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/makesdna/DNA_userdef_types.h | |
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/makesdna/DNA_userdef_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index a67502d9283..acd789e7aae 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -161,6 +161,12 @@ typedef struct ThemeUI { uiPanelColors panel; /* depricated, but we keep it for do_versions (2.66.1) */ + /* fac: 0 - 1 for blend factor, width in pixels */ + float menu_shadow_fac; + short menu_shadow_width; + + short pad; + char iconfile[256]; // FILE_MAXFILE length float icon_alpha; |