Gnash
0.8.11dev
|
DisplayList tag. More...
#include <DisplayListTag.h>
Public Member Functions | |
DisplayListTag (int depth) | |
virtual | ~DisplayListTag () |
virtual void | executeState (MovieClip *m, DisplayList &dlist) const =0 |
All DisplayList tags are state tags. | |
int | getDepth () const |
Return the depth affected by this DisplayList tag. | |
![]() | |
virtual | ~ControlTag () |
virtual void | executeActions (MovieClip *, DisplayList &) const |
Execute Action tags. | |
![]() | |
ref_counted () | |
ref_counted (const ref_counted &) | |
void | add_ref () const |
void | drop_ref () const |
long | get_ref_count () const |
Protected Attributes | |
int | _depth |
Additional Inherited Members | |
![]() | |
enum | Type { TAG_ACTION = 1 << 0, TAG_DLIST = 1 << 1 } |
Type of ControlTag. More... |
DisplayList tag.
DisplayList tags are all versions of PlaceObject and RemoveObject. They modify the DisplayList of a movie or sprite by placing, moving, replacing or removing DisplayObjects at depths.
|
inline |
|
inlinevirtual |
|
pure virtual |
All DisplayList tags are state tags.
Reimplemented from gnash::SWF::ControlTag.
Implemented in gnash::SWF::PlaceObject2Tag, and gnash::SWF::RemoveObjectTag.
|
inline |
Return the depth affected by this DisplayList tag.
NOTE: the returned depth is always in the static depth zone (DisplayObject::staticDepthOffset .. -1)
References _depth.
Referenced by gnash::MovieClip::add_display_object(), gnash::MovieClip::move_display_object(), gnash::MovieClip::remove_display_object(), and gnash::MovieClip::replace_display_object().
|
protected |
Referenced by gnash::SWF::RemoveObjectTag::executeState(), getDepth(), and gnash::SWF::RemoveObjectTag::read().