|
Gnash
0.8.11dev
|
What is being dragged and how. More...
#include <DragState.h>
Public Member Functions | |
| DragState (DisplayObject *d, bool lock) | |
| bool | isLockCentered () const |
| void | setOffset (std::int32_t x, std::int32_t y) |
| std::int32_t | xOffset () const |
| std::int32_t | yOffset () const |
| bool | hasBounds () const |
| const SWFRect & | getBounds () const |
| Get the boundaries to constraint the drag into. More... | |
| void | setBounds (const SWFRect &bounds) |
| Set the boundaries to constraint the drag into. More... | |
| DisplayObject * | getCharacter () const |
| May return NULL !! More... | |
| void | reset () |
| Reset drag state to its initial condition. More... | |
| void | markReachableResources () const |
| Mark DisplayObject as reachable (if any) More... | |
What is being dragged and how.
|
inline |
|
inline |
Get the boundaries to constraint the drag into.
Coordinates of the rectangle are expected in TWIPS.
Note that if hasBounds() is false the returned rectangle is the NULL rectangle - see SWFRect::is_null().
|
inline |
May return NULL !!
|
inline |
|
inline |
|
inline |
Mark DisplayObject as reachable (if any)
References gnash::GcResource::setReachable().
|
inline |
Reset drag state to its initial condition.
|
inline |
Set the boundaries to constraint the drag into.
Coordinates of the rectangle are expected in TWIPS.
|
inline |
|
inline |
|
inline |
1.8.12