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

31 lines
567 B
C++

#pragma once
#include "win32/MDIChild.h"
#include "DisAsm.h"
#include "../VirtualMachine.h"
class CDisAsmWnd : public Framework::Win32::CMDIChild
{
public:
enum DISASM_TYPE
{
DISASM_STANDARD,
DISASM_VU
};
CDisAsmWnd(HWND, CVirtualMachine&, CMIPS*, DISASM_TYPE);
virtual ~CDisAsmWnd();
void Refresh();
CDisAsm* GetDisAsm() const;
protected:
long OnSize(unsigned int, unsigned int, unsigned int) override;
long OnSysCommand(unsigned int, LPARAM) override;
long OnSetFocus() override;
private:
void RefreshLayout();
CDisAsm* m_disAsm = nullptr;
};