mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
2f14598687
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7233 8ced0084-cf51-0410-be5f-012b33b47a6e
58 lines
1.1 KiB
C++
58 lines
1.1 KiB
C++
|
|
#ifndef WIIMOTE_CONFIG_DIAG_H
|
|
#define WIIMOTE_CONFIG_DIAG_H
|
|
|
|
#include <wx/wx.h>
|
|
#include <wx/listbox.h>
|
|
#include <wx/textctrl.h>
|
|
#include <wx/button.h>
|
|
#include <wx/stattext.h>
|
|
#include <wx/combobox.h>
|
|
#include <wx/checkbox.h>
|
|
#include <wx/notebook.h>
|
|
#include <wx/panel.h>
|
|
#include <wx/spinctrl.h>
|
|
|
|
#include "InputConfigDiag.h"
|
|
|
|
class WiimoteConfigPage : public wxNotebookPage
|
|
{
|
|
public:
|
|
WiimoteConfigPage(wxWindow* const parent, const int index);
|
|
|
|
void SelectSource(wxCommandEvent& event);
|
|
void UpdateWiimoteStatus();
|
|
void RevertSource();
|
|
|
|
wxStaticText* connected_wiimotes_txt;
|
|
|
|
private:
|
|
const int m_index;
|
|
unsigned int orig_source;
|
|
};
|
|
|
|
class WiimoteConfigDiag : public wxDialog
|
|
{
|
|
public:
|
|
WiimoteConfigDiag(wxWindow* const parent, InputPlugin& plugin);
|
|
|
|
#ifdef _WIN32
|
|
void PairUpRealWiimotes(wxCommandEvent& event);
|
|
#endif
|
|
void RefreshRealWiimotes(wxCommandEvent& event);
|
|
|
|
void ConfigEmulatedWiimote(wxCommandEvent& event);
|
|
void Save(wxCommandEvent& event);
|
|
void UpdateGUI();
|
|
|
|
private:
|
|
void OnClose(wxCloseEvent& event);
|
|
|
|
InputPlugin& m_plugin;
|
|
wxNotebook* m_pad_notebook;
|
|
bool m_save;
|
|
};
|
|
|
|
|
|
#endif
|