Gnash
0.8.10
|
SWF Tag SetBackgroundColor (9) More...
#include <SetBackgroundColorTag.h>
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. | |
Static Public Member Functions | |
static void | loader (SWFStream &in, TagType tag, movie_definition &m, const RunResources &) |
Set background color tag loader (SWF::SETBACKGROUNDCOLOR) |
SWF Tag SetBackgroundColor (9)
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().
void gnash::SWF::SetBackgroundColorTag::executeState | ( | MovieClip * | , |
DisplayList & | |||
) | const [inline, virtual] |
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 & | |||
) | [inline, static] |
Set background color tag loader (SWF::SETBACKGROUNDCOLOR)
References assert, gnash::SWF::SETBACKGROUNDCOLOR, gnash::key::t, SetBackgroundColorTag(), and gnash::movie_definition::addControlTag().
Referenced by gnash::SWF::addDefaultLoaders().