mirror of
https://github.com/libretro/Play-.git
synced 2024-11-28 03:00:49 +00:00
31 lines
567 B
C++
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;
|
|
};
|