Stubbed restore_window_pos

This commit is contained in:
Joseph Lenox 2018-05-05 12:56:24 -05:00
parent e32be5a224
commit 91edf908f2
3 changed files with 5 additions and 0 deletions

View File

@ -48,6 +48,7 @@ MainFrame::MainFrame(const wxString& title, const wxPoint& pos, const wxSize& si
this->SetMinSize(wxSize(760, 490));
this->SetSize(this->GetMinSize());
wxTheApp->SetTopWindow(this);
gui_config->restore_window_pos(this, "main_frame");
this->Show();
this->Layout();
}

View File

@ -15,4 +15,7 @@ sub save_settings {
void Settings::save_window_pos(wxWindow* ref, wxString name) {
}
void Settings::restore_window_pos(wxWindow* ref, wxString name) {
}
}} // namespace Slic3r::GUI

View File

@ -55,6 +55,7 @@ class Settings {
std::map<wxString, std::tuple<wxPoint, wxSize, bool> > window_pos { std::map<wxString, std::tuple<wxPoint, wxSize, bool> >() };
void save_window_pos(wxWindow* ref, wxString name);
void restore_window_pos(wxWindow* ref, wxString name);
private:
const std::string LogChannel {"GUI_Settings"}; //< Which log these messages should go to.