mirror of
https://github.com/jpd002/Play-.git
synced 2025-05-06 19:01:55 +03:00

Fixed TR1 compilance. Input configuration support for Win32. Support for analog axis in PadMan. git-svn-id: http://svn.purei.org/purei/trunk@361 b36208d7-6611-0410-8bec-b1987f11c4a2
44 lines
948 B
C++
44 lines
948 B
C++
#ifndef _REGVIEWFPU_H_
|
|
#define _REGVIEWFPU_H_
|
|
|
|
#include <boost/signal.hpp>
|
|
#include <string>
|
|
#include "RegViewPage.h"
|
|
#include "../MIPS.h"
|
|
#include "../VirtualMachine.h"
|
|
|
|
class CRegViewFPU : public CRegViewPage, public boost::signals::trackable
|
|
{
|
|
public:
|
|
CRegViewFPU(HWND, RECT*, CVirtualMachine&, CMIPS*);
|
|
virtual ~CRegViewFPU();
|
|
|
|
enum VIEWMODE
|
|
{
|
|
VIEWMODE_WORD = 0,
|
|
VIEWMODE_LONG = 1,
|
|
VIEWMODE_SINGLE = 2,
|
|
VIEWMODE_DOUBLE = 3,
|
|
VIEWMODE_MAX,
|
|
};
|
|
|
|
protected:
|
|
long OnRightButtonUp(int, int);
|
|
long OnCommand(unsigned short, unsigned short, HWND);
|
|
|
|
private:
|
|
void Update();
|
|
std::string GetDisplayText();
|
|
|
|
std::string RenderWord();
|
|
std::string RenderSingle();
|
|
std::string RenderFCSR();
|
|
|
|
void OnMachineStateChange();
|
|
void OnRunningStateChange();
|
|
|
|
VIEWMODE m_nViewMode;
|
|
CMIPS* m_pCtx;
|
|
};
|
|
|
|
#endif
|