Renamed Dashboard to Plater (with Kliment's permission ;))
This commit is contained in:
parent
dde71418d4
commit
39f0c2f822
4 changed files with 6 additions and 6 deletions
2
MANIFEST
2
MANIFEST
|
@ -24,7 +24,7 @@ lib/Slic3r/Format/STL.pm
|
||||||
lib/Slic3r/Geometry.pm
|
lib/Slic3r/Geometry.pm
|
||||||
lib/Slic3r/Geometry/Clipper.pm
|
lib/Slic3r/Geometry/Clipper.pm
|
||||||
lib/Slic3r/GUI.pm
|
lib/Slic3r/GUI.pm
|
||||||
lib/Slic3r/GUI/Dashboard.pm
|
lib/Slic3r/GUI/Plater.pm
|
||||||
lib/Slic3r/GUI/OptionsGroup.pm
|
lib/Slic3r/GUI/OptionsGroup.pm
|
||||||
lib/Slic3r/GUI/SkeinPanel.pm
|
lib/Slic3r/GUI/SkeinPanel.pm
|
||||||
lib/Slic3r/Layer.pm
|
lib/Slic3r/Layer.pm
|
||||||
|
|
|
@ -4,7 +4,7 @@ use warnings;
|
||||||
use utf8;
|
use utf8;
|
||||||
|
|
||||||
use FindBin;
|
use FindBin;
|
||||||
use Slic3r::GUI::Dashboard;
|
use Slic3r::GUI::Plater;
|
||||||
use Slic3r::GUI::OptionsGroup;
|
use Slic3r::GUI::OptionsGroup;
|
||||||
use Slic3r::GUI::SkeinPanel;
|
use Slic3r::GUI::SkeinPanel;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package Slic3r::GUI::Dashboard;
|
package Slic3r::GUI::Plater;
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
my $have_threads = eval "use threads; 1";
|
my $have_threads = eval "use threads; 1";
|
||||||
|
@ -85,7 +85,7 @@ sub new {
|
||||||
EVT_BUTTON($self, $self->{btn_export_gcode}, \&export_gcode);
|
EVT_BUTTON($self, $self->{btn_export_gcode}, \&export_gcode);
|
||||||
EVT_BUTTON($self, $self->{btn_export_stl}, \&export_stl);
|
EVT_BUTTON($self, $self->{btn_export_stl}, \&export_stl);
|
||||||
|
|
||||||
$_->SetDropTarget(Slic3r::GUI::Dashboard::DropTarget->new($self))
|
$_->SetDropTarget(Slic3r::GUI::Plater::DropTarget->new($self))
|
||||||
for $self, $self->{canvas}, $self->{list};
|
for $self, $self->{canvas}, $self->{list};
|
||||||
|
|
||||||
EVT_COMMAND($self, -1, $THUMBNAIL_DONE_EVENT, sub {
|
EVT_COMMAND($self, -1, $THUMBNAIL_DONE_EVENT, sub {
|
||||||
|
@ -645,7 +645,7 @@ sub _y {
|
||||||
return [ map [ $_->[X], $height - $_->[Y] ], @$points ];
|
return [ map [ $_->[X], $height - $_->[Y] ], @$points ];
|
||||||
}
|
}
|
||||||
|
|
||||||
package Slic3r::GUI::Dashboard::DropTarget;
|
package Slic3r::GUI::Plater::DropTarget;
|
||||||
|
|
||||||
use Wx::DND;
|
use Wx::DND;
|
||||||
use base 'Wx::FileDropTarget';
|
use base 'Wx::FileDropTarget';
|
|
@ -113,7 +113,7 @@ sub new {
|
||||||
$make_tab->([qw(extrusion)], [qw(output)]),
|
$make_tab->([qw(extrusion)], [qw(output)]),
|
||||||
);
|
);
|
||||||
|
|
||||||
$tabpanel->AddPage(Slic3r::GUI::Dashboard->new($tabpanel), "Dashboard");
|
$tabpanel->AddPage(Slic3r::GUI::Plater->new($tabpanel), "Plater");
|
||||||
$tabpanel->AddPage($tabs[0], "Print Settings");
|
$tabpanel->AddPage($tabs[0], "Print Settings");
|
||||||
$tabpanel->AddPage($tabs[1], "Cooling");
|
$tabpanel->AddPage($tabs[1], "Cooling");
|
||||||
$tabpanel->AddPage($tabs[2], "Printer and Filament");
|
$tabpanel->AddPage($tabs[2], "Printer and Filament");
|
||||||
|
|
Loading…
Reference in a new issue