Small Wiimote config dialog change
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1191 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
f6b30b1680
commit
4062a0bab9
|
@ -43,8 +43,10 @@ void ConfigDialog::CreateGUIControls()
|
|||
{
|
||||
// Notebook
|
||||
m_Notebook = new wxNotebook(this, ID_NOTEBOOK, wxDefaultPosition, wxDefaultSize);
|
||||
m_PageGeneral = new wxPanel(m_Notebook, ID_PAGEGENERAL, wxDefaultPosition, wxDefaultSize);
|
||||
m_Notebook->AddPage(m_PageGeneral, wxT("General"));
|
||||
m_PageEmu = new wxPanel(m_Notebook, ID_PAGEEMU, wxDefaultPosition, wxDefaultSize);
|
||||
m_PageReal = new wxPanel(m_Notebook, ID_PAGEREAL, wxDefaultPosition, wxDefaultSize);
|
||||
m_Notebook->AddPage(m_PageEmu, wxT("Emulated Wiimote"));
|
||||
m_Notebook->AddPage(m_PageReal, wxT("Real Wiimote"));
|
||||
|
||||
// Buttons
|
||||
//m_About = new wxButton(this, ID_ABOUTOGL, wxT("About"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator);
|
||||
|
@ -64,10 +66,10 @@ void ConfigDialog::CreateGUIControls()
|
|||
|
||||
|
||||
// General
|
||||
sbBasic = new wxStaticBoxSizer(wxVERTICAL, m_PageGeneral, wxT("Basic Settings"));
|
||||
m_SidewaysDPad = new wxCheckBox(m_PageGeneral, ID_SIDEWAYSDPAD, wxT("Sideways D-Pad"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator);
|
||||
sbBasic = new wxStaticBoxSizer(wxVERTICAL, m_PageEmu, wxT("Basic Settings"));
|
||||
m_SidewaysDPad = new wxCheckBox(m_PageEmu, ID_SIDEWAYSDPAD, wxT("Sideways D-Pad"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator);
|
||||
m_SidewaysDPad->SetValue(g_Config.bSidewaysDPad);
|
||||
m_WideScreen = new wxCheckBox(m_PageGeneral, ID_WIDESCREEN, wxT("WideScreen Mode (for correct aiming)"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator);
|
||||
m_WideScreen = new wxCheckBox(m_PageEmu, ID_WIDESCREEN, wxT("WideScreen Mode (for correct aiming)"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator);
|
||||
m_WideScreen->SetValue(g_Config.bWideScreen);
|
||||
|
||||
|
||||
|
@ -82,7 +84,7 @@ void ConfigDialog::CreateGUIControls()
|
|||
sbBasic->Add(sBasic);
|
||||
sGeneral->Add(sbBasic, 0, wxEXPAND|wxALL, 5);
|
||||
|
||||
m_PageGeneral->SetSizer(sGeneral);
|
||||
m_PageEmu->SetSizer(sGeneral);
|
||||
sGeneral->Layout();
|
||||
|
||||
this->SetSizer(sMain);
|
||||
|
|
|
@ -55,8 +55,7 @@ class ConfigDialog : public wxDialog
|
|||
wxButton *m_About;
|
||||
wxButton *m_Close;
|
||||
wxNotebook *m_Notebook;
|
||||
wxPanel *m_PageGeneral;
|
||||
wxPanel *m_PageAdvanced;
|
||||
wxPanel *m_PageEmu, *m_PageReal;
|
||||
|
||||
wxCheckBox *m_SidewaysDPad; // general settings
|
||||
wxCheckBox *m_WideScreen;
|
||||
|
@ -67,8 +66,8 @@ class ConfigDialog : public wxDialog
|
|||
ID_ABOUTOGL,
|
||||
|
||||
ID_NOTEBOOK,
|
||||
ID_PAGEGENERAL,
|
||||
ID_PAGEADVANCED,
|
||||
ID_PAGEEMU,
|
||||
ID_PAGEREAL,
|
||||
|
||||
ID_SIDEWAYSDPAD,
|
||||
ID_WIDESCREEN
|
||||
|
|
Loading…
Reference in New Issue