diff options
author | Cyrax <cyrax.iiit@gmail.com> | 2017-02-09 02:33:40 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2017-02-09 02:34:02 +0300 |
commit | 6444ba263529e2b727ed566b984bbd4203a47a0d (patch) | |
tree | 1193549d444f3a8e60aa9d754a34702e3df6ea55 /source/blender/editors/include/UI_resources.h | |
parent | b08483defa4ae7b253497796585f694ab3bf3b4d (diff) |
added UI_GetThemeColorShade4ubv function
And updated UI_ThemeColorShade to use it.
Part of D2438 by @cyrax
Diffstat (limited to 'source/blender/editors/include/UI_resources.h')
-rw-r--r-- | source/blender/editors/include/UI_resources.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_resources.h b/source/blender/editors/include/UI_resources.h index 5924529ddcc..2fc76ae9563 100644 --- a/source/blender/editors/include/UI_resources.h +++ b/source/blender/editors/include/UI_resources.h @@ -347,6 +347,7 @@ void UI_GetThemeColorBlend3ubv(int colorid1, int colorid2, float fac, unsigne // 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]); +void UI_GetThemeColorShade4ubv(int colorid, int offset, unsigned char col[4]); // get three color values, range 0-255, complete with shading offset for the RGB components and blending void UI_GetThemeColorBlendShade3ubv(int colorid1, int colorid2, float fac, int offset, unsigned char col[3]); |