class: ewol::context::InputManager


Description:



Constructor and Destructor:

+                 InputManager          (ewol::Context & _context);
+ ~InputManager (void );

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 onObjectRemove (ewol::Object* _removeObject);
+ void newLayerSet (void );
+ void transfertEvent (ewol::Widget* _source,
ewol::Widget* _destination);
+ void grabPointer (ewol::Widget* _widget);
+ void unGrabPointer (void );

Detail:

InputManager

+  InputManager (ewol::Context & _context);



~InputManager

+  ~InputManager (void );



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);



onObjectRemove

+ void onObjectRemove (ewol::Object* _removeObject);
Inform object that an other object is removed ...
Note: : Sub classes must call this class


newLayerSet

+ void newLayerSet (void );
a new layer on the windows is set == > might remove all the property of the current element ...


transfertEvent

+ void transfertEvent (ewol::Widget* _source,
ewol::Widget* _destination);
This is to transfert the event from one widget to another one


grabPointer

+ void grabPointer (ewol::Widget* _widget);
This fonction lock the pointer properties to move in relative instead of absolute


unGrabPointer

+ void unGrabPointer (void );
This fonction un-lock the pointer properties to move in relative instead of absolute