diff options
author | Mike Erwin <significant.bit@gmail.com> | 2017-01-16 03:26:35 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2017-01-16 03:30:05 +0300 |
commit | 4e2c6ad8eeefcefe2683e4949cec47fd383b1a5f (patch) | |
tree | d223c1c1a61b115dc94e10cd2baae65ae51c915b /source/blender/editors/include/UI_resources.h | |
parent | 7eb4c850d382b02fa2eea349ab6718ebbcd4b768 (diff) |
Updating outliner_draw_struct_marks to retained mode
Had to add a few utility functions to replace existing functions. Let me know if these are duplicates.
Reviewers: merwin
Reviewed By: merwin
Tags: #bf_blender_2.8
Maniphest Tasks: T49043
Differential Revision: https://developer.blender.org/D2434
Diffstat (limited to 'source/blender/editors/include/UI_resources.h')
-rw-r--r-- | source/blender/editors/include/UI_resources.h | 4 |
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 be03647d6f4..b7a5217a862 100644 --- a/source/blender/editors/include/UI_resources.h +++ b/source/blender/editors/include/UI_resources.h @@ -353,6 +353,10 @@ 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 void UI_GetThemeColorShade4fv(int colorid, int offset, float col[4]); void UI_GetThemeColorShadeAlpha4fv(int colorid, int coloffset, int alphaoffset, float col[4]); + +// get four colour values ranged between 0 and 255; includes the alpha channel +void UI_GetThemeColorShadeAlpha4ubv(int colorid, int coloffset, int alphaoffset, unsigned char col[4]); + // get four color values, range 0.0-1.0, complete with shading offset for the RGB components and blending void UI_GetThemeColorBlendShade4fv(int colorid1, int colorid2, float fac, int offset, float col[4]); |