mirror of
https://github.com/jpd002/Play-.git
synced 2025-05-01 15:07:58 +03:00
20 lines
468 B
C++
20 lines
468 B
C++
#include "GsContextStateView.h"
|
|
#include "GsStateUtils.h"
|
|
|
|
CGsContextStateView::CGsContextStateView(HWND parent, const RECT& rect, unsigned int contextId)
|
|
: CRegViewPage(parent, rect)
|
|
, m_contextId(contextId)
|
|
{
|
|
}
|
|
|
|
CGsContextStateView::~CGsContextStateView()
|
|
{
|
|
}
|
|
|
|
void CGsContextStateView::UpdateState(CGSHandler* gs)
|
|
{
|
|
std::string result;
|
|
result += CGsStateUtils::GetContextState(gs, m_contextId);
|
|
SetDisplayText(result.c_str());
|
|
CRegViewPage::Update();
|
|
}
|