diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-07-05 13:09:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-07-05 13:27:15 +0300 |
commit | 397d088611b857e536bea08003eeba1b50678ec2 (patch) | |
tree | 25c7564fd7a65fb0c500b58f907e6831f338820b /source/blender/windowmanager/WM_api.h | |
parent | 1517fa43097a3925b5fd1d4b8738fd56fde17bc8 (diff) |
UI: show modal operator keymaps in the status bar
This is work in progress, transform keymap especially
needs some filtering on it's keymap.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index e203a872d24..1f5e3aa2461 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -608,6 +608,11 @@ bool WM_event_is_ime_switch(const struct wmEvent *event); 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); +struct ScrArea *WM_window_find_area_status(struct wmWindow *win, struct bScreen *sc); +bool WM_window_modal_keymap_status_draw( + struct bContext *C, struct wmWindow *win, + struct uiLayout *layout); + /* wm_tooltip.c */ typedef struct ARegion *(*wmTooltipInitFn)(struct bContext *, struct ARegion *, bool *); |