mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 01:08:39 +12:00
memory viewer: more cleanup
This commit is contained in:
parent
ed8e5498d1
commit
343d006ae2
1 changed files with 12 additions and 11 deletions
|
@ -12,6 +12,16 @@ class memory_viewer_panel : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
memory_viewer_panel(QWidget* parent, u32 addr = 0);
|
||||||
|
~memory_viewer_panel();
|
||||||
|
|
||||||
|
bool exit;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void wheelEvent(QWheelEvent* event) override;
|
||||||
|
void resizeEvent(QResizeEvent* event) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
u32 m_addr;
|
u32 m_addr;
|
||||||
u32 m_colcount;
|
u32 m_colcount;
|
||||||
|
@ -28,18 +38,9 @@ private:
|
||||||
|
|
||||||
std::string getHeaderAtAddr(u32 addr);
|
std::string getHeaderAtAddr(u32 addr);
|
||||||
void scroll(s32 steps);
|
void scroll(s32 steps);
|
||||||
|
|
||||||
public:
|
|
||||||
bool exit;
|
|
||||||
memory_viewer_panel(QWidget* parent, u32 addr = 0);
|
|
||||||
~memory_viewer_panel();
|
|
||||||
|
|
||||||
void wheelEvent(QWheelEvent *event) override;
|
|
||||||
void resizeEvent(QResizeEvent *event) override;
|
|
||||||
|
|
||||||
virtual void ShowMemory();
|
|
||||||
void SetPC(const uint pc);
|
void SetPC(const uint pc);
|
||||||
|
|
||||||
//Static methods
|
virtual void ShowMemory();
|
||||||
|
|
||||||
static void ShowImage(QWidget* parent, u32 addr, int mode, u32 sizex, u32 sizey, bool flipv);
|
static void ShowImage(QWidget* parent, u32 addr, int mode, u32 sizex, u32 sizey, bool flipv);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue