Gnash  0.8.11dev
Stage_as.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
3 // Free Software Foundation, Inc
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 //
19 
20 #ifndef GNASH_ASOBJ_STAGE_H
21 #define GNASH_ASOBJ_STAGE_H
22 
23 namespace gnash {
24 
25 struct ObjectURI;
26 class as_object;
27 
29 //
39 //
44 
46 void registerStageNative(as_object& o);
47 
49 void stage_class_init(as_object& where, const ObjectURI& uri);
50 
51 } // end of gnash namespace
52 
53 #endif
54 
gnash::stage_class_init
void stage_class_init(as_object &where, const ObjectURI &uri)
Initialize the global Stage class.
Definition: Stage_as.cpp:51
movie_root.h
gnash::toBool
bool toBool(const as_value &v, const VM &vm)
Convert an as_value to boolean type.
Definition: VM.cpp:445
gnash::as_object
The base class for all ActionScript objects.
Definition: as_object.h:162
as_object.h
Stage_as.h
LOG_ONCE
#define LOG_ONCE(x)
Definition: log.h:49
_
#define _(String)
Definition: log.h:44
gnash::VM
The AVM1 virtual machine.
Definition: VM.h:72
gnash
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
gnash::registerBuiltinObject
as_object * registerBuiltinObject(as_object &where, Global_as::Properties p, const ObjectURI &uri)
Register a built-in object.
Definition: Global_as.h:114
gnash::key::m
@ m
Definition: GnashKey.h:159
NativeFunction.h
Global_as.h
gnash::getVM
VM & getVM(const as_environment &env)
Definition: as_environment.h:222
AsBroadcaster.h
gnash::registerStageNative
void registerStageNative(as_object &o)
This is the Stage ActionScript object.
Definition: Stage_as.cpp:58
StringPredicates.h
gnash::movie_root::DisplayState
DisplayState
The possible values of Stage.displayState.
Definition: movie_root.h:444
IF_VERBOSE_ASCODING_ERRORS
#define IF_VERBOSE_ASCODING_ERRORS(x)
Definition: log.h:397
gnash::stringToStageAlign
short stringToStageAlign(const std::string &str)
Definition: movie_root.cpp:2406
gnash::VM::registerNative
void registerNative(as_c_function_ptr fun, unsigned int x, unsigned int y)
Definition: VM.cpp:268
gnash::movie_root::SCALEMODE_NOSCALE
@ SCALEMODE_NOSCALE
Definition: movie_root.h:452
gnash::movie_root::DISPLAYSTATE_FULLSCREEN
@ DISPLAYSTATE_FULLSCREEN
Definition: movie_root.h:446
VM.h
gnash::movie_root::SCALEMODE_SHOWALL
@ SCALEMODE_SHOWALL
Definition: movie_root.h:451
gnash::log_aserror
void log_aserror(StringType msg, Args... args)
Definition: log.h:331
gnash::AsBroadcaster::initialize
static void initialize(as_object &obj)
Initialize the given object as an AsBroadcaster.
Definition: AsBroadcaster.cpp:145
log.h
gnash::getRoot
movie_root & getRoot(const as_environment &env)
Definition: as_environment.cpp:645
fn_call.h
namedStrings.h
gnash::getSWFVersion
int getSWFVersion(const as_environment &env)
Definition: as_environment.cpp:657
test.uri
uri
Definition: test.py:12
gnash::movie_root::SCALEMODE_EXACTFIT
@ SCALEMODE_EXACTFIT
Definition: movie_root.h:453
gnash::key::o
@ o
Definition: GnashKey.h:161
gnash::movie_root::ScaleMode
ScaleMode
The possibile values of Stage.scaleMode.
Definition: movie_root.h:450
gnash::log_unimpl
void log_unimpl(StringType msg, Args... args)
Definition: log.h:289
gnash::ObjectURI
A URI for describing as_objects.
Definition: ObjectURI.h:45
gnash::movie_root::DISPLAYSTATE_NORMAL
@ DISPLAYSTATE_NORMAL
Definition: movie_root.h:445
gnash::movie_root::SCALEMODE_NOBORDER
@ SCALEMODE_NOBORDER
Definition: movie_root.h:454