diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-26 13:18:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-26 13:18:54 +0300 |
commit | cdd915e9e9646b9dcb83999712f48546fb830c1f (patch) | |
tree | 8b84563f7f4f59248c2c0151289bd53a9b919921 /source/blender/windowmanager/WM_api.h | |
parent | 4adf19e80b5f7bed2737d720ba99d8d6d60ca955 (diff) |
UI: status bar cursor keymap display
Show mouse button actions in status bar, based on context,
modifiers and active tool.
See: T54861
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index 6b1825edf3e..ace9acf0e8a 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -602,6 +602,9 @@ bool WM_event_is_tablet(const struct wmEvent *event); bool WM_event_is_ime_switch(const struct wmEvent *event); #endif +const char *WM_window_cursor_keymap_status_get(const struct wmWindow *win, int button_index, int type_index); +void WM_window_cursor_keymap_status_refresh(struct bContext *C, struct wmWindow *win); + /* wm_tooltip.c */ typedef struct ARegion *(*wmTooltipInitFn)(struct bContext *, struct ARegion *, bool *); @@ -618,4 +621,3 @@ void WM_tooltip_refresh(struct bContext *C, struct wmWindow *win); #endif #endif /* __WM_API_H__ */ - |