Go to the documentation of this file.
32 class movie_definition;
72 virtual const std::string&
url()
const = 0;
The base class for all ActionScript objects.
Definition: as_object.h:162
bool command(unsigned char cmd, unsigned char *buf, int count)
Sends a command to the mouse and waits for the response.
Definition: MouseDevice.cpp:368
virtual size_t widthPixels() const =0
Immutable data representing the definition of a movie display element.
Definition: DefinitionTag.h:48
void log_debug(StringType msg, Args... args)
Definition: log.h:301
@ i
Definition: GnashKey.h:155
as_object * object() const
Definition: DisplayObject.h:931
#define _(String)
Definition: log.h:44
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
#define GNASH_REPORT_FUNCTION
Definition: log.h:452
@ n
Definition: GnashKey.h:160
A MovieClip is a container for DisplayObjects.
Definition: MovieClip.h:84
virtual void addCharacter(std::uint16_t)
Add a character to the list of known characters.
Definition: Movie.h:97
Client program's interface to the definition of a movie or sprite.
Definition: movie_definition.h:96
virtual bool initializeCharacter(std::uint16_t)
Attempt to mark a character as initialized.
Definition: Movie.h:103
void log_error(StringType msg, Args... args)
Definition: log.h:283
~MouseDevice()
Definition: MouseDevice.cpp:43
bool check()
Definition: MouseDevice.cpp:236
virtual void advance()=0
Advance to the next frame of the MovieClip.
void write(SimpleBuffer &buf, const std::string &str)
Write a string to an AMF buffer.
Definition: AMF.cpp:161
Movie(as_object *object, const movie_definition *def, DisplayObject *parent)
Definition: Movie.h:51
virtual size_t heightPixels() const =0
virtual const movie_definition * definition() const =0
type
Definition: GnashKey.h:330
@ INVALID
Definition: GnashKey.h:45
static std::vector< std::shared_ptr< InputDevice > > scanForDevices()
Definition: MouseDevice.cpp:49
A top-level, standalone Movie that can be loaded and played.
Definition: Movie.h:47
virtual float frameRate() const =0
DisplayObject * parent() const
Return the parent of this DisplayObject, or NULL if the DisplayObject has no parent.
Definition: DisplayObject.h:252
void gnashSleep(time_t useconds)
Sleep compatibly for the specified number of microseconds.
Definition: GnashSleep.h:35
virtual ~Movie()
Definition: Movie.h:57
virtual const std::string & url() const =0
Get the URL the Movie was loaded from.
virtual SWF::DefinitionTag * exportedCharacter(const std::string &)
Get an exported character definition by its symbol name.
Definition: Movie.h:88
DisplayObject is the base class for all DisplayList objects.
Definition: DisplayObject.h:169
MouseDevice()
Definition: MouseDevice.cpp:36
virtual int version() const =0
Get the version of the Movie.
virtual bool ensureFrameLoaded(size_t) const
Definition: Movie.h:67
bool init()
Definition: MouseDevice.cpp:127