mirror of
https://github.com/libretro/Play-.git
synced 2024-12-12 11:05:36 +00:00
34 lines
719 B
C++
34 lines
719 B
C++
#pragma once
|
|
|
|
#include "win32/MDIChild.h"
|
|
#include "win32/Tab.h"
|
|
#include "../VirtualMachine.h"
|
|
|
|
class CMIPS;
|
|
|
|
class CRegViewWnd : public Framework::Win32::CMDIChild, public boost::signals2::trackable
|
|
{
|
|
public:
|
|
CRegViewWnd(HWND, CVirtualMachine&, CMIPS*);
|
|
virtual ~CRegViewWnd();
|
|
|
|
protected:
|
|
long OnSize(unsigned int, unsigned int, unsigned int) override;
|
|
long OnSysCommand(unsigned int, LPARAM) override;
|
|
LRESULT OnNotify(WPARAM, NMHDR*) override;
|
|
|
|
private:
|
|
enum
|
|
{
|
|
MAXTABS = 4,
|
|
};
|
|
|
|
void SelectTab(unsigned int);
|
|
void UnselectTab(unsigned int);
|
|
void RefreshLayout();
|
|
|
|
CWindow* m_regView[MAXTABS];
|
|
CWindow* m_current = nullptr;
|
|
Framework::Win32::CTab m_tabs;
|
|
};
|