diff options
author | Luca Rood <dev@lucarood.com> | 2017-02-08 01:53:20 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2017-02-11 02:36:06 +0300 |
commit | 8fbf1c4d77dcf21f2b7d63db51c7b6a950e21993 (patch) | |
tree | 0573988e7f0726d28a1a1210f00c5823e104071f /source/blender/editors/animation | |
parent | 3f9f82f3c45e9889ae00636ef41d9dc49cad4d83 (diff) |
OpenGL immediate mode: Convert leftover UI_ThemeColor calls
Some `UI_ThemeColor` calls were left in converted files, in some cases
because they were just overlooked, and in the case of text drawing,
because the new BLF color functions were not yet implemented at the
time of conversion.
Also converted one `drawcircball` call that was left in
transform_constraints.c
Part of T49043
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r-- | source/blender/editors/animation/anim_channels_defines.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/animation/anim_channels_defines.c b/source/blender/editors/animation/anim_channels_defines.c index 716c96fa489..44bed4999be 100644 --- a/source/blender/editors/animation/anim_channels_defines.c +++ b/source/blender/editors/animation/anim_channels_defines.c @@ -3907,6 +3907,7 @@ void ANIM_channel_draw(bAnimContext *ac, bAnimListElem *ale, float yminc, float /* set text color */ /* XXX: if active, highlight differently? */ + if (selected) UI_GetThemeColor4ubv(TH_TEXT_HI, col); else |