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
This commit is contained in:
George Vogiatzis
2019-04-05 13:48:26 +02:00
committed by Jacques Lucke
parent fce469a30c
commit a180b754eb
18 changed files with 288 additions and 44 deletions

View File

@@ -55,6 +55,7 @@ _km_hierarchy = [
('Screen', 'EMPTY', 'WINDOW', [ # full screen, undo, screenshot
('Screen Editing', 'EMPTY', 'WINDOW', []), # re-sizing, action corners
('Header', 'EMPTY', 'WINDOW', []), # header stuff (per region)
('Footer', 'EMPTY', 'WINDOW', []), # footer stuff (per region)
]),
('View2D', 'EMPTY', 'WINDOW', []), # view 2d navigation (per region)