mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-31 18:12:35 +01:00
09b5dfbd53
autoconfiguration tests. Some versions of gcc care enough about ANSI C to complain about this. Use the Linux install hierarchy conventions on other Unices as well. XKeysymToString returns NULL on unknown keysyms, which is not a valid std::string initializer. There appears to be some disagreement regarding the second parameter to iconv(). Some versions/installations have it as const, others don't. Unfortunately, due to wonderful C++ brain damage, implicit conversion from const to non-const doesn't work here. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5945 8ced0084-cf51-0410-be5f-012b33b47a6e
50 lines
931 B
C++
50 lines
931 B
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 "ConfigDiag.h"
|
|
|
|
class WiimoteConfigPage : public wxNotebookPage
|
|
{
|
|
public:
|
|
WiimoteConfigPage(wxWindow* const parent, const int index);
|
|
|
|
void RefreshRealWiimotes(wxCommandEvent& event);
|
|
void SelectSource(wxCommandEvent& event);
|
|
|
|
private:
|
|
const int m_index;
|
|
|
|
wxStaticText* m_connected_wiimotes_txt;
|
|
wxChoice* m_input_src_choice;
|
|
};
|
|
|
|
class WiimoteConfigDiag : public wxDialog
|
|
{
|
|
public:
|
|
WiimoteConfigDiag(wxWindow* const parent, InputPlugin& plugin);
|
|
|
|
void ConfigEmulatedWiimote(wxCommandEvent& event);
|
|
void Save(wxCommandEvent& event);
|
|
|
|
private:
|
|
InputPlugin& m_plugin;
|
|
|
|
wxNotebook* m_pad_notebook;
|
|
|
|
};
|
|
|
|
|
|
#endif
|