2015-03-18 16:00:27 -06:00
|
|
|
// Copyright 2015 Dolphin Emulator Project
|
2015-05-17 17:08:10 -06:00
|
|
|
// Licensed under GPLv2+
|
2015-03-18 16:00:27 -06:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <wx/arrstr.h>
|
|
|
|
#include <wx/panel.h>
|
|
|
|
|
|
|
|
class wxButton;
|
|
|
|
class wxCheckBox;
|
|
|
|
class wxChoice;
|
|
|
|
class wxString;
|
|
|
|
|
2017-03-18 15:46:05 -06:00
|
|
|
namespace ExpansionInterface
|
|
|
|
{
|
|
|
|
enum TEXIDevices : int;
|
|
|
|
}
|
|
|
|
|
2015-03-18 16:00:27 -06:00
|
|
|
class GameCubeConfigPane final : public wxPanel
|
|
|
|
{
|
|
|
|
public:
|
2016-06-24 02:43:46 -06:00
|
|
|
GameCubeConfigPane(wxWindow* parent, wxWindowID id);
|
2015-03-18 16:00:27 -06:00
|
|
|
|
|
|
|
private:
|
2016-06-24 02:43:46 -06:00
|
|
|
void InitializeGUI();
|
|
|
|
void LoadGUIValues();
|
2016-11-05 06:29:29 -06:00
|
|
|
void BindEvents();
|
2016-06-24 02:43:46 -06:00
|
|
|
|
|
|
|
void OnSystemLanguageChange(wxCommandEvent&);
|
|
|
|
void OnOverrideLanguageCheckBoxChanged(wxCommandEvent&);
|
2017-06-04 02:20:16 -06:00
|
|
|
void OnSkipIPLCheckBoxChanged(wxCommandEvent&);
|
2016-06-24 02:43:46 -06:00
|
|
|
void OnSlotAChanged(wxCommandEvent&);
|
|
|
|
void OnSlotBChanged(wxCommandEvent&);
|
|
|
|
void OnSP1Changed(wxCommandEvent&);
|
|
|
|
void OnSlotAButtonClick(wxCommandEvent&);
|
|
|
|
void OnSlotBButtonClick(wxCommandEvent&);
|
|
|
|
|
|
|
|
void ChooseEXIDevice(const wxString& device_name, int device_id);
|
2016-12-04 14:28:44 -07:00
|
|
|
void HandleEXISlotChange(int slot, const wxString& title);
|
2017-03-18 15:46:05 -06:00
|
|
|
void ChooseSlotPath(bool is_slot_a, ExpansionInterface::TEXIDevices device_type);
|
2016-06-24 02:43:46 -06:00
|
|
|
|
|
|
|
wxArrayString m_ipl_language_strings;
|
|
|
|
|
|
|
|
wxChoice* m_system_lang_choice;
|
|
|
|
wxCheckBox* m_override_lang_checkbox;
|
2017-06-04 02:20:16 -06:00
|
|
|
wxCheckBox* m_skip_ipl_checkbox;
|
2016-06-24 02:43:46 -06:00
|
|
|
wxChoice* m_exi_devices[3];
|
|
|
|
wxButton* m_memcard_path[2];
|
2015-03-18 16:00:27 -06:00
|
|
|
};
|