Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrax <cyrax.iiit@gmail.com>2017-02-09 02:33:40 +0300
committerMike Erwin <significant.bit@gmail.com>2017-02-09 02:34:02 +0300
commit6444ba263529e2b727ed566b984bbd4203a47a0d (patch)
tree1193549d444f3a8e60aa9d754a34702e3df6ea55 /source/blender/editors/include/UI_resources.h
parentb08483defa4ae7b253497796585f694ab3bf3b4d (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.h1
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]);