Gnash  0.8.11dev
Public Member Functions | Static Public Member Functions | List of all members
gnash::SWF::SetBackgroundColorTag Class Reference

SWF Tag SetBackgroundColor (9) More...

#include <SetBackgroundColorTag.h>

Inheritance diagram for gnash::SWF::SetBackgroundColorTag:
gnash::SWF::ControlTag gnash::ref_counted

Public Member Functions

 SetBackgroundColorTag (SWFStream &in)
 Construct a SetBackgroundColorTag by reading it from the given SWF stream.
void executeState (MovieClip *m, DisplayList &) const
 Execute "state" or "DisplayList" tags.
- Public Member Functions inherited from gnash::SWF::ControlTag
virtual ~ControlTag ()
virtual void executeActions (MovieClip *, DisplayList &) const
 Execute Action tags.
- Public Member Functions inherited from gnash::ref_counted
 ref_counted ()
 ref_counted (const ref_counted &)
void add_ref () const
void drop_ref () const
long get_ref_count () const

Static Public Member Functions

static void loader (SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
 Set background color tag loader (SWF::SETBACKGROUNDCOLOR)

Additional Inherited Members

- Public Types inherited from gnash::SWF::ControlTag
enum  Type { TAG_ACTION = 1 << 0, TAG_DLIST = 1 << 1 }
 Type of ControlTag. More...
- Protected Member Functions inherited from gnash::ref_counted
virtual ~ref_counted ()

Detailed Description

SWF Tag SetBackgroundColor (9)

Constructor & Destructor Documentation

gnash::SWF::SetBackgroundColorTag::SetBackgroundColorTag ( SWFStream in)
inline

Construct a SetBackgroundColorTag by reading it from the given SWF stream.

Tag header is assumed to have been read already

Can throw ParserException on premature end of input stream

Referenced by loader().

Member Function Documentation

void gnash::SWF::SetBackgroundColorTag::executeState ( MovieClip ,
DisplayList  
) const
inlinevirtual

Execute "state" or "DisplayList" tags.

State tags exist to control the state of MovieClips along the timeline. They are executed even for skipped frames so that the state is consistent at each frame. Some tags are considered state tags even though they only contain ActionScript, e.g. the DoInitAction tag.

Reimplemented from gnash::SWF::ControlTag.

References gnash::MovieClip::set_background_color().

static void gnash::SWF::SetBackgroundColorTag::loader ( SWFStream in,
TagType  tag,
movie_definition m,
const RunResources  
)
inlinestatic

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