Added Perl to C++ interfaces for creating the preset editor pages

from C++ and to add debugging menus from C++. These lightweigth
interfaces should help new team members to hack the UI without
a Perl knowledge.
This commit is contained in:
bubnikv 2017-12-04 10:48:40 +01:00
parent 16bd3fc624
commit 8af329e660
5 changed files with 88 additions and 0 deletions

View file

@ -79,6 +79,7 @@ sub OnInit {
# Windows: "C:\Users\username\AppData\Roaming\Slic3r" or "C:\Documents and Settings\username\Application Data\Slic3r"
# Mac: "~/Library/Application Support/Slic3r"
Slic3r::set_data_dir($datadir || Wx::StandardPaths::Get->GetUserDataDir);
Slic3r::GUI::set_wxapp($self);
$self->{notifier} = Slic3r::GUI::Notifier->new;
$self->{app_config} = Slic3r::GUI::AppConfig->new;