UI: Global "Status-bar" Area (WIP)
authorJulian Eisel <eiseljulian@gmail.com>
Wed, 23 May 2018 20:38:25 +0000 (22:38 +0200)
committerJulian Eisel <eiseljulian@gmail.com>
Wed, 23 May 2018 20:38:25 +0000 (22:38 +0200)
commit6f20fcd5984a47baee9ff440e9e59584fccd1e59
tree5b81aad5b91eb0893a4e0b9276ae2819e66cb631
parent7b58073dc09c7241dfa08071323dfb7af3646e80
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.
22 files changed:
build_files/cmake/macros.cmake
release/scripts/startup/bl_ui/__init__.py
release/scripts/startup/bl_ui/space_statusbar.py [new file with mode: 0644]
release/scripts/startup/bl_ui/space_topbar.py
source/blender/blenloader/intern/writefile.c
source/blender/editors/CMakeLists.txt
source/blender/editors/include/ED_screen.h
source/blender/editors/include/ED_space_api.h
source/blender/editors/screen/area.c
source/blender/editors/screen/screen_edit.c
source/blender/editors/screen/screen_intern.h
source/blender/editors/screen/screen_ops.c
source/blender/editors/screen/workspace_layout_edit.c
source/blender/editors/space_api/spacetypes.c
source/blender/editors/space_statusbar/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/space_statusbar/space_statusbar.c [new file with mode: 0644]
source/blender/makesdna/DNA_screen_types.h
source/blender/makesdna/DNA_space_types.h
source/blender/makesrna/intern/rna_screen.c
source/blender/makesrna/intern/rna_space.c
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/intern/wm_window.c