mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -06:00
First experiments with wxLocale
This commit is contained in:
parent
a72184684c
commit
6bff67a865
4 changed files with 101 additions and 19 deletions
|
@ -37,14 +37,19 @@ public:
|
|||
|
||||
class BedShapeDialog : public wxDialog
|
||||
{
|
||||
BedShapePanel* m_panel;
|
||||
BedShapePanel* m_panel;
|
||||
wxLocale* m_Locale;
|
||||
wxApp* m_App;
|
||||
public:
|
||||
BedShapeDialog(wxWindow* parent) : wxDialog(parent, wxID_ANY, "Bed Shape",
|
||||
wxDefaultPosition, wxSize(350, 700), wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER){}
|
||||
~BedShapeDialog(){}
|
||||
~BedShapeDialog(){ if (m_Locale){ wxDELETE(m_Locale);} }
|
||||
|
||||
void build_dialog(ConfigOptionPoints* default_pt);
|
||||
std::vector<Pointf> GetValue() { return m_panel->GetValue(); }
|
||||
|
||||
bool LoadLanguage();
|
||||
void GetInstalledLanguages(wxArrayString & names, wxArrayLong & identifiers);
|
||||
};
|
||||
|
||||
} // GUI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue