Gnash  0.8.11dev
BitmapFilter_as.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 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_BITMAPFILTER_H
21 #define GNASH_ASOBJ_BITMAPFILTER_H
22 
23 #include "Global_as.h"
24 
25 namespace gnash {
26  class as_object;
27  struct ObjectURI;
28 }
29 
30 namespace gnash {
31 
33 void bitmapfilter_class_init(as_object& where, const ObjectURI& uri);
34 
35 void registerBitmapFilterNative(as_object& global);
36 
38 //
41 void registerBitmapClass(as_object& where, Global_as::ASFunction ctor,
42  Global_as::Properties p, const ObjectURI& uri);
43 
44 } // end of gnash namespace
45 
46 #endif
47 
BitmapFilter_as.h
gnash::as_object
The base class for all ActionScript objects.
Definition: as_object.h:162
as_object.h
gnash::log_debug
void log_debug(StringType msg, Args... args)
Definition: log.h:301
Filters.h
gnash::as_environment
Provides information about timeline context.
Definition: as_environment.h:51
gnash::as_object::init_member
void init_member(const std::string &name, const as_value &val, int flags=DefaultFlags)
Initialize a member value by string.
Definition: as_object.cpp:669
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
NativeFunction.h
Global_as.h
gnash::getGlobal
Global_as & getGlobal(const as_environment &env)
Definition: as_environment.cpp:651
gnash::NSV::PROP_CONSTRUCTOR
@ PROP_CONSTRUCTOR
Definition: namedStrings.h:68
gnash::getVM
VM & getVM(const as_environment &env)
Definition: as_environment.h:222
UNUSED
#define UNUSED(x)
Definition: utility.h:113
gnash::getMember
as_value getMember(as_object &o, const ObjectURI &uri)
Get a member of an object using AS lookup rules.
Definition: as_object.h:756
gnash::as_object::init_destructive_property
bool init_destructive_property(const ObjectURI &uri, as_function &getter, int flags=PropFlags::dontEnum)
Initialize a destructive getter property.
Definition: as_object.cpp:720
gnash::createObject
as_object * createObject(const Global_as &gl)
Definition: Global_as.cpp:303
gnash::as_object::DefaultFlags
static const int DefaultFlags
The most common flags for built-in properties.
Definition: as_object.h:192
gnash::Global_as::createClass
as_object * createClass(Global_as::ASFunction ctor, as_object *prototype)
Create an ActionScript class.
Definition: Global_as.cpp:180
gnash::as_value::to_function
as_function * to_function() const
Return the value as a function only if it is a function.
Definition: as_value.cpp:499
gnash::FunctionArgs
A class to contain transferable arguments for a fn_call.
Definition: fn_call.h:57
gnash::constructInstance
as_object * constructInstance(as_function &ctor, const as_environment &env, fn_call::Args &args)
Definition: as_function.cpp:47
gnash::VM::registerNative
void registerNative(as_c_function_ptr fun, unsigned int x, unsigned int y)
Definition: VM.cpp:268
gnash::key::p
@ p
Definition: GnashKey.h:162
gnash::registerBitmapClass
void registerBitmapClass(as_object &where, Global_as::ASFunction ctor, Global_as::Properties p, const ObjectURI &uri)
Convenience function only for BitmapFilter subclasses.
Definition: BitmapFilter_as.cpp:72
gnash::PropFlags::onlySWF8Up
@ onlySWF8Up
Only visible by VM initialized for version 8 or higher.
Definition: PropFlags.h:54
VM.h
gnash::Global_as::ASFunction
as_value(* ASFunction)(const fn_call &fn)
Definition: Global_as.h:53
gnash::registerBitmapFilterNative
void registerBitmapFilterNative(as_object &global)
Definition: BitmapFilter_as.cpp:64
namedStrings.h
gnash::Global_as
The Global object ultimately contains all objects in an ActionScript run.
Definition: Global_as.h:50
gnash::as_object::set_member
virtual bool set_member(const ObjectURI &uri, const as_value &val, bool ifFound=false)
Set a member value.
Definition: as_object.cpp:583
test.uri
uri
Definition: test.py:12
gnash::getURI
ObjectURI getURI(const VM &vm, const std::string &str, bool lowerCaseHint=false)
Definition: VM.h:290
gnash::key::o
@ o
Definition: GnashKey.h:161
gnash::NSV::PROP_PROTOTYPE
@ PROP_PROTOTYPE
Definition: namedStrings.h:87
gnash::ObjectURI
A URI for describing as_objects.
Definition: ObjectURI.h:45
gnash::bitmapfilter_class_init
void bitmapfilter_class_init(as_object &where, const ObjectURI &uri)
Initialize the global BitmapFilter class.
Definition: BitmapFilter_as.cpp:56
gnash::as_function
ActionScript Function, either builtin or SWF-defined.
Definition: as_function.h:63
gnash::Global_as::Properties
void(* Properties)(as_object &)
Definition: Global_as.h:54