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:
authorLuca Rood <dev@lucarood.com>2017-02-02 01:40:49 +0300
committerLuca Rood <dev@lucarood.com>2017-02-02 01:40:49 +0300
commit57573df0d3c45629080996704fa8d32b458dcfa5 (patch)
tree831dc4a9ea78a3f2f3be8949464a98a6842c25e6 /source/blender/editors/include/UI_resources.h
parent4935e2449b2c0d52eb27f4889533d72c8e12df94 (diff)
Add GetThemeColorBlendShade3ubv function
Differential Revision: https://developer.blender.org/D2484 Used by part of T49043
Diffstat (limited to 'source/blender/editors/include/UI_resources.h')
-rw-r--r--source/blender/editors/include/UI_resources.h3
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 b7a5217a862..dbd3d7d9934 100644
--- a/source/blender/editors/include/UI_resources.h
+++ b/source/blender/editors/include/UI_resources.h
@@ -348,6 +348,9 @@ void UI_GetThemeColorBlend3ubv(int colorid1, int colorid2, float fac, unsigne
void UI_GetThemeColorShade3fv(int colorid, int offset, float col[3]);
void UI_GetThemeColorShade3ubv(int colorid, int offset, unsigned char col[3]);
+// 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]);
+
// get four color values, scaled to 0.0-1.0 range
void UI_GetThemeColor4fv(int colorid, float col[4]);
// get four color values, range 0.0-1.0, complete with shading offset for the RGB components