mirror of
https://github.com/jpd002/Play-.git
synced 2025-05-01 15:07:58 +03:00
19 lines
427 B
C++
19 lines
427 B
C++
#include "GsInputStateView.h"
|
|
#include "GsStateUtils.h"
|
|
|
|
CGsInputStateView::CGsInputStateView(HWND parent, const RECT& rect)
|
|
: CRegViewPage(parent, rect)
|
|
{
|
|
}
|
|
|
|
CGsInputStateView::~CGsInputStateView()
|
|
{
|
|
}
|
|
|
|
void CGsInputStateView::UpdateState(CGSHandler* gs, CGsPacketMetadata*, DRAWINGKICK_INFO*)
|
|
{
|
|
std::string result;
|
|
result += CGsStateUtils::GetInputState(gs);
|
|
SetDisplayText(result.c_str());
|
|
CRegViewPage::Update();
|
|
}
|