Files
GDevelop/IDE/Preferences.h

288 lines
9.3 KiB
C++

#ifndef PREFERENCES_H
#define PREFERENCES_H
//(*Headers(Preferences)
#include <wx/fontdlg.h>
#include <wx/notebook.h>
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/radiobox.h>
#include <wx/textctrl.h>
#include <wx/checkbox.h>
#include <wx/spinctrl.h>
#include <wx/propgrid/propgrid.h>
#include <wx/statline.h>
#include <wx/radiobut.h>
#include <wx/panel.h>
#include <wx/choice.h>
#include <wx/statbmp.h>
#include <wx/button.h>
#include <wx/dialog.h>
#include <wx/listbook.h>
//*)
class Preferences: public wxDialog
{
public:
Preferences(wxWindow* parent);
virtual ~Preferences();
//(*Declarations(Preferences)
wxStaticText* StaticText10;
wxRadioButton* externalCodeEditorCheck;
wxButton* eventsEditorFontBt;
wxPanel* InactifColorPnl;
wxStaticText* StaticText22;
wxButton* OkBt;
wxStaticText* StaticText9;
wxStaticText* StaticText20;
wxPanel* backColorPnl;
wxPanel* Panel5;
wxCheckBox* hideLabelsCheck;
wxCheckBox* avertOnSaveCheck;
wxCheckBox* MAJCheck;
wxRadioBox* ribbonStyleBox;
wxButton* gdStyleBt;
wxButton* BrowseDossierTempBt;
wxTextCtrl* newProjectFolderEdit;
wxTextCtrl* codeEditorEdit;
wxButton* oxygenStyleBt;
wxStaticText* StaticText13;
wxPanel* ActifColor2Pnl;
wxStaticText* StaticText2;
wxPanel* Panel4;
wxCheckBox* externalSceneEditorCheck;
wxChoice* sceneEventsTabPosition;
wxStaticText* StaticText14;
wxCheckBox* logCheck;
wxCheckBox* deleteTemporariesCheck;
wxButton* Button1;
wxStaticText* StaticText6;
wxPanel* activeTabColorPnl;
wxPanel* borderColorPnl;
wxSpinCtrl* codeCompilerThreadEdit;
wxStaticText* StaticText19;
wxStaticText* StaticText8;
wxPanel* toolbarColorPanel;
wxStaticText* StaticText11;
wxStaticText* StaticText18;
wxTextCtrl* autosaveTimeEdit;
wxPanel* Panel8;
wxPanel* tabColorPnl;
wxTextCtrl* eventsCompilerTempDirEdit;
wxFontDialog* eventsEditorFontDialog;
wxPanel* Panel1;
wxTextCtrl* conditionsColumnWidthEdit;
wxPanel* activeTextColorPnl;
wxStaticText* StaticText1;
wxStaticText* StaticText3;
wxTextCtrl* EditeurImageEdit;
wxPanel* inactiveTextColorPnl;
wxButton* browseJavaBt;
wxButton* newProjectFolderBrowseBt;
wxButton* Button2;
wxPanel* InactifColor2Pnl;
wxPanel* Panel6;
wxPanel* Panel3;
wxStaticText* StaticText21;
wxStaticLine* StaticLine2;
wxStaticText* StaticText23;
wxStaticText* StaticText24;
wxCheckBox* customToolbarColorCheck;
wxRadioBox* tabBox;
wxPanel* ActifColorPnl;
wxCheckBox* sendInfoCheck;
wxCheckBox* hideContextPanelsLabels;
wxPropertyGrid* eventsEditorParametersProperties;
wxListbook* Listbook1;
wxStaticText* StaticText5;
wxStaticText* StaticText7;
wxPanel* Panel7;
wxPanel* fileBtColorPnl;
wxCheckBox* autosaveActivatedCheck;
wxStaticLine* StaticLine1;
wxButton* BrowseEditionImage;
wxTextCtrl* javaDirEdit;
wxStaticText* StaticText15;
wxStaticText* StaticText12;
wxButton* AnnulerBt;
wxPanel* Panel2;
wxChoice* langChoice;
wxButton* radianceStyleBt;
wxTextCtrl* DossierTempCompEdit;
wxPanel* ribbonColor1Pnl;
wxPanel* ribbonColor2Pnl;
wxStaticText* StaticText17;
wxStaticText* StaticText4;
wxButton* browseCodeEditorBt;
wxRadioBox* toolbarBox;
wxButton* browseCompilationTempDir;
wxButton* officeStyleBt;
wxStaticText* StaticText16;
wxStaticBitmap* StaticBitmap3;
wxRadioButton* internalCodeEditorCheck;
wxButton* AideBt;
//*)
protected:
//(*Identifiers(Preferences)
static const long ID_STATICBITMAP3;
static const long ID_STATICTEXT7;
static const long ID_PANEL5;
static const long ID_STATICLINE2;
static const long ID_CHECKBOX4;
static const long ID_CHECKBOX10;
static const long ID_CHECKBOX3;
static const long ID_TEXTCTRL1;
static const long ID_STATICTEXT5;
static const long ID_STATICTEXT14;
static const long ID_CHECKBOX8;
static const long ID_CHECKBOX9;
static const long ID_CHECKBOX5;
static const long ID_PANEL6;
static const long ID_STATICTEXT13;
static const long ID_CHOICE2;
static const long ID_PANEL15;
static const long ID_STATICTEXT16;
static const long ID_TEXTCTRL7;
static const long ID_BUTTON9;
static const long ID_STATICTEXT6;
static const long ID_TEXTCTRL3;
static const long ID_BUTTON5;
static const long ID_STATICTEXT8;
static const long ID_TEXTCTRL4;
static const long ID_BUTTON4;
static const long ID_STATICTEXT21;
static const long ID_TEXTCTRL6;
static const long ID_BUTTON12;
static const long ID_CHECKBOX7;
static const long ID_STATICTEXT24;
static const long ID_TEXTCTRL8;
static const long ID_BUTTON15;
static const long ID_PANEL7;
static const long ID_STATICTEXT15;
static const long ID_CHOICE1;
static const long ID_PANEL16;
static const long ID_BUTTON16;
static const long ID_BUTTON8;
static const long ID_BUTTON6;
static const long ID_BUTTON7;
static const long ID_BUTTON10;
static const long ID_BUTTON13;
static const long ID_RADIOBOX1;
static const long ID_STATICTEXT1;
static const long ID_PANEL9;
static const long ID_STATICTEXT2;
static const long ID_PANEL10;
static const long ID_CHECKBOX2;
static const long ID_STATICTEXT22;
static const long ID_PANEL21;
static const long ID_STATICTEXT4;
static const long ID_PANEL3;
static const long ID_PANEL4;
static const long ID_STATICTEXT3;
static const long ID_PANEL1;
static const long ID_PANEL2;
static const long ID_STATICTEXT9;
static const long ID_PANEL11;
static const long ID_STATICTEXT10;
static const long ID_PANEL13;
static const long ID_STATICTEXT11;
static const long ID_PANEL12;
static const long ID_STATICTEXT12;
static const long ID_PANEL14;
static const long ID_STATICTEXT19;
static const long ID_PANEL19;
static const long ID_STATICTEXT20;
static const long ID_PANEL20;
static const long ID_RADIOBOX2;
static const long ID_CHECKBOX1;
static const long ID_PANEL22;
static const long ID_RADIOBOX3;
static const long ID_PANEL8;
static const long ID_STATICTEXT17;
static const long ID_TEXTCTRL5;
static const long ID_STATICTEXT18;
static const long ID_CHECKBOX6;
static const long ID_CUSTOM1;
static const long ID_BUTTON14;
static const long ID_PANEL18;
static const long ID_RADIOBUTTON2;
static const long ID_RADIOBUTTON1;
static const long ID_TEXTCTRL2;
static const long ID_BUTTON11;
static const long ID_STATICTEXT23;
static const long ID_SPINCTRL1;
static const long ID_PANEL17;
static const long ID_LISTBOOK1;
static const long ID_STATICLINE1;
static const long ID_BUTTON1;
static const long ID_BUTTON2;
static const long ID_BUTTON3;
//*)
private:
//(*Handlers(Preferences)
void OnOkBtClick(wxCommandEvent& event);
void OnAnnulerBtClick(wxCommandEvent& event);
void OnActifColorPnlRightUp(wxMouseEvent& event);
void OnActifColor2PnlRightUp(wxMouseEvent& event);
void OnInactifColorPnlRightUp(wxMouseEvent& event);
void OnInactifColor2PnlRightUp(wxMouseEvent& event);
void OnAideBtClick(wxCommandEvent& event);
void OnBrowseDossierTempBtClick(wxCommandEvent& event);
void OnBrowseEditionImageClick(wxCommandEvent& event);
void OnribbonColor1PnlLeftUp(wxMouseEvent& event);
void OnribbonColor2PnlLeftUp(wxMouseEvent& event);
void OnbackColorPnlLeftUp(wxMouseEvent& event);
void OnborderColorPnlLeftUp(wxMouseEvent& event);
void OngdStyleBtClick(wxCommandEvent& event);
void OnofficeStyleBtClick(wxCommandEvent& event);
void OnauiStyleBtClick(wxCommandEvent& event);
void OnhideLabelsCheckClick(wxCommandEvent& event);
void OnlangChoiceSelect(wxCommandEvent& event);
void OncompilerToolchainBtClick(wxCommandEvent& event);
void OnbrowseCodeEditorBtClick(wxCommandEvent& event);
void OnobjectParamColorLeftUp(wxMouseEvent& event);
void OnautoParamColorLeftUp(wxMouseEvent& event);
void OnexpressionParamColorLeftUp(wxMouseEvent& event);
void OnradianceStyleBtClick(wxCommandEvent& event);
void OnactiveTabColorPnlLeftUp(wxMouseEvent& event);
void OntabColorPnlLeftUp(wxMouseEvent& event);
void OneventsCompilerTempDirEditText(wxCommandEvent& event);
void OnbrowseCompilationTempDirClick(wxCommandEvent& event);
void OnactiveTextColorPnlLeftUp(wxMouseEvent& event);
void OninactiveTextColorPnlLeftUp(wxMouseEvent& event);
void OnoxygenStyleBtClick(wxCommandEvent& event);
void OnfileBtColorPnlLeftUp(wxMouseEvent& event);
void OnlogCheckClick(wxCommandEvent& event);
void OnnewProjectFolderBrowseBtClick(wxCommandEvent& event);
void OneventsEditorFontBtClick(wxCommandEvent& event);
void OnbrowseJavaBtClick(wxCommandEvent& event);
void OncustomToolbarColorCheckClick(wxCommandEvent& event);
void OntoolbarColorPanelLeftUp(wxMouseEvent& event);
void OnGDMetroStyleClick(wxCommandEvent& event);
void OnMetroWhiteStyleClick(wxCommandEvent& event);
void OnMAJCheckClick(wxCommandEvent& event);
void OnOfficeGDStyleBtClick(wxCommandEvent& event);
void OnexternalSceneEditorCheckClick(wxCommandEvent& event);
//*)
void SetSkinOfficeGD();
void SetSkinOffice();
void SetSkinAUI();
void SetSkinRadiance();
void SetSkinOxygen();
wxString logFile;
bool changesNeedRestart;
DECLARE_EVENT_TABLE()
};
#endif