diff options
author | Julian Eisel <julian@blender.org> | 2020-09-18 21:10:40 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-09-18 21:38:45 +0300 |
commit | aacf8d75f5cbf8db5ac6feec7e49eac7c296ad96 (patch) | |
tree | 1df7b52bd70ce8350f6bfd2eb6b5f5f289c4a189 /source/blender/editors/interface/interface_intern.h | |
parent | a6a0cbcd7492bd8087b6df659c365482614b13e2 (diff) |
UI: Support mouse over highlighting for superimposed icons
E.g. the 'x' icons or eyedropper icons in text buttons. They didn't use
to have any mouse over feedback, now we dim the icon until hovered.
This kind of feedback helps users see that the icons are interactive,
and if they are within their interaction hotspot.
Diffstat (limited to 'source/blender/editors/interface/interface_intern.h')
-rw-r--r-- | source/blender/editors/interface/interface_intern.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h index d62b8a0258a..c233bebd88b 100644 --- a/source/blender/editors/interface/interface_intern.h +++ b/source/blender/editors/interface/interface_intern.h @@ -375,6 +375,8 @@ typedef struct uiButExtraOpIcon { BIFIconID icon; struct wmOperatorCallParams *optype_params; + + bool highlighted; } uiButExtraOpIcon; typedef struct ColorPicker { |