diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-04-26 16:42:08 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-04-26 17:37:59 +0300 |
commit | c490428bd4dff75fb371777d4e95ea270c77ea94 (patch) | |
tree | 9cc348fc846dd551ecf716a5335278ceea5ea60d /source/blender/editors/include/UI_interface_icons.h | |
parent | 5876856f7bdaac74ae5b09afb5a2c81cdb4f873e (diff) |
UI: desaturate toolbar icons that the mouse is not over.
This does not look great with light toolbar buttons as in the default,
so consider this a work in progress.
Diffstat (limited to 'source/blender/editors/include/UI_interface_icons.h')
-rw-r--r-- | source/blender/editors/include/UI_interface_icons.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface_icons.h b/source/blender/editors/include/UI_interface_icons.h index 5af2bcb27a1..a17eb6be618 100644 --- a/source/blender/editors/include/UI_interface_icons.h +++ b/source/blender/editors/include/UI_interface_icons.h @@ -76,6 +76,7 @@ void UI_icon_draw_preview_aspect_size(float x, float y, int icon_id, float aspec void UI_icon_draw_aspect(float x, float y, int icon_id, float aspect, float alpha); void UI_icon_draw_aspect_color(float x, float y, int icon_id, float aspect, const float rgb[3]); void UI_icon_draw_size(float x, float y, int size, int icon_id, float alpha); +void UI_icon_draw_desaturate(float x, float y, int icon_id, float aspect, float alpha); void UI_icons_free(void); void UI_icons_free_drawinfo(void *drawinfo); |