Gnash
0.8.10
|
A top-level movie displaying a still bitmap. More...
#include <BitmapMovie.h>
Public Member Functions | |
BitmapMovie (as_object *object, const BitmapMovieDefinition *def, DisplayObject *parent) | |
virtual | ~BitmapMovie () |
virtual void | advance () |
BitmapMovies do need an advance method. | |
virtual float | frameRate () const |
virtual size_t | widthPixels () const |
virtual size_t | heightPixels () const |
virtual const std::string & | url () const |
Get the URL the Movie was loaded from. | |
virtual int | version () const |
Get the version of the Movie. | |
virtual const movie_definition * | definition () const |
A top-level movie displaying a still bitmap.
A loaded BitmapMovie is tested in misc-ming.all/loadMovieTest.swf to have a DisplayList, so it is appropriate that it inherits from MovieClip.
gnash::BitmapMovie::BitmapMovie | ( | as_object * | object, |
const BitmapMovieDefinition * | def, | ||
DisplayObject * | parent | ||
) |
virtual gnash::BitmapMovie::~BitmapMovie | ( | ) | [inline, virtual] |
virtual void gnash::BitmapMovie::advance | ( | ) | [inline, virtual] |
BitmapMovies do need an advance method.
This may be for play() or other inherited methods.
Implements gnash::Movie.
virtual const movie_definition* gnash::BitmapMovie::definition | ( | ) | const [inline, virtual] |
Implements gnash::Movie.
virtual float gnash::BitmapMovie::frameRate | ( | ) | const [inline, virtual] |
Implements gnash::Movie.
References gnash::BitmapMovieDefinition::get_frame_rate().
virtual size_t gnash::BitmapMovie::heightPixels | ( | ) | const [inline, virtual] |
Implements gnash::Movie.
References gnash::BitmapMovieDefinition::get_height_pixels().
virtual const std::string& gnash::BitmapMovie::url | ( | ) | const [inline, virtual] |
Get the URL the Movie was loaded from.
Implements gnash::Movie.
References gnash::BitmapMovieDefinition::get_url().
virtual int gnash::BitmapMovie::version | ( | ) | const [inline, virtual] |
Get the version of the Movie.
Implements gnash::Movie.
References gnash::BitmapMovieDefinition::get_version().
virtual size_t gnash::BitmapMovie::widthPixels | ( | ) | const [inline, virtual] |
Implements gnash::Movie.
References gnash::BitmapMovieDefinition::get_width_pixels().