mirror of
https://github.com/jpd002/Play-.git
synced 2025-05-02 15:37:58 +03:00
23 lines
484 B
C++
23 lines
484 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();
|
||
|
}
|