summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Config/GameCubeConfigPane.h
blob: 874dc6ad3c0457d2a71c2d4fb46fe2cbd89e30da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Copyright 2015 Dolphin Emulator Project
// Licensed under GPLv2+
// 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;

class GameCubeConfigPane final : public wxPanel
{
public:
	GameCubeConfigPane(wxWindow* parent, wxWindowID id);

private:
	void InitializeGUI();
	void LoadGUIValues();
	void RefreshGUI();

	void OnSystemLanguageChange(wxCommandEvent&);
	void OnSkipBiosCheckBoxChanged(wxCommandEvent&);
	void OnSlotAChanged(wxCommandEvent&);
	void OnSlotBChanged(wxCommandEvent&);
	void OnSP1Changed(wxCommandEvent&);
	void OnSlotAButtonClick(wxCommandEvent&);
	void OnSlotBButtonClick(wxCommandEvent&);

	void ChooseEXIDevice(const wxString& device_name, int device_id);
	void ChooseSlotPath(bool is_slot_a, TEXIDevices device_type);

	wxArrayString m_ipl_language_strings;

	wxChoice* m_system_lang_choice;
	wxCheckBox* m_skip_bios_checkbox;
	wxChoice* m_exi_devices[3];
	wxButton* m_memcard_path[2];
};