Changeset 11099
- Timestamp:
- 03/13/10 06:30:37 (2 years ago)
- Location:
- trunk/Padre/lib/Padre
- Files:
-
- 5 edited
-
Action/View.pm (modified) (1 diff)
-
Wx/AuiManager.pm (modified) (1 diff)
-
Wx/Bottom.pm (modified) (3 diffs)
-
Wx/Left.pm (modified) (2 diffs)
-
Wx/Right.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre/lib/Padre/Action/View.pm
r10997 r11099 21 21 my $class = shift; 22 22 my $main = shift; 23 my $config = Padre->ide->config; 24 25 # Create the empty menu as normal 26 my $self = bless {}, $class; 27 28 # Add additional properties 29 $self->{main} = $main; 23 my $self = bless { main => $main }, $class; 24 my $config = $main->config; 30 25 31 26 # Can the user move stuff around -
trunk/Padre/lib/Padre/Wx/AuiManager.pm
r10997 r11099 65 65 # Set the lock status of the panels 66 66 sub lock_panels { 67 my $self = shift;67 my $self = shift; 68 68 my $unlock = $_[0] ? 0 : 1; 69 69 -
trunk/Padre/lib/Padre/Wx/Bottom.pm
r10997 r11099 17 17 18 18 sub new { 19 my $class = shift; 20 my $main = shift; 19 my $class = shift; 20 my $main = shift; 21 my $aui = $main->aui; 22 my $unlock = $main->config->main_lockinterface ? 0 : 1; 21 23 22 24 # Create the basic object … … 30 32 31 33 # Add ourself to the window manager 32 my $aui = $main->aui;33 34 $aui->AddPane( 34 35 $self, … … 37 38 Resizable => 1, 38 39 PaneBorder => 0, 39 Movable => 1,40 CaptionVisible => 1,41 40 CloseButton => 0, 42 41 DestroyOnClose => 0, 43 42 MaximizeButton => 1, 44 Floatable => 1,45 Dockable => 1,46 43 Position => 2, 47 44 Layer => 4, 45 CaptionVisible => $unlock, 46 Floatable => $unlock, 47 Dockable => $unlock, 48 Movable => $unlock, 48 49 )->Bottom->Hide, 49 50 ); 50 $aui->caption( 'bottom' => Wx::gettext('Output View') ); 51 $aui->caption( 52 bottom => Wx::gettext('Output View'), 53 ); 51 54 52 55 return $self; -
trunk/Padre/lib/Padre/Wx/Left.pm
r10997 r11099 16 16 17 17 sub new { 18 my $class = shift; 19 my $main = shift; 20 my $aui = $main->aui; 18 my $class = shift; 19 my $main = shift; 20 my $aui = $main->aui; 21 my $unlock = $main->config->main_lockinterface ? 0 : 1; 21 22 22 23 # Create the basic object … … 34 35 Padre::Wx->aui_pane_info( 35 36 Name => 'left', 37 CaptionVisible => $unlock, 38 Floatable => $unlock, 39 Dockable => $unlock, 40 Movable => $unlock, 36 41 Resizable => 1, 37 42 PaneBorder => 0, 38 Movable => 1,39 CaptionVisible => 1,40 43 CloseButton => 0, 41 44 DestroyOnClose => 0, 42 45 MaximizeButton => 0, 43 Floatable => 1,44 Dockable => 1,45 46 Position => 4, 46 47 Layer => 2, 47 48 )->Left->Hide, 48 49 ); 49 $aui->caption( 'left' => Wx::gettext('Project Tools') ); 50 $aui->caption( 51 left => Wx::gettext('Project Tools'), 52 ); 50 53 51 54 return $self; -
trunk/Padre/lib/Padre/Wx/Right.pm
r10997 r11099 19 19 my $main = shift; 20 20 my $aui = $main->aui; 21 my $unlock = $main->config->main_lockinterface ? 0 : 1; 21 22 22 23 # Create the basic object … … 25 26 -1, 26 27 Wx::wxDefaultPosition, 27 Wx::Size->new( 1 80, 500 ), # Used when floating28 Wx::Size->new( 160, 500 ), # Used when floating 28 29 Wx::wxAUI_NB_SCROLL_BUTTONS | Wx::wxAUI_NB_TOP | Wx::wxBORDER_NONE 29 30 ); … … 34 35 Padre::Wx->aui_pane_info( 35 36 Name => 'right', 37 CaptionVisible => $unlock, 38 Floatable => $unlock, 39 Dockable => $unlock, 40 Movable => $unlock, 36 41 Resizable => 1, 37 42 PaneBorder => 0, 38 Movable => 1,39 CaptionVisible => 1,40 43 CloseButton => 0, 41 44 DestroyOnClose => 0, 42 45 MaximizeButton => 0, 43 Floatable => 1,44 Dockable => 1,45 46 Position => 3, 46 47 Layer => 3, 47 48 )->Right->Hide, 48 49 ); 49 $aui->caption( 'right' => Wx::gettext('Document Tools') ); 50 $aui->caption( 51 right => Wx::gettext('Document Tools'), 52 ); 50 53 51 54 return $self;
Note: See TracChangeset
for help on using the changeset viewer.
