mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-13 19:49:53 +00:00
CodeView: Assemble menu item added
This commit is contained in:
parent
5d6074f157
commit
9b2cc62393
6 changed files with 158 additions and 0 deletions
32
Source/Core/DolphinWX/Debugger/AssemblerEntryDialog.h
Normal file
32
Source/Core/DolphinWX/Debugger/AssemblerEntryDialog.h
Normal file
|
@ -0,0 +1,32 @@
|
|||
// Copyright 2017 Dolphin Emulator Project
|
||||
// Licensed under GPLv2+
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <wx/textdlg.h>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
class wxStaticText;
|
||||
|
||||
class AssemblerEntryDialog : public wxTextEntryDialog
|
||||
{
|
||||
public:
|
||||
AssemblerEntryDialog(u32 address, wxWindow* parent, const wxString& message,
|
||||
const wxString& caption = wxGetTextFromUserPromptStr,
|
||||
const wxString& value = wxEmptyString, long style = wxTextEntryDialogStyle,
|
||||
const wxPoint& pos = wxDefaultPosition);
|
||||
|
||||
bool Create(wxWindow* parent, const wxString& message,
|
||||
const wxString& caption = wxGetTextFromUserPromptStr,
|
||||
const wxString& value = wxEmptyString, long style = wxTextEntryDialogStyle,
|
||||
const wxPoint& pos = wxDefaultPosition);
|
||||
|
||||
protected:
|
||||
u32 m_address;
|
||||
wxStaticText* m_preview;
|
||||
|
||||
private:
|
||||
void OnTextChanged(wxCommandEvent& evt);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue