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-08-05 21:20:17 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-08-05 21:35:22 +0300
commitb4a325f535e56e37f1a22c12f189b39552fd6ba7 (patch)
tree8cf0375dbd598546b7cee0891e578682bfd27646 /source/blender/editors/include/UI_interface_icons.h
parent17f299c5d14f0435595afe51c4153ae4037bb81b (diff)
Cleanup: use unsigned char for theme colors
Nearly all byte-color functions use 'uchar' causing casts when then colors were passed in. Declare as uchar to remove the need for casts.
Diffstat (limited to 'source/blender/editors/include/UI_interface_icons.h')
-rw-r--r--source/blender/editors/include/UI_interface_icons.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/UI_interface_icons.h b/source/blender/editors/include/UI_interface_icons.h
index 1f15fa3bd4d..db8afccbe2d 100644
--- a/source/blender/editors/include/UI_interface_icons.h
+++ b/source/blender/editors/include/UI_interface_icons.h
@@ -75,7 +75,7 @@ void UI_icon_draw_ex(float x,
float aspect,
float alpha,
float desaturate,
- const char mono_color[4],
+ const uchar mono_color[4],
const bool mono_border);
void UI_icon_draw_desaturate(float x,