mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
DolphinWX: Split cheat window components into their own source files
This commit is contained in:
32
Source/Core/DolphinWX/Cheats/CreateCodeDialog.h
Normal file
32
Source/Core/DolphinWX/Cheats/CreateCodeDialog.h
Normal file
@ -0,0 +1,32 @@
|
||||
// Copyright 2014 Dolphin Emulator Project
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <wx/dialog.h>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
class wxCheckBox;
|
||||
class wxCommandEvent;
|
||||
class wxTextCtrl;
|
||||
class wxWindow;
|
||||
|
||||
class CreateCodeDialog final : public wxDialog
|
||||
{
|
||||
public:
|
||||
CreateCodeDialog(wxWindow* const parent, const u32 address);
|
||||
|
||||
private:
|
||||
const u32 m_code_address;
|
||||
|
||||
wxTextCtrl* m_textctrl_name;
|
||||
wxTextCtrl* m_textctrl_code;
|
||||
wxTextCtrl* m_textctrl_value;
|
||||
wxCheckBox* m_checkbox_use_hex;
|
||||
|
||||
void PressOK(wxCommandEvent&);
|
||||
void PressCancel(wxCommandEvent&);
|
||||
void OnEvent_Close(wxCloseEvent& ev);
|
||||
};
|
Reference in New Issue
Block a user