Gnash  0.8.10
Public Member Functions | Protected Attributes
gnash::SWF::DisplayListTag Class Reference

DisplayList tag. More...

#include <DisplayListTag.h>

Inheritance diagram for gnash::SWF::DisplayListTag:
gnash::SWF::ControlTag gnash::ref_counted gnash::SWF::PlaceObject2Tag gnash::SWF::RemoveObjectTag

List of all members.

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

Detailed Description

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.

Constructor & Destructor Documentation

gnash::SWF::DisplayListTag::DisplayListTag ( int  depth) [inline]
virtual gnash::SWF::DisplayListTag::~DisplayListTag ( ) [inline, virtual]

Member Function Documentation

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().

Member Data Documentation

The documentation for this class was generated from the following file: