-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMemoryPanel.h
54 lines (41 loc) · 961 Bytes
/
MemoryPanel.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#ifndef MEMORYPANEL_H
#define MEMORYPANEL_H
//(*Headers(MemoryPanel)
#include <wx/panel.h>
#include <wx/scrolbar.h>
#include <wx/splitter.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>
//*)
#include <memory>
#include "debuggermanager.h"
class MemoryPanel: public wxPanel
{
public:
MemoryPanel(wxWindow* parent);
virtual ~MemoryPanel();
//(*Declarations(MemoryPanel)
wxScrollBar* ScrollBar1;
wxSplitterWindow* SplitterWindow1;
wxStaticText* StaticText1;
wxStaticText* StaticText2;
wxTextCtrl* m_AchiiOutput;
wxTextCtrl* m_Address;
wxTextCtrl* m_ByteOutput;
wxTextCtrl* m_Size;
//*)
void UpdatePanel();
void OnScroll(wxScrollEvent& event);
void DebuggerCursorChanged();
protected:
//(*Identifiers(MemoryPanel)
//*)
private:
//(*Handlers(MemoryPanel)
void OnTextEnter(wxCommandEvent& event);
//*)
uint64_t m_addr;
std::shared_ptr<cbWatch> m_watch;
DECLARE_EVENT_TABLE()
};
#endif