|
void | init (Actor *actor) |
|
void | start (const PointerState *pointer, Actor *actor, const Vector2 &localCenter) |
|
void | destroy () |
|
Actor * | getDragClient () const |
|
const RectF & | getDragBounds () const |
|
const Vector2 & | getClientPos () const |
|
bool | getDragEnabled () const |
|
bool | isDragging () const |
|
void | setDragEnabled (bool en) |
|
void | setDragBounds (const RectF &bounds) |
|
void | setDragClient (Actor *actor) |
|
void | setIgnoreTouchUp (bool ignore) |
|
void | snapClient2Bounds () |
|
|
Actor * | _dragClient |
|
Actor * | _actor |
|
timeMS | _startTm |
|
bool | _singleDrag |
|
RectF | _bounds |
|
Vector2 | _dragPos |
|
Vector2 | _clientPos |
|
bool | _clientIsParent |
|
bool | _pressed |
|
bool | _dragEnabled |
|
bool | _ignoreTouchUp |
|
◆ setDragBounds()
void oxygine::Draggable::setDragBounds |
( |
const RectF & |
bounds | ) |
|
sets bounds position for dragged actor
◆ setDragClient()
void oxygine::Draggable::setDragClient |
( |
Actor * |
actor | ) |
|
sets destination drag client. Default value is Actor attached to DragHandler
The documentation for this class was generated from the following file: