2015-05-06 05:27:59 +00:00
|
|
|
#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();
|
2015-05-06 05:27:59 +00:00
|
|
|
|
2018-04-30 20:01:23 +00:00
|
|
|
void Refresh();
|
|
|
|
CDisAsm* GetDisAsm() const;
|
2015-05-06 05:27:59 +00:00
|
|
|
|
|
|
|
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;
|
2015-05-06 05:27:59 +00:00
|
|
|
|
|
|
|
private:
|
2018-04-30 20:01:23 +00:00
|
|
|
void RefreshLayout();
|
|
|
|
CDisAsm* m_disAsm = nullptr;
|
2015-05-06 05:27:59 +00:00
|
|
|
};
|