diff options
author | William Reynish <william@reynish.com> | 2009-12-03 19:28:50 +0300 |
---|---|---|
committer | William Reynish <william@reynish.com> | 2009-12-03 19:28:50 +0300 |
commit | 18fb6d5e4366224440a0eca182b280b8b9ffb483 (patch) | |
tree | b8478d276aea2a804d5fde336cf1e2bef4dad320 /release | |
parent | 685d418f3a185a3e52fb84ba121c621e1017b623 (diff) |
Added Toggle Full Screen and Duplicate Area to the menus of all the main spaces in Blender
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/ui/space_console.py | 6 | ||||
-rw-r--r-- | release/scripts/ui/space_image.py | 4 | ||||
-rw-r--r-- | release/scripts/ui/space_node.py | 4 | ||||
-rw-r--r-- | release/scripts/ui/space_outliner.py | 5 | ||||
-rw-r--r-- | release/scripts/ui/space_sequencer.py | 23 | ||||
-rw-r--r-- | release/scripts/ui/space_text.py | 6 | ||||
-rw-r--r-- | release/scripts/ui/space_view3d.py | 15 |
7 files changed, 38 insertions, 25 deletions
diff --git a/release/scripts/ui/space_console.py b/release/scripts/ui/space_console.py index 63e8055b148..a59c39d52ec 100644 --- a/release/scripts/ui/space_console.py +++ b/release/scripts/ui/space_console.py @@ -69,7 +69,11 @@ class CONSOLE_MT_console(bpy.types.Menu): layout.operator("console.copy") layout.operator("console.paste") layout.menu("CONSOLE_MT_language") - + + layout.separator() + + layout.operator("screen.area_dupli") + layout.operator("screen.screen_full_area") class CONSOLE_MT_report(bpy.types.Menu): bl_label = "Report" diff --git a/release/scripts/ui/space_image.py b/release/scripts/ui/space_image.py index ea8ed19d31b..9c5c92dbaef 100644 --- a/release/scripts/ui/space_image.py +++ b/release/scripts/ui/space_image.py @@ -61,6 +61,10 @@ class IMAGE_MT_view(bpy.types.Menu): layout.operator("image.view_selected") layout.operator("image.view_all") + + layout.separator() + + layout.operator("screen.area_dupli") layout.operator("screen.screen_full_area") diff --git a/release/scripts/ui/space_node.py b/release/scripts/ui/space_node.py index cc5b3fe7977..ed212053ecc 100644 --- a/release/scripts/ui/space_node.py +++ b/release/scripts/ui/space_node.py @@ -82,6 +82,10 @@ class NODE_MT_view(bpy.types.Menu): layout.separator() layout.operator("node.view_all") + + layout.separator() + + layout.operator("screen.area_dupli") layout.operator("screen.screen_full_area") diff --git a/release/scripts/ui/space_outliner.py b/release/scripts/ui/space_outliner.py index a398bc66f45..f6ad0b68f80 100644 --- a/release/scripts/ui/space_outliner.py +++ b/release/scripts/ui/space_outliner.py @@ -76,6 +76,11 @@ class OUTLINER_MT_view(bpy.types.Menu): col.operator("outliner.show_one_level") col.operator("outliner.show_hierarchy") + + layout.separator() + + layout.operator("screen.area_dupli") + layout.operator("screen.screen_full_area") class OUTLINER_MT_edit_datablocks(bpy.types.Menu): diff --git a/release/scripts/ui/space_sequencer.py b/release/scripts/ui/space_sequencer.py index 8476a98992c..00361ca86aa 100644 --- a/release/scripts/ui/space_sequencer.py +++ b/release/scripts/ui/space_sequencer.py @@ -100,19 +100,6 @@ class SEQUENCER_MT_view(bpy.types.Menu): layout.separator() layout.operator("sequencer.view_all") layout.operator("sequencer.view_selected") - layout.separator() - layout.operator("screen.screen_full_area", text="Toggle Full Screen") - """ - - - /* Lock Time */ - uiDefIconTextBut(block, BUTM, 1, (v2d->flag & V2D_VIEWSYNC_SCREEN_TIME)?ICON_CHECKBOX_HLT:ICON_CHECKBOX_DEHLT, - "Lock Time to Other Windows|", 0, yco-=20, - menuwidth, 19, NULL, 0.0, 0.0, 1, 5, ""); - - /* Draw time or frames.*/ - uiDefMenuSep(block); - """ layout.prop(st, "draw_frames") layout.prop(st, "show_cframe_indicator") @@ -121,12 +108,10 @@ class SEQUENCER_MT_view(bpy.types.Menu): if st.display_mode == 'WAVEFORM': layout.prop(st, "separate_color_preview") - """ - if(!sa->full) uiDefIconTextBut(block, BUTM, B_FULL, ICON_BLANK1, "Maximize Window|Ctrl UpArrow", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0,0, ""); - else uiDefIconTextBut(block, BUTM, B_FULL, ICON_BLANK1, "Tile Window|Ctrl DownArrow", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 0, ""); - - """ - + layout.separator() + + layout.operator("screen.area_dupli") + layout.operator("screen.screen_full_area") class SEQUENCER_MT_select(bpy.types.Menu): bl_label = "Select" diff --git a/release/scripts/ui/space_text.py b/release/scripts/ui/space_text.py index 6ea499704fc..fad8ab3b610 100644 --- a/release/scripts/ui/space_text.py +++ b/release/scripts/ui/space_text.py @@ -123,6 +123,7 @@ class TEXT_PT_find(bpy.types.Panel): row.prop(st, "find_all", text="All") + class TEXT_MT_text(bpy.types.Menu): bl_label = "Text" @@ -159,6 +160,11 @@ class TEXT_MT_text(bpy.types.Menu): layout.operator("text.properties", icon='ICON_MENU_PANEL') layout.menu("TEXT_MT_templates") + + layout.separator() + + layout.operator("screen.area_dupli") + layout.operator("screen.screen_full_area") class TEXT_MT_templates(bpy.types.Menu): diff --git a/release/scripts/ui/space_view3d.py b/release/scripts/ui/space_view3d.py index 2c6b2b5ad18..3db6e3ccd99 100644 --- a/release/scripts/ui/space_view3d.py +++ b/release/scripts/ui/space_view3d.py @@ -269,13 +269,18 @@ class VIEW3D_MT_view(bpy.types.Menu): layout.operator("view3d.view_all") layout.separator() - - layout.operator("screen.region_foursplit", text="Toggle Quad View") - layout.operator("screen.screen_full_area", text="Toggle Full Screen") - + + layout.operator("screen.animation_play", text="Playback Animation") + layout.separator() + + layout.operator("screen.area_dupli") + layout.operator("screen.region_foursplit") + layout.operator("screen.screen_full_area") + + - layout.operator("screen.animation_play", text="Playback Animation", icon='ICON_PLAY') + class VIEW3D_MT_view_navigation(bpy.types.Menu): |