Gnash
0.8.10
|
A simple rgb SWFCxForm for SWF2 buttons, superseded by DefineButton2. More...
#include <DefineButtonCxformTag.h>
Static Public Member Functions | |
static void | loader (SWFStream &in, TagType tag, movie_definition &m, const RunResources &) |
A simple rgb SWFCxForm for SWF2 buttons, superseded by DefineButton2.
The loader directly modifies a previous DefineButton tag. TODO: should it also modify a DefineButton2 tag? Probably, but not tested.
void gnash::SWF::DefineButtonCxformTag::loader | ( | SWFStream & | in, |
TagType | tag, | ||
movie_definition & | m, | ||
const RunResources & | |||
) | [static] |
References assert, gnash::SWF::DEFINEBUTTONCXFORM, gnash::SWFStream::ensureBytes(), gnash::SWFStream::read_u16(), IF_VERBOSE_PARSE, gnash::movie_definition::getDefinitionTag(), IF_VERBOSE_MALFORMED_SWF, _, gnash::typeName(), gnash::SWF::DefineButtonTag::buttonRecords(), gnash::key::i, and gnash::key::e.
Referenced by gnash::SWF::addDefaultLoaders().