diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-08-14 21:03:08 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-08-14 21:03:08 +0300 |
commit | e6af1e447871a66dc5808e9544e459008c4c1977 (patch) | |
tree | 1d986b4979f61b9f902da3c63f6384006a205029 /source/blender/editors/include/UI_resources.h | |
parent | a3c9f4de7041993ace15078e9943dc2e2c7c1fff (diff) |
Cleanup: remove unused theme color functions using legacy GL.
Diffstat (limited to 'source/blender/editors/include/UI_resources.h')
-rw-r--r-- | source/blender/editors/include/UI_resources.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/source/blender/editors/include/UI_resources.h b/source/blender/editors/include/UI_resources.h index d2fbb881a0a..94223d1ff46 100644 --- a/source/blender/editors/include/UI_resources.h +++ b/source/blender/editors/include/UI_resources.h @@ -322,24 +322,6 @@ struct bThemeState { // THE CODERS API FOR THEMES: -// sets the color -void UI_ThemeColor(int colorid); - -// sets the color plus alpha -void UI_ThemeColor4(int colorid); - -// sets color plus offset for shade -void UI_ThemeColorShade(int colorid, int offset); - -// sets color plus offset for alpha -void UI_ThemeColorShadeAlpha(int colorid, int coloffset, int alphaoffset); - -// sets color, which is blend between two theme colors -void UI_ThemeColorBlend(int colorid1, int colorid2, float fac); -// same, with shade offset -void UI_ThemeColorBlendShade(int colorid1, int colorid2, float fac, int offset); -void UI_ThemeColorBlendShadeAlpha(int colorid1, int colorid2, float fac, int offset, int alphaoffset); - // returns one value, not scaled float UI_GetThemeValuef(int colorid); int UI_GetThemeValue(int colorid); @@ -379,9 +361,6 @@ void UI_GetThemeColor4ubv(int colorid, unsigned char col[4]); // get a theme color from specified space type void UI_GetThemeColorType4ubv(int colorid, int spacetype, char col[4]); -// blends and shades between two color pointers -void UI_ColorPtrBlendShade3ubv(const unsigned char cp1[3], const unsigned char cp2[3], float fac, int offset); - // shade a 3 byte color (same as UI_GetColorPtrBlendShade3ubv with 0.0 factor) void UI_GetColorPtrShade3ubv(const unsigned char cp1[3], unsigned char col[3], int offset); |