diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-05 06:52:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-05 06:52:19 +0300 |
commit | 6f1f7296f4cf69602f599dda92e0590593f4cc62 (patch) | |
tree | 2c9f1de02f5202099b22af099b60b14034529861 /source/blender/windowmanager/WM_api.h | |
parent | e1751415dc9a2c5287bda8116f501a6fb2d55a1a (diff) |
UI: show a small label next to the tool
Instead of showing the full tip immediately when hovering over a tool,
show only the (label, shortcut), without suppressing the regular tip.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index 36f030e4eac..62afc4ab710 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -626,9 +626,12 @@ bool WM_window_modal_keymap_status_draw( /* wm_tooltip.c */ typedef struct ARegion *(*wmTooltipInitFn)(struct bContext *, struct ARegion *, bool *); +void WM_tooltip_immediate_init( + struct bContext *C, struct wmWindow *win, struct ARegion *ar, + wmTooltipInitFn init); void WM_tooltip_timer_init( struct bContext *C, struct wmWindow *win, struct ARegion *ar, - wmTooltipInitFn init, bool quick); + wmTooltipInitFn init); void WM_tooltip_timer_clear(struct bContext *C, struct wmWindow *win); void WM_tooltip_clear(struct bContext *C, struct wmWindow *win); void WM_tooltip_init(struct bContext *C, struct wmWindow *win); |