forked from dolphin-emu/dolphin
		
	
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			42 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>
 | 
						|
 | 
						|
class wxButton;
 | 
						|
class wxCheckBox;
 | 
						|
class wxChoice;
 | 
						|
 | 
						|
class InterfaceConfigPane final : public wxPanel
 | 
						|
{
 | 
						|
public:
 | 
						|
	InterfaceConfigPane(wxWindow* parent, wxWindowID id);
 | 
						|
 | 
						|
private:
 | 
						|
	void InitializeGUI();
 | 
						|
	void LoadGUIValues();
 | 
						|
	void LoadThemes();
 | 
						|
 | 
						|
	void OnHotkeyConfigButtonClicked(wxCommandEvent&);
 | 
						|
	void OnConfirmStopCheckBoxChanged(wxCommandEvent&);
 | 
						|
	void OnPanicHandlersCheckBoxChanged(wxCommandEvent&);
 | 
						|
	void OnOSDMessagesCheckBoxChanged(wxCommandEvent&);
 | 
						|
	void OnInterfaceLanguageChoiceChanged(wxCommandEvent&);
 | 
						|
	void OnPauseOnFocusLostCheckBoxChanged(wxCommandEvent&);
 | 
						|
	void OnThemeSelected(wxCommandEvent&);
 | 
						|
 | 
						|
	wxArrayString m_interface_lang_strings;
 | 
						|
 | 
						|
	wxButton* m_hotkey_config_button;
 | 
						|
	wxCheckBox* m_confirm_stop_checkbox;
 | 
						|
	wxCheckBox* m_panic_handlers_checkbox;
 | 
						|
	wxCheckBox* m_osd_messages_checkbox;
 | 
						|
	wxCheckBox* m_pause_focus_lost_checkbox;
 | 
						|
	wxChoice* m_interface_lang_choice;
 | 
						|
	wxChoice* m_theme_choice;
 | 
						|
};
 |