diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2018-05-23 23:38:25 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2018-05-23 23:38:25 +0300 |
commit | 6f20fcd5984a47baee9ff440e9e59584fccd1e59 (patch) | |
tree | 5b81aad5b91eb0893a4e0b9276ae2819e66cb631 /source/blender/editors/space_api | |
parent | 7b58073dc09c7241dfa08071323dfb7af3646e80 (diff) |
UI: Global "Status-bar" Area (WIP)
* Add horizontal bar at bottom of all non-temp windows, similar to the Top-bar.
* Status-bar is hidden in UI-less fullscreen mode
* Current contents are preliminary and based on T54861:
** Left: Current file-path if needed. "(Modified)" note if file was changed.
** Center: Scene statistics (like in 2.7 Info Editor).
** Right: Progress-bars and reports
* Internally managed as own "STATUSBAR" editor-type (hidden in UI).
* Like with the Top-bar, Status-bar data and SDNA writing is disabled.
* Most changes in low-level screen/area code are to support layout bounds that differ from window bounds.
Design task: T54861
Main changes approved by @brecht.
Diffstat (limited to 'source/blender/editors/space_api')
-rw-r--r-- | source/blender/editors/space_api/spacetypes.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_api/spacetypes.c b/source/blender/editors/space_api/spacetypes.c index 12f16f1fe42..4d4bcf4dffc 100644 --- a/source/blender/editors/space_api/spacetypes.c +++ b/source/blender/editors/space_api/spacetypes.c @@ -97,9 +97,10 @@ void ED_spacetypes_init(void) ED_spacetype_console(); ED_spacetype_userpref(); ED_spacetype_clip(); + ED_spacetype_statusbar(); ED_spacetype_topbar(); // ... - + /* register operator types for screen and all spaces */ ED_operatortypes_workspace(); ED_operatortypes_scene(); |