Added "Add to watch" context menu items to the Memory and Register windows.

Added "View memory" context menu item to the Register window.
This commit is contained in:
skidau
2014-10-24 00:47:00 +11:00
parent 613cae613a
commit d0a3bb7650
4 changed files with 77 additions and 5 deletions

View File

@ -30,14 +30,13 @@ class wxWindow;
// Interrupt Mask (PI)
// Interrupt Cause(PI)
#define NUM_SPECIALS 14
class CRegTable : public wxGridTableBase
{
enum
{
NUM_SPECIALS = 14,
};
public:
CRegTable()
{
memset(m_CachedRegs, 0, sizeof(m_CachedRegs));
@ -72,4 +71,9 @@ class CRegisterView : public wxGrid
public:
CRegisterView(wxWindow* parent, wxWindowID id);
void Update() override;
void OnMouseDownR(wxGridEvent& event);
void OnPopupMenu(wxCommandEvent& event);
private:
u32 addr = 0;
};