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:
authorCampbell Barton <ideasman42@gmail.com>2019-02-15 03:58:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-15 03:58:36 +0300
commit796abc90a8ba27aa0da5808790a9607d08df61d0 (patch)
tree745d17611ffba766d8977beda77a67dd509c8ba6 /source/blender/editors/include
parent986d480566ff3ec341c4fddd372a254aa3b6516a (diff)
Fix T58090: Selected curve vertex should stand out
D4002 by @slumber w/ edits. Use text colors, blending to background if they don't contrast.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/UI_resources.h4
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 1f8309a2c65..1fb9a28d273 100644
--- a/source/blender/editors/include/UI_resources.h
+++ b/source/blender/editors/include/UI_resources.h
@@ -345,6 +345,10 @@ void UI_GetThemeColorBlendShade3ubv(int colorid1, int colorid2, float fac, int o
// get four color values, scaled to 0.0-1.0 range
void UI_GetThemeColor4fv(int colorid, float col[4]);
+
+/* get four color values from specified space type, scaled to 0.0-1.0 range */
+void UI_GetThemeColorType4fv(int colorid, int spacetype, float col[4]);
+
// get four color values, range 0.0-1.0, complete with shading offset for the RGB components
void UI_GetThemeColorShade4fv(int colorid, int offset, float col[4]);
void UI_GetThemeColorShadeAlpha4fv(int colorid, int coloffset, int alphaoffset, float col[4]);