#include <InputStateEventHanndler.h>
|
| InputStateEventHandler () |
void | setPosTransformCallback (const InputPosTransformCallback &cb) |
InputPosTransformCallback | getPosTransformCallback () const |
void | setResizeCallback (const ResizeCallBack &cb) |
ResizeCallBack | getResizeCallback () const |
virtual void | onLButtonDown (Window *wnd, int xpos, int ypos)=0 |
virtual void | onLButtonUp (Window *wnd, int xpos, int ypos)=0 |
virtual void | onRButtonDown (Window *wnd, int xpos, int ypos)=0 |
virtual void | onRButtonUp (Window *wnd, int xpos, int ypos)=0 |
virtual void | onKeyDown (Window *wnd, int key)=0 |
virtual void | onKeyUp (Window *wnd, int key)=0 |
void | addRef () |
void | release () |
size_t | count () |
| operator bool () const |
◆ InputStateEventHandler()
FCT::InputStateEventHandler::InputStateEventHandler |
( |
| ) |
|
|
inline |
◆ addRef()
void FCT::RefCount::addRef |
( |
| ) |
|
|
inlineinherited |
◆ count()
size_t FCT::RefCount::count |
( |
| ) |
|
|
inlineinherited |
◆ deleteThis()
virtual void FCT::RefCount::deleteThis |
( |
| ) |
|
|
inlineprotectedvirtualinherited |
◆ getPosTransformCallback()
◆ getResizeCallback()
ResizeCallBack FCT::InputStateEventHandler::getResizeCallback |
( |
| ) |
const |
|
inline |
◆ onKeyDown()
virtual void FCT::EventHandler::onKeyDown |
( |
Window * | wnd, |
|
|
int | key ) |
|
pure virtualinherited |
◆ onKeyUp()
virtual void FCT::EventHandler::onKeyUp |
( |
Window * | wnd, |
|
|
int | key ) |
|
pure virtualinherited |
◆ onLButtonDown()
virtual void FCT::EventHandler::onLButtonDown |
( |
Window * | wnd, |
|
|
int | xpos, |
|
|
int | ypos ) |
|
pure virtualinherited |
◆ onLButtonUp()
virtual void FCT::EventHandler::onLButtonUp |
( |
Window * | wnd, |
|
|
int | xpos, |
|
|
int | ypos ) |
|
pure virtualinherited |
◆ onMouseMove()
void FCT::InputStateEventHandler::onMouseMove |
( |
Window * | wnd, |
|
|
int | x, |
|
|
int | y ) |
|
inlineoverrideprotectedvirtual |
◆ onMouseWheel()
void FCT::InputStateEventHandler::onMouseWheel |
( |
Window * | wnd, |
|
|
int | delta ) |
|
inlineoverrideprotectedvirtual |
◆ onRButtonDown()
virtual void FCT::EventHandler::onRButtonDown |
( |
Window * | wnd, |
|
|
int | xpos, |
|
|
int | ypos ) |
|
pure virtualinherited |
◆ onRButtonUp()
virtual void FCT::EventHandler::onRButtonUp |
( |
Window * | wnd, |
|
|
int | xpos, |
|
|
int | ypos ) |
|
pure virtualinherited |
◆ onResize()
void FCT::InputStateEventHandler::onResize |
( |
Window * | wnd, |
|
|
int | width, |
|
|
int | height ) |
|
inlineoverrideprotectedvirtual |
◆ operator bool()
FCT::RefCount::operator bool |
( |
| ) |
const |
|
inlineinherited |
◆ release()
void FCT::RefCount::release |
( |
| ) |
|
|
inlineinherited |
◆ setPosTransformCallback()
◆ setResizeCallback()
void FCT::InputStateEventHandler::setResizeCallback |
( |
const ResizeCallBack & | cb | ) |
|
|
inline |
◆ m_inputState
◆ m_keyState
char FCT::InputStateEventHandler::m_keyState[512] |
|
protected |
◆ m_logicInputState
InputState* FCT::InputStateEventHandler::m_logicInputState |
|
protected |
◆ m_posTransformCallback
◆ m_refCount
std::atomic<size_t> FCT::RefCount::m_refCount |
|
protectedinherited |
◆ m_resizeCallback
◆ m_uiInputState
InputState* FCT::InputStateEventHandler::m_uiInputState |
|
protected |
该类的文档由以下文件生成: