YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
输入管理器。 更多...
#include <InputManager.h>
Public 成员函数 | |
InputManager () | |
void | DispatchInput (UI::IWidget &) |
向指定部件分发响应输入状态。 | |
UI::IWidget * | Update () |
更新输入状态。 | |
Private 属性 | |
std::reference_wrapper < UI::GUIState > | GUI_state |
Drawing::Point | cursor_state |
指针设备光标位置。 | |
InputManager::InputManager | ( | ) |
在文件 InputManager.cpp 第 38 行定义.
void InputManager::DispatchInput | ( | UI::IWidget & | ) |
向指定部件分发响应输入状态。
指定平台相关的用户界面输入处理。
在文件 InputManager.cpp 第 55 行定义.
参考 platform_ex::FetchKeyDownState(),platform_ex::FetchKeyState(),platform_ex::FetchKeyUpState(),YSLib::UI::KeyDown,YSLib::UI::KeyHeld,YSLib::UI::KeyUp,YSLib::UI::TouchDown,YSLib::UI::TouchHeld , 以及 YSLib::UI::TouchUp.
IWidget * InputManager::Update | ( | ) |
更新输入状态。
在文件 InputManager.cpp 第 88 行定义.
参考 platform_ex::FetchKeyState(),YSLib::RestrictInInterval(),platform_ex::UpdateKeyStates(),platform_ex::WriteCursor() , 以及 yunseq().
|
private |
|
private |
在文件 InputManager.h 第 46 行定义.