Play-/Source/ui_win32/MemoryViewMIPSWnd.h
2015-05-06 01:27:59 -04:00

29 lines
731 B
C++

#pragma once
#include "win32/MDIChild.h"
#include "win32/Edit.h"
#include "MemoryViewMIPS.h"
#include "../VirtualMachine.h"
class CMemoryViewMIPSWnd : public Framework::Win32::CMDIChild
{
public:
CMemoryViewMIPSWnd(HWND, CVirtualMachine&, CMIPS*);
~CMemoryViewMIPSWnd();
CMemoryViewMIPS* GetMemoryView() const;
protected:
long OnSize(unsigned int, unsigned int, unsigned int) override;
long OnSysCommand(unsigned int, LPARAM) override;
long OnSetFocus() override;
private:
void RefreshLayout();
void UpdateStatusBar();
void OnMemoryViewSelectionChange(uint32);
CMemoryViewMIPS* m_memoryView = nullptr;
Framework::Win32::CEdit* m_addressEdit = nullptr;
};