diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2014-10-14 22:05:44 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2014-10-14 22:11:41 +0400 |
commit | 7c25f16f1ac4b6857cc48a2b977af687615709ae (patch) | |
tree | 9959b07448f2b4d8e269b58b271485b49b67502c /release/scripts/startup/bl_ui/space_logic.py | |
parent | e556670b363beef59703e5f4142794058117015b (diff) |
Fullscreen Editor (new fullscreen mode for clean UI)
Organize Maximize/Fullscreen mess and add a new fullscreen mode with no UI
* Maximize Editor: (old Ctrl+Up)
* Full Screen Window: (old Alt + F11)
* Full Screen Editor: new operator (Alt + F10)
* Change Show/Hide Header: (Alt + F9)
When the mode is on moving the mouse near the top right corner of the
editor shows an icon to go back to the normal editor mode.
This was originally intended for the multiview branch, but this
functionality also benefits non-stereo workflows, thus it can be
reviewed and committed independently.
Development notes:
* This includes cleanups in the code to sanitize the naming of
fullscreen/maximize across the window/editor code.
* Originally the idea was to make the window fullscreen as well, but
this idea was dropped.
* You can see the clicking area when debug is 1
* Technically the user can be left with an unfaded icon in the corner
(specially when using a tablet). If we think this is too bad we can
increase the action zone to be the whole screen, or something similar.
Reviewers: campbellbarton [1], ton [2], fsiddi [2]
[1] actual code review
[2] design review
Differential Revision: https://developer.blender.org/D678
Diffstat (limited to 'release/scripts/startup/bl_ui/space_logic.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_logic.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_logic.py b/release/scripts/startup/bl_ui/space_logic.py index 9792a26d224..16182da1018 100644 --- a/release/scripts/startup/bl_ui/space_logic.py +++ b/release/scripts/startup/bl_ui/space_logic.py @@ -120,7 +120,8 @@ class LOGIC_MT_view(Menu): layout.separator() layout.operator("screen.area_dupli") - layout.operator("screen.screen_full_area") + layout.operator("screen.screen_full_area", text="Toggle Maximize Area") + layout.operator("screen.screen_full_area").use_hide_panels = True if __name__ == "__main__": # only for live edit. bpy.utils.register_module(__name__) |