mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
49 lines
1014 B
C++
49 lines
1014 B
C++
// Copyright 2013 Dolphin Emulator Project
|
|
// Licensed under GPLv2
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <wx/wx.h>
|
|
#include <wx/spinctrl.h>
|
|
#include "ISOProperties.h"
|
|
|
|
class CPHackSettings : public wxDialog
|
|
{
|
|
public:
|
|
CPHackSettings(wxWindow* parent,
|
|
wxWindowID id = 1,
|
|
const wxString& title = _("Custom Projection Hack Settings"),
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
const wxSize& size = wxDefaultSize,
|
|
long style = wxDEFAULT_DIALOG_STYLE);
|
|
virtual ~CPHackSettings();
|
|
|
|
private:
|
|
DECLARE_EVENT_TABLE();
|
|
|
|
wxChoice *PHackChoice;
|
|
wxCheckBox *PHackSZNear;
|
|
wxCheckBox *PHackSZFar;
|
|
wxCheckBox *PHackExP;
|
|
wxTextCtrl *PHackZNear;
|
|
wxTextCtrl *PHackZFar;
|
|
|
|
enum {
|
|
ID_PHACK_CHOICE = 1000,
|
|
ID_PHACK_SZNEAR,
|
|
ID_PHACK_SZFAR,
|
|
ID_PHACK_ZNEAR,
|
|
ID_PHACK_ZFAR,
|
|
ID_PHACK_EXP
|
|
};
|
|
|
|
IniFile PHPresetsIni;
|
|
|
|
void SetRefresh(wxCommandEvent& event);
|
|
void CreateGUIControls();
|
|
|
|
void SavePHackData(wxCommandEvent& event);
|
|
void LoadPHackData();
|
|
};
|