ewol::context::InputManager Class Reference

Public Member Functions

 InputManager (ewol::Context &_context)
 
void setDpi (int32_t _newDPI)
 
void motion (enum gale::key::type _type, int _pointerID, vec2 _pos)
 
void state (enum gale::key::type _type, int _pointerID, bool _isDown, vec2 _pos)
 
void newLayerSet ()
 
void transfertEvent (ewol::WidgetShared _source, ewol::WidgetShared _destination)
 
void grabPointer (ewol::WidgetShared _widget)
 
void unGrabPointer ()
 
void setLastKeyboardSpecial (const gale::key::Special &_specialKey)
 

Member Function Documentation

§ grabPointer()

void ewol::context::InputManager::grabPointer ( ewol::WidgetShared  _widget)

This fonction lock the pointer properties to move in relative instead of absolute.

Parameters
[in]_widgetThe widget that lock the pointer events

§ newLayerSet()

void ewol::context::InputManager::newLayerSet ( )

a new layer on the windows is set == > might remove all the property of the current element ...

§ transfertEvent()

void ewol::context::InputManager::transfertEvent ( ewol::WidgetShared  _source,
ewol::WidgetShared  _destination 
)

This is to transfert the event from one widget to another one.

Parameters
_sourcethe widget where the event came from
_destinationthe widget where the event mitgh be generated now

§ unGrabPointer()

void ewol::context::InputManager::unGrabPointer ( )

This fonction un-lock the pointer properties to move in relative instead of absolute.


The documentation for this class was generated from the following file: