Gnash
0.8.10
|
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. | |
Protected Attributes | |
int | _depth |
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.
gnash::SWF::DisplayListTag::DisplayListTag | ( | int | depth | ) | [inline] |
virtual gnash::SWF::DisplayListTag::~DisplayListTag | ( | ) | [inline, virtual] |
virtual void gnash::SWF::DisplayListTag::executeState | ( | MovieClip * | m, |
DisplayList & | dlist | ||
) | const [pure virtual] |
All DisplayList tags are state tags.
Reimplemented from gnash::SWF::ControlTag.
Implemented in gnash::SWF::PlaceObject2Tag, and gnash::SWF::RemoveObjectTag.
int gnash::SWF::DisplayListTag::getDepth | ( | ) | const [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::replace_display_object(), and gnash::MovieClip::remove_display_object().
int gnash::SWF::DisplayListTag::_depth [protected] |
Referenced by getDepth(), gnash::SWF::RemoveObjectTag::read(), and gnash::SWF::RemoveObjectTag::executeState().