Play-/Source/win32ui/FrameDebugger/GsInputStateView.cpp

22 lines
407 B
C++
Raw Normal View History

#include "GsInputStateView.h"
#include "GsStateUtils.h"
CGsInputStateView::CGsInputStateView(HWND parent, const RECT& rect)
: CRegViewPage(parent, rect)
{
}
CGsInputStateView::~CGsInputStateView()
{
}
void CGsInputStateView::UpdateState(CGSHandler* gs)
{
std::string result;
result += CGsStateUtils::GetInputState(gs);
SetDisplayText(result.c_str());
CRegViewPage::Update();
}