mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
32 lines
602 B
C
32 lines
602 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <wx/listctrl.h>
|
||
|
|
|
||
|
|
class MemoryViewerPanel : public FrameBase
|
||
|
|
{
|
||
|
|
static const uint LINE_COUNT = 50;
|
||
|
|
static const uint COL_COUNT = 17;
|
||
|
|
|
||
|
|
uint m_PC;
|
||
|
|
wxListView* hex_wind;
|
||
|
|
uint m_colsize;
|
||
|
|
|
||
|
|
public:
|
||
|
|
bool exit;
|
||
|
|
MemoryViewerPanel(wxWindow* parent);
|
||
|
|
~MemoryViewerPanel()
|
||
|
|
{
|
||
|
|
exit = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
virtual void OnResize(wxSizeEvent& event);
|
||
|
|
|
||
|
|
virtual void Next(wxCommandEvent& event);
|
||
|
|
virtual void Prev(wxCommandEvent& event);
|
||
|
|
virtual void fNext(wxCommandEvent& event);
|
||
|
|
virtual void fPrev(wxCommandEvent& event);
|
||
|
|
|
||
|
|
virtual void ShowPC();
|
||
|
|
|
||
|
|
void SetPC(const uint pc) { m_PC = pc; }
|
||
|
|
};
|