mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
c893447913
Changed the Cheat Search tab to disable the scan buttons while there is not a game running and enable when it starts. Also added double-click to create code to the result list.
30 lines
575 B
C++
30 lines
575 B
C++
// 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"
|
|
#include "Core/ActionReplay.h"
|
|
|
|
class wxCheckBox;
|
|
class wxTextCtrl;
|
|
|
|
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&);
|
|
};
|