2015-03-18 22:00:27 +00:00
|
|
|
// Copyright 2015 Dolphin Emulator Project
|
2015-05-17 23:08:10 +00:00
|
|
|
// Licensed under GPLv2+
|
2015-03-18 22:00:27 +00: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 InterfaceConfigPane final : public wxPanel
|
|
|
|
{
|
|
|
|
public:
|
2016-06-24 08:43:46 +00:00
|
|
|
InterfaceConfigPane(wxWindow* parent, wxWindowID id);
|
2015-03-18 22:00:27 +00:00
|
|
|
|
|
|
|
private:
|
2016-06-24 08:43:46 +00:00
|
|
|
void InitializeGUI();
|
|
|
|
void LoadGUIValues();
|
|
|
|
void LoadThemes();
|
|
|
|
|
|
|
|
void OnConfirmStopCheckBoxChanged(wxCommandEvent&);
|
|
|
|
void OnPanicHandlersCheckBoxChanged(wxCommandEvent&);
|
|
|
|
void OnOSDMessagesCheckBoxChanged(wxCommandEvent&);
|
2017-05-15 14:49:52 +00:00
|
|
|
void OnShowActiveTitleCheckBoxChanged(wxCommandEvent&);
|
2016-06-24 08:43:46 +00:00
|
|
|
void OnInterfaceLanguageChoiceChanged(wxCommandEvent&);
|
|
|
|
void OnPauseOnFocusLostCheckBoxChanged(wxCommandEvent&);
|
|
|
|
void OnThemeSelected(wxCommandEvent&);
|
|
|
|
|
|
|
|
wxArrayString m_interface_lang_strings;
|
|
|
|
|
|
|
|
wxCheckBox* m_confirm_stop_checkbox;
|
|
|
|
wxCheckBox* m_panic_handlers_checkbox;
|
|
|
|
wxCheckBox* m_osd_messages_checkbox;
|
2017-05-15 14:49:52 +00:00
|
|
|
wxCheckBox* m_show_active_title_checkbox;
|
2016-06-24 08:43:46 +00:00
|
|
|
wxCheckBox* m_pause_focus_lost_checkbox;
|
|
|
|
wxChoice* m_interface_lang_choice;
|
|
|
|
wxChoice* m_theme_choice;
|
2015-03-18 22:00:27 +00:00
|
|
|
};
|