Play-/Source/ui_win32/MemoryViewMIPSWnd.h
2018-04-30 21:01:23 +01:00

29 lines
672 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;
};