mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-17 19:49:12 +01:00
76bbd46829
Replaces them with forward declarations of used types, or removes them entirely if they aren't used at all. This also replaces certain Common headers with less inclusive ones (in terms of definitions they pull in).
44 lines
1.1 KiB
C++
44 lines
1.1 KiB
C++
// 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>
|
|
#include "Common/CommonTypes.h"
|
|
#include "DiscIO/Volume.h"
|
|
|
|
class wxCheckBox;
|
|
class wxChoice;
|
|
|
|
class WiiConfigPane final : public wxPanel
|
|
{
|
|
public:
|
|
WiiConfigPane(wxWindow* parent, wxWindowID id);
|
|
|
|
private:
|
|
void InitializeGUI();
|
|
void LoadGUIValues();
|
|
void RefreshGUI();
|
|
|
|
void OnScreenSaverCheckBoxChanged(wxCommandEvent&);
|
|
void OnPAL60CheckBoxChanged(wxCommandEvent&);
|
|
void OnSDCardCheckBoxChanged(wxCommandEvent&);
|
|
void OnConnectKeyboardCheckBoxChanged(wxCommandEvent&);
|
|
void OnSystemLanguageChoiceChanged(wxCommandEvent&);
|
|
void OnAspectRatioChoiceChanged(wxCommandEvent&);
|
|
|
|
static u8 GetSADRCountryCode(DiscIO::IVolume::ELanguage language);
|
|
|
|
wxArrayString m_system_language_strings;
|
|
wxArrayString m_aspect_ratio_strings;
|
|
|
|
wxCheckBox* m_screensaver_checkbox;
|
|
wxCheckBox* m_pal60_mode_checkbox;
|
|
wxCheckBox* m_sd_card_checkbox;
|
|
wxCheckBox* m_connect_keyboard_checkbox;
|
|
wxChoice* m_system_language_choice;
|
|
wxChoice* m_aspect_ratio_choice;
|
|
};
|