diff options
author | George Vogiatzis <Gvgeo> | 2019-04-05 14:48:26 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2019-04-05 14:48:26 +0300 |
commit | a180b754eb40637a5d37eeb0ae60066f5a6f93d8 (patch) | |
tree | 3871e253a8f3b861b27dfd3f666535adffc606b0 /source/blender/editors/include | |
parent | fce469a30c5075216671f9ce3738ed401ad9c03f (diff) |
Interface: New region type 'Footer', used by text editor
* It can be hidden by dragging it up/down.
* It can be at the top or bottom, independent of the header.
* It uses the color theme from the header.
* It does not change its color, when the area becomes active.
Currently, it is used in the text editor to display the file path.
Differential Revision: https://developer.blender.org/D4601
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_screen.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_screen.h b/source/blender/editors/include/ED_screen.h index f44f951123a..10a1eab265a 100644 --- a/source/blender/editors/include/ED_screen.h +++ b/source/blender/editors/include/ED_screen.h @@ -147,6 +147,9 @@ void ED_area_swapspace(struct bContext *C, ScrArea *sa1, ScrArea *sa2); int ED_area_headersize(void); int ED_area_header_alignment_or_fallback(const ScrArea *area, int fallback); int ED_area_header_alignment(const ScrArea *area); +int ED_area_footersize(void); +int ED_area_footer_alignment_or_fallback(const ScrArea *area, int fallback); +int ED_area_footer_alignment(const ScrArea *area); int ED_area_global_size_y(const ScrArea *area); int ED_area_global_min_size_y(const ScrArea *area); int ED_area_global_max_size_y(const ScrArea *area); @@ -192,6 +195,7 @@ void ED_screen_full_prevspace(struct bContext *C, ScrArea *sa); void ED_screen_full_restore(struct bContext *C, ScrArea *sa); struct ScrArea *ED_screen_state_toggle(struct bContext *C, struct wmWindow *win, struct ScrArea *sa, const short state); void ED_screens_header_tools_menu_create(struct bContext *C, struct uiLayout *layout, void *arg); +void ED_screens_footer_tools_menu_create(struct bContext *C, struct uiLayout *layout, void *arg); void ED_screens_navigation_bar_tools_menu_create(struct bContext *C, struct uiLayout *layout, void *arg); bool ED_screen_stereo3d_required(const struct bScreen *screen, const struct Scene *scene); Scene *ED_screen_scene_find(const struct bScreen *screen, const struct wmWindowManager *wm); @@ -365,6 +369,7 @@ enum { ED_KEYMAP_FRAMES = (1 << 7), ED_KEYMAP_HEADER = (1 << 8), ED_KEYMAP_GPENCIL = (1 << 9), + ED_KEYMAP_FOOTER = (1 << 10), }; /* SCREEN_OT_space_context_cycle direction */ |