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
|
|
|
|
|
2016-10-20 14:16:46 +00:00
|
|
|
#include <vector>
|
2015-03-18 22:00:27 +00:00
|
|
|
#include <wx/arrstr.h>
|
|
|
|
#include <wx/panel.h>
|
|
|
|
|
2016-06-18 01:24:06 +00:00
|
|
|
class wxButton;
|
2015-03-18 22:00:27 +00:00
|
|
|
class wxCheckBox;
|
|
|
|
class wxChoice;
|
|
|
|
class wxRadioBox;
|
|
|
|
|
|
|
|
class GeneralConfigPane final : public wxPanel
|
|
|
|
{
|
|
|
|
public:
|
2016-06-24 08:43:46 +00:00
|
|
|
GeneralConfigPane(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();
|
2016-11-05 12:29:29 +00:00
|
|
|
void BindEvents();
|
2016-06-24 08:43:46 +00:00
|
|
|
|
|
|
|
void OnDualCoreCheckBoxChanged(wxCommandEvent&);
|
|
|
|
void OnCheatCheckBoxChanged(wxCommandEvent&);
|
|
|
|
void OnForceNTSCJCheckBoxChanged(wxCommandEvent&);
|
|
|
|
void OnThrottlerChoiceChanged(wxCommandEvent&);
|
|
|
|
void OnCPUEngineRadioBoxChanged(wxCommandEvent&);
|
|
|
|
void OnAnalyticsCheckBoxChanged(wxCommandEvent&);
|
|
|
|
void OnAnalyticsNewIdButtonClick(wxCommandEvent&);
|
|
|
|
|
|
|
|
wxArrayString m_throttler_array_string;
|
|
|
|
wxArrayString m_cpu_engine_array_string;
|
|
|
|
|
|
|
|
wxCheckBox* m_dual_core_checkbox;
|
|
|
|
wxCheckBox* m_cheats_checkbox;
|
|
|
|
wxCheckBox* m_force_ntscj_checkbox;
|
|
|
|
|
|
|
|
wxCheckBox* m_analytics_checkbox;
|
|
|
|
wxButton* m_analytics_new_id;
|
|
|
|
|
|
|
|
wxChoice* m_throttler_choice;
|
|
|
|
|
|
|
|
wxRadioBox* m_cpu_engine_radiobox;
|
2015-03-18 22:00:27 +00:00
|
|
|
};
|