class: ewol::context::InputManager
Description:
Constructor and Destructor:
+ InputManager (ewol::Context & _context);
+ ~InputManager ();
Synopsis:
+ void setDpi (int32_t _newDPI);
+ void motion (enum ewol::key::type _type,
int _pointerID,
vec2 _pos);
+ void state (enum ewol::key::type _type,
int _pointerID,
bool _isDown,
vec2 _pos);
+ void newLayerSet ();
+ void transfertEvent (std::shared_ptr<ewol::Widget> _source,
std::shared_ptr<ewol::Widget> _destination);
+ void grabPointer (std::shared_ptr<ewol::Widget> _widget);
+ void unGrabPointer ();
+ void setLastKeyboardSpecial (const ewol::key::Special & _specialKey);
Detail:
InputManager
+ InputManager (ewol::Context & _context);
~InputManager
+ ~InputManager ();
setDpi
+ void setDpi (int32_t _newDPI);
motion
+ void motion (enum ewol::key::type _type,
int _pointerID,
vec2 _pos);
state
+ void state (enum ewol::key::type _type,
int _pointerID,
bool _isDown,
vec2 _pos);
newLayerSet
+ void newLayerSet ();
a new layer on the windows is set == > might remove all the property of the current element ...
transfertEvent
+ void transfertEvent (std::shared_ptr<ewol::Widget> _source,
std::shared_ptr<ewol::Widget> _destination);
This is to transfert the event from one widget to another one
grabPointer
+ void grabPointer (std::shared_ptr<ewol::Widget> _widget);
This fonction lock the pointer properties to move in relative instead of absolute
unGrabPointer
+ void unGrabPointer ();
This fonction un-lock the pointer properties to move in relative instead of absolute
setLastKeyboardSpecial
+ void setLastKeyboardSpecial (const ewol::key::Special & _specialKey);