mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 06:33:57 -06:00
Add custom about dialog.
This commit is contained in:
parent
500e44f8ea
commit
57316a4ffa
3 changed files with 112 additions and 7 deletions
|
@ -4,6 +4,7 @@ use warnings;
|
|||
use utf8;
|
||||
|
||||
use FindBin;
|
||||
use Slic3r::GUI::AboutDialog;
|
||||
use Slic3r::GUI::ConfigWizard;
|
||||
use Slic3r::GUI::Plater;
|
||||
use Slic3r::GUI::OptionsGroup;
|
||||
|
@ -119,13 +120,9 @@ sub OnInit {
|
|||
sub about {
|
||||
my $frame = shift;
|
||||
|
||||
my $info = Wx::AboutDialogInfo->new;
|
||||
$info->SetName('Slic3r');
|
||||
$info->AddDeveloper('Alessandro Ranellucci');
|
||||
$info->SetVersion($Slic3r::VERSION);
|
||||
$info->SetDescription('G-code generator for 3D printers');
|
||||
|
||||
Wx::AboutBox($info);
|
||||
my $about = Slic3r::GUI::AboutDialog->new($frame);
|
||||
$about->ShowModal;
|
||||
$about->Destroy;
|
||||
}
|
||||
|
||||
sub on_close {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue