mirror of
https://github.com/jpd002/Play-.git
synced 2025-05-02 23:47:58 +03:00
Starting work on FrameDebugger. First shot with frame loading and basic state viewing.
git-svn-id: http://svn.purei.org/purei/trunk@1124 b36208d7-6611-0410-8bec-b1987f11c4a2
This commit is contained in:
parent
4e4bff599e
commit
1bda23de30
16 changed files with 1073 additions and 13 deletions
21
Source/win32ui/FrameDebugger/GsInputStateView.cpp
Normal file
21
Source/win32ui/FrameDebugger/GsInputStateView.cpp
Normal file
|
@ -0,0 +1,21 @@
|
|||
#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();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue