mirror of
https://github.com/libretro/Play-.git
synced 2024-12-12 11:05:36 +00:00
33 lines
667 B
C++
33 lines
667 B
C++
#pragma once
|
|
|
|
#include "RegViewPage.h"
|
|
#include "../MIPS.h"
|
|
#include "../VirtualMachine.h"
|
|
|
|
class CRegViewVU : public CRegViewPage, public boost::signals2::trackable
|
|
{
|
|
public:
|
|
CRegViewVU(HWND, const RECT&, CVirtualMachine&, CMIPS*);
|
|
virtual ~CRegViewVU() = default;
|
|
|
|
void Update() override;
|
|
|
|
protected:
|
|
long OnRightButtonUp(int, int) override;
|
|
long OnCommand(unsigned short, unsigned short, HWND) override;
|
|
|
|
private:
|
|
enum VIEWMODE
|
|
{
|
|
VIEWMODE_WORD,
|
|
VIEWMODE_SINGLE,
|
|
VIEWMODE_MAX,
|
|
};
|
|
|
|
std::string GetDisplayText();
|
|
static std::string PrintPipeline(const char*, const FLAG_PIPELINE&);
|
|
|
|
CMIPS* m_ctx = nullptr;
|
|
VIEWMODE m_viewMode = VIEWMODE_SINGLE;
|
|
};
|