Play-/Source/ui_win32/DisAsmWnd.h

31 lines
567 B
C
Raw Normal View History

#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
};
2018-04-30 20:01:23 +00:00
CDisAsmWnd(HWND, CVirtualMachine&, CMIPS*, DISASM_TYPE);
virtual ~CDisAsmWnd();
2018-04-30 20:01:23 +00:00
void Refresh();
CDisAsm* GetDisAsm() const;
protected:
2018-04-30 20:01:23 +00:00
long OnSize(unsigned int, unsigned int, unsigned int) override;
long OnSysCommand(unsigned int, LPARAM) override;
long OnSetFocus() override;
private:
2018-04-30 20:01:23 +00:00
void RefreshLayout();
CDisAsm* m_disAsm = nullptr;
};