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/panel.h>
|
|
|
|
|
|
|
|
class wxCheckBox;
|
|
|
|
class wxSlider;
|
|
|
|
class wxStaticText;
|
|
|
|
|
|
|
|
class AdvancedConfigPane final : public wxPanel
|
|
|
|
{
|
|
|
|
public:
|
2016-06-24 08:43:46 +00:00
|
|
|
AdvancedConfigPane(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();
|
2015-03-18 22:00:27 +00:00
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
void OnClockOverrideCheckBoxChanged(wxCommandEvent&);
|
|
|
|
void OnClockOverrideSliderChanged(wxCommandEvent&);
|
2015-03-18 22:00:27 +00:00
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
void UpdateCPUClock();
|
2015-03-18 22:00:27 +00:00
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
wxCheckBox* m_clock_override_checkbox;
|
|
|
|
wxSlider* m_clock_override_slider;
|
|
|
|
wxStaticText* m_clock_override_text;
|
2015-03-18 22:00:27 +00:00
|
|
|
};
|