diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-06-04 08:22:29 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-06-04 08:24:05 +0400 |
commit | 5ee55caba58371d06e6437a493a93bdec804be45 (patch) | |
tree | 45d83052061d66011a7c69ba6e8a2daf8d6438c9 /source/blender/editors/include/UI_resources.h | |
parent | b3e9a71a3dc47900afe5bad04b810a33165fa658 (diff) |
Fix for dupli's ignoring color in set-scenes
also skip setting wire color drawing depth
Diffstat (limited to 'source/blender/editors/include/UI_resources.h')
-rw-r--r-- | source/blender/editors/include/UI_resources.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_resources.h b/source/blender/editors/include/UI_resources.h index 0f11994e2d1..2e78940a813 100644 --- a/source/blender/editors/include/UI_resources.h +++ b/source/blender/editors/include/UI_resources.h @@ -48,6 +48,9 @@ typedef enum { #undef DEF_ICON #undef DEF_VICO +/* use to denote intentionally unset theme color */ +#define TH_UNDEFINED -1 + enum { TH_REDALERT, @@ -311,6 +314,7 @@ int UI_GetThemeValue(int colorid); // get three color values, scaled to 0.0-1.0 range void UI_GetThemeColor3fv(int colorid, float col[3]); +void UI_GetThemeColorBlend3ubv(int colorid1, int colorid2, float fac, unsigned char col[3]); // get the color, range 0.0-1.0, complete with shading offset void UI_GetThemeColorShade3fv(int colorid, int offset, float col[3]); void UI_GetThemeColorShade3ubv(int colorid, int offset, unsigned char col[3]); |