mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 10:09:36 -06:00
Last major UI change before release.
- Moved display related options in the "Display" tab from the general config to the gfx config, renamed the tab to "Interface" - Moved Wiimote related options in the "Wii" tab from the general config to the wiimote config - Moved various other options to more appropriate places ("Set Console as NTSC-J", "Skip GC BIOS" - Dropped "Window Size" adjustment - Now displaying a warning if one tries to enable software rendering - Other minor changes git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7577 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -14,6 +14,7 @@
|
||||
#include <wx/spinctrl.h>
|
||||
|
||||
#include "InputConfigDiag.h"
|
||||
#include "ConfigManager.h"
|
||||
|
||||
class WiimoteConfigPage : public wxNotebookPage
|
||||
{
|
||||
@ -31,6 +32,40 @@ private:
|
||||
unsigned int orig_source;
|
||||
};
|
||||
|
||||
class WiimoteGeneralConfigPage : public wxPanel
|
||||
{
|
||||
public:
|
||||
WiimoteGeneralConfigPage(wxWindow* const parent);
|
||||
|
||||
void OnSensorBarPos(wxCommandEvent& event)
|
||||
{
|
||||
SConfig::GetInstance().m_SYSCONF->SetData("BT.BAR", event.GetInt());
|
||||
event.Skip();
|
||||
}
|
||||
void OnSensorBarSensitivity(wxCommandEvent& event)
|
||||
{
|
||||
SConfig::GetInstance().m_SYSCONF->SetData("BT.SENS", event.GetInt());
|
||||
event.Skip();
|
||||
}
|
||||
void OnSpeakerVolume(wxCommandEvent& event)
|
||||
{
|
||||
SConfig::GetInstance().m_SYSCONF->SetData("BT.SPKV", event.GetInt());
|
||||
event.Skip();
|
||||
}
|
||||
void OnMotor(wxCommandEvent& event)
|
||||
{
|
||||
SConfig::GetInstance().m_SYSCONF->SetData("BT.MOT", event.GetInt());
|
||||
event.Skip();
|
||||
}
|
||||
void OnReconnectOnLoad(wxCommandEvent& event)
|
||||
{
|
||||
SConfig::GetInstance().m_WiimoteReconnectOnLoad = event.GetInt();
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
class WiimoteConfigDiag : public wxDialog
|
||||
{
|
||||
public:
|
||||
@ -50,6 +85,7 @@ private:
|
||||
|
||||
InputPlugin& m_plugin;
|
||||
wxNotebook* m_pad_notebook;
|
||||
std::vector<WiimoteConfigPage*> m_wiimote_config_pages;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user