#include <UserInputListener.hpp>
◆ OnClickActionFunction
◆ OnMouseMoveActionFunction
◆ OnSelectActionFunction
◆ OnTextActionFunction
◆ UserInputListener()
C3D_API castor3d::UserInputListener::UserInputListener |
( |
Engine & |
engine, |
|
|
castor::String const & |
name |
|
) |
| |
◆ ~UserInputListener()
virtual C3D_API castor3d::UserInputListener::~UserInputListener |
( |
| ) |
|
|
virtual |
◆ cleanup()
C3D_API void castor3d::UserInputListener::cleanup |
( |
| ) |
|
◆ disableHandler()
C3D_API void castor3d::UserInputListener::disableHandler |
( |
castor::String const & |
handler | ) |
|
◆ doAddHandler()
void castor3d::UserInputListener::doAddHandler |
( |
EventHandlerSPtr |
handler | ) |
|
|
inlineprotected |
◆ doGetHandlers()
std::vector< EventHandlerSPtr > castor3d::UserInputListener::doGetHandlers |
( |
| ) |
const |
|
inlineprotected |
◆ doHasHandlers()
bool castor3d::UserInputListener::doHasHandlers |
( |
| ) |
const |
|
inlineprotected |
◆ doRemoveHandler()
void castor3d::UserInputListener::doRemoveHandler |
( |
EventHandler const & |
handler | ) |
|
|
inlineprotected |
◆ enableHandler()
C3D_API void castor3d::UserInputListener::enableHandler |
( |
castor::String const & |
handler | ) |
|
◆ fireChar()
C3D_API bool castor3d::UserInputListener::fireChar |
( |
KeyboardKey |
key, |
|
|
castor::String const & |
c |
|
) |
| |
◆ fireKeydown()
C3D_API bool castor3d::UserInputListener::fireKeydown |
( |
KeyboardKey |
key, |
|
|
bool |
ctrl, |
|
|
bool |
alt, |
|
|
bool |
shift |
|
) |
| |
◆ fireKeyUp()
C3D_API bool castor3d::UserInputListener::fireKeyUp |
( |
KeyboardKey |
key, |
|
|
bool |
ctrl, |
|
|
bool |
alt, |
|
|
bool |
shift |
|
) |
| |
◆ fireMouseButtonPushed()
◆ fireMouseButtonReleased()
◆ fireMouseMove()
C3D_API bool castor3d::UserInputListener::fireMouseMove |
( |
castor::Position const & |
position | ) |
|
◆ fireMouseWheel()
C3D_API bool castor3d::UserInputListener::fireMouseWheel |
( |
castor::Position const & |
offsets | ) |
|
◆ getActiveControl()
EventHandler * castor3d::UserInputListener::getActiveControl |
( |
| ) |
const |
|
inline |
◆ getFocusedControl()
EventHandler * castor3d::UserInputListener::getFocusedControl |
( |
| ) |
const |
|
inline |
◆ getFrameListener()
FrameListener & castor3d::UserInputListener::getFrameListener |
( |
| ) |
const |
|
inline |
◆ getMousePosition()
castor::Position const & castor3d::UserInputListener::getMousePosition |
( |
| ) |
const |
|
inline |
◆ initialise()
C3D_API bool castor3d::UserInputListener::initialise |
( |
| ) |
|
◆ onClickAction()
C3D_API void castor3d::UserInputListener::onClickAction |
( |
castor::String const & |
handler | ) |
|
◆ onMouseMoveAction()
C3D_API void castor3d::UserInputListener::onMouseMoveAction |
( |
castor::String const & |
handler | ) |
|
◆ onSelectAction()
C3D_API void castor3d::UserInputListener::onSelectAction |
( |
castor::String const & |
handler, |
|
|
int |
index |
|
) |
| |
◆ onTextAction()
C3D_API void castor3d::UserInputListener::onTextAction |
( |
castor::String const & |
handler, |
|
|
castor::String const & |
text |
|
) |
| |
◆ processEvents()
C3D_API void castor3d::UserInputListener::processEvents |
( |
| ) |
|
◆ registerClickAction()
◆ registerMouseMoveAction()
◆ registerSelectAction()
◆ registerTextAction()
◆ unregisterClickAction()
C3D_API void castor3d::UserInputListener::unregisterClickAction |
( |
castor::String const & |
handler | ) |
|
◆ unregisterMouseMoveAction()
C3D_API void castor3d::UserInputListener::unregisterMouseMoveAction |
( |
castor::String const & |
handler | ) |
|
◆ unregisterSelectAction()
C3D_API void castor3d::UserInputListener::unregisterSelectAction |
( |
castor::String const & |
handler | ) |
|
◆ unregisterTextAction()
C3D_API void castor3d::UserInputListener::unregisterTextAction |
( |
castor::String const & |
handler | ) |
|
◆ m_frameListener
FrameListenerSPtr castor3d::UserInputListener::m_frameListener |
|
protected |
◆ m_handlers
std::vector< EventHandlerSPtr > castor3d::UserInputListener::m_handlers |
|
protected |
◆ m_mutexHandlers
std::mutex castor3d::UserInputListener::m_mutexHandlers |
|
mutableprotected |
La documentation de cette classe a été générée à partir du fichier suivant :