Gnash 0.8.9
Typedefs | Enumerations | Functions | Variables

gnash::cpp Namespace Reference

Typedefs

typedef std::map
< boost::uint16_t,
boost::uint16_t > 
CharMap
typedef boost::function2< bool,
const as_value &, const
as_value & > 
as_cmp_fn

Enumerations

enum  SortFlags {
  SORT_CASE_INSENSITIVE = (1<<0), SORT_DESCENDING = (1<<1), SORT_UNIQUE = (1<<2), SORT_RETURN_INDEX = (1<<3),
  SORT_NUMERIC = (1<<4)
}
 

Sort flags.

More...

Functions

void menuSound (GtkMenuItem *menuitem, gpointer instance)
void menuFullscreen (GtkMenuItem *menuitem, gpointer instance)
void menuRestart (GtkMenuItem *menuitem, gpointer instance)
void menuQuit (GtkMenuItem *menuitem, gpointer instance)
void menuPlay (GtkMenuItem *menuitem, gpointer instance)
void menuPause (GtkMenuItem *menuitem, gpointer instance)
void menuStop (GtkMenuItem *menuitem, gpointer instance)
void menuAbout (GtkMenuItem *menuitem, gpointer instance)
void menuOpenFile (GtkMenuItem *menuitem, gpointer instance)
void menuPreferences (GtkMenuItem *menuitem, gpointer instance)
void menuMovieInfo (GtkMenuItem *menuitem, gpointer instance)
void menuRefreshView (GtkMenuItem *menuitem, gpointer instance)
void menuShowUpdatedRegions (GtkMenuItem *menuitem, gpointer instance)
void menuQualityLow (GtkMenuItem *menuitem, gpointer instance)
void menuQualityMedium (GtkMenuItem *menuitem, gpointer instance)
void menuQualityHigh (GtkMenuItem *menuitem, gpointer instance)
void menuQualityBest (GtkMenuItem *menuitem, gpointer instance)
gboolean fd_callback_handler (GIOChannel *source, GIOCondition condition, gpointer data)
void timeoutQuit (gpointer data)
gboolean realizeEvent (GtkWidget *widget, GdkEvent *event, gpointer data)
gboolean deleteEvent (GtkWidget *widget, GdkEvent *event, gpointer data)
gboolean configureEvent (GtkWidget *widget, GdkEventConfigure *event, gpointer data)
gboolean keyPressEvent (GtkWidget *widget, GdkEventKey *event, gpointer data)
gboolean keyReleaseEvent (GtkWidget *widget, GdkEventKey *event, gpointer data)
gboolean buttonPressEvent (GtkWidget *widget, GdkEventButton *event, gpointer data)
gboolean buttonReleaseEvent (GtkWidget *widget, GdkEventButton *event, gpointer data)
gboolean mouseWheelEvent (GtkWidget *widget, GdkEventScroll *event, gpointer data)
gboolean motionNotifyEvent (GtkWidget *widget, GdkEventMotion *event, gpointer data)
gboolean visibilityNotifyEvent (GtkWidget *widget, GdkEventVisibility *event, gpointer data)
gint popupHandler (GtkWidget *widget, GdkEvent *event)
gint popupHandlerAlt (GtkWidget *widget, GdkEvent *event)
void openFile (GtkWidget *widget, gpointer data)
void addPixmapDirectory (const gchar *directory)
void addGnashIcon (GtkWindow *window)
gchar * findPixmapFile (const gchar *filename)
GdkPixbuf * createPixbuf (const gchar *filename)
key::code gdk_to_gnash_key (guint key)
int gdk_to_gnash_modifier (int key)
std::string urlToDirectory (const std::string &path)
const CharMaplowerMap ()
const CharMapupperMap ()
bool getLocal (as_object &locals, const std::string &name, as_value &ret)
 Find a variable in the given as_object.
bool findLocal (as_object &locals, const std::string &varname, as_value &ret, as_object **retTarget)
bool deleteLocal (as_object &locals, const std::string &varname)
 Delete a local variable.
bool setLocal (as_object &locals, const std::string &varname, const as_value &val)
 Set a variable of the given object, if it exists.
as_objectgetElement (as_object *obj, const ObjectURI &uri)
as_value getVariableRaw (const as_environment &env, const std::string &varname, const as_environment::ScopeStack &scope, as_object **retTarget=0)
void setVariableRaw (const as_environment &env, const std::string &varname, const as_value &val, const as_environment::ScopeStack &scope)
void attachAccessibilityStaticInterface (as_object &o)
as_value accessibility_isActive (const fn_call &fn)
as_value accessibility_updateProperties (const fn_call &fn)
as_value accessibility_sendEvent (const fn_call &fn)
void attachArrayInterface (as_object &proto)
void attachArrayStatics (as_object &proto)
as_value join (as_object *array, const std::string &separator)
as_value array_new (const fn_call &fn)
as_value array_slice (const fn_call &fn)
as_value array_concat (const fn_call &fn)
as_value array_toString (const fn_call &fn)
as_value array_join (const fn_call &fn)
as_value array_reverse (const fn_call &fn)
as_value array_shift (const fn_call &fn)
as_value array_pop (const fn_call &fn)
as_value array_unshift (const fn_call &fn)
as_value array_push (const fn_call &fn)
as_value array_sortOn (const fn_call &fn)
as_value array_sort (const fn_call &fn)
as_value array_splice (const fn_call &fn)
ObjectURI getKey (const fn_call &fn, size_t i)
int isIndex (const std::string &name)
template<typename T >
void foreachArray (as_object &array, int start, int end, T &pred)
 Implementation of foreachArray that takes a start and end range.
bool int_lt_or_eq (int a)
bool int_gt (int a)
void getIndexedElements (as_object &array, std::vector< indexed_as_value > &v)
void pushIndices (as_object &o, const std::vector< indexed_as_value > &index)
void setArrayLength (as_object &o, const int size)
 Set the length property of an object only if it is a genuine array.
void resizeArray (as_object &o, const int size)
as_value asbroadcaster_addListener (const fn_call &fn)
as_value asbroadcaster_removeListener (const fn_call &fn)
as_value asbroadcaster_broadcastMessage (const fn_call &fn)
as_value asbroadcaster_initialize (const fn_call &fn)
as_value asbroadcaster_ctor (const fn_call &fn)
boost::int16_t truncateDouble (double d)
as_value boolean_tostring (const fn_call &fn)
as_value boolean_valueof (const fn_call &fn)
as_value boolean_ctor (const fn_call &fn)
void attachBooleanInterface (as_object &o)
as_value camera_new (const fn_call &fn)
as_value camera_get (const fn_call &fn)
as_value camera_setmode (const fn_call &fn)
as_value camera_setmotionlevel (const fn_call &fn)
as_value camera_setquality (const fn_call &fn)
as_value camera_setLoopback (const fn_call &fn)
as_value camera_setCursor (const fn_call &fn)
as_value camera_setKeyFrameInterval (const fn_call &fn)
as_value camera_activitylevel (const fn_call &fn)
as_value camera_bandwidth (const fn_call &fn)
as_value camera_currentFps (const fn_call &fn)
as_value camera_fps (const fn_call &fn)
as_value camera_height (const fn_call &fn)
as_value camera_index (const fn_call &fn)
as_value camera_motionLevel (const fn_call &fn)
as_value camera_motionTimeout (const fn_call &fn)
as_value camera_muted (const fn_call &fn)
as_value camera_name (const fn_call &fn)
as_value camera_names (const fn_call &fn)
as_value camera_quality (const fn_call &fn)
as_value camera_width (const fn_call &fn)
void attachCameraStaticInterface (as_object &o)
void attachCameraInterface (as_object &o)
as_value color_getrgb (const fn_call &fn)
as_value color_gettransform (const fn_call &fn)
as_value color_setrgb (const fn_call &fn)
as_value color_settransform (const fn_call &fn)
as_value color_ctor (const fn_call &fn)
void attachColorInterface (as_object &o)
void parseColorTransProp (as_object &obj, const ObjectURI &key, boost::int16_t &target, bool scale)
MovieClipgetTarget (as_object *obj, const fn_call &fn)
as_value contextmenu_hideBuiltInItems (const fn_call &fn)
as_value contextmenu_copy (const fn_call &fn)
as_value contextmenu_ctor (const fn_call &fn)
void attachContextMenuInterface (as_object &o)
void setBuiltInItems (as_object &o, bool setting)
as_value contextmenuitem_ctor (const fn_call &fn)
as_value contextmenuitem_copy (const fn_call &fn)
void attachContextMenuItemInterface (as_object &o)
void attachDateInterface (as_object &o)
void attachDateStaticInterface (as_object &o)
as_value date_new (const fn_call &fn)
as_value date_getTime (const fn_call &fn)
as_value date_setTime (const fn_call &fn)
as_value date_getTimezoneOffset (const fn_call &fn)
as_value date_getYear (const fn_call &fn)
as_value date_getFullYear (const fn_call &fn)
as_value date_getMonth (const fn_call &fn)
as_value date_getDate (const fn_call &fn)
as_value date_getDay (const fn_call &fn)
as_value date_getHours (const fn_call &fn)
as_value date_getMinutes (const fn_call &fn)
as_value date_getSeconds (const fn_call &fn)
as_value date_getMilliseconds (const fn_call &fn)
as_value date_getUTCFullYear (const fn_call &fn)
as_value date_getUTCYear (const fn_call &fn)
as_value date_getUTCMonth (const fn_call &fn)
as_value date_getutcdate (const fn_call &fn)
as_value date_getUTCDay (const fn_call &fn)
as_value date_getUTCHours (const fn_call &fn)
as_value date_getUTCMinutes (const fn_call &fn)
template<bool utc>
as_value date_setDate (const fn_call &fn)
template<bool utc>
as_value date_setfullyear (const fn_call &fn)
template<bool utc>
as_value date_setHours (const fn_call &fn)
template<bool utc>
as_value date_setMilliseconds (const fn_call &fn)
template<bool utc>
as_value date_setMinutes (const fn_call &fn)
template<bool utc>
as_value date_setmonth (const fn_call &fn)
template<bool utc>
as_value date_setSeconds (const fn_call &fn)
as_value date_setYear (const fn_call &fn)
as_value date_tostring (const fn_call &fn)
as_value date_UTC (const fn_call &fn)
void fillGnashTime (double time, GnashTime &gt)
double makeTimeValue (GnashTime &gt)
void localTime (double time, GnashTime &gt)
void universalTime (double time, GnashTime &gt)
int localTimeZoneOffset (double time)
double rogue_date_args (const fn_call &fn, unsigned maxargs)
template<typename T >
void truncateDouble (T &target, double value)
as_value error_toString (const fn_call &fn)
as_value error_ctor (const fn_call &fn)
void attachErrorInterface (as_object &o)
as_value bitmapdata_applyFilter (const fn_call &fn)
as_value bitmapdata_clone (const fn_call &fn)
as_value bitmapdata_colorTransform (const fn_call &fn)
as_value bitmapdata_copyChannel (const fn_call &fn)
as_value bitmapdata_copyPixels (const fn_call &fn)
as_value bitmapdata_dispose (const fn_call &fn)
as_value bitmapdata_draw (const fn_call &fn)
as_value bitmapdata_fillRect (const fn_call &fn)
as_value bitmapdata_floodFill (const fn_call &fn)
as_value bitmapdata_generateFilterRect (const fn_call &fn)
as_value bitmapdata_getColorBoundsRect (const fn_call &fn)
as_value bitmapdata_getPixel (const fn_call &fn)
as_value bitmapdata_getPixel32 (const fn_call &fn)
as_value bitmapdata_hitTest (const fn_call &fn)
as_value bitmapdata_merge (const fn_call &fn)
as_value bitmapdata_noise (const fn_call &fn)
as_value bitmapdata_paletteMap (const fn_call &fn)
as_value bitmapdata_perlinNoise (const fn_call &fn)
as_value bitmapdata_pixelDissolve (const fn_call &fn)
as_value bitmapdata_scroll (const fn_call &fn)
as_value bitmapdata_setPixel (const fn_call &fn)
as_value bitmapdata_setPixel32 (const fn_call &fn)
as_value bitmapdata_threshold (const fn_call &fn)
as_value bitmapdata_height (const fn_call &fn)
as_value bitmapdata_rectangle (const fn_call &fn)
as_value bitmapdata_transparent (const fn_call &fn)
as_value bitmapdata_width (const fn_call &fn)
as_value bitmapdata_loadBitmap (const fn_call &fn)
as_value bitmapdata_compare (const fn_call &fn)
as_value bitmapdata_ctor (const fn_call &fn)
void attachBitmapDataInterface (as_object &o)
void attachBitmapDataStaticProperties (as_object &o)
as_value get_flash_display_bitmap_data_constructor (const fn_call &fn)
BitmapData_as::iterator pixelAt (const BitmapData_as &bd, size_t x, size_t y)
as_value get_flash_external_package (const fn_call &fn)
as_value bevelfilter_new (const fn_call &fn)
as_value bevelfilter_distance (const fn_call &fn)
as_value bevelfilter_angle (const fn_call &fn)
as_value bevelfilter_highlightColor (const fn_call &fn)
as_value bevelfilter_highlightAlpha (const fn_call &fn)
as_value bevelfilter_shadowColor (const fn_call &fn)
as_value bevelfilter_shadowAlpha (const fn_call &fn)
as_value bevelfilter_blurX (const fn_call &fn)
as_value bevelfilter_blurY (const fn_call &fn)
as_value bevelfilter_strength (const fn_call &fn)
as_value bevelfilter_quality (const fn_call &fn)
as_value bevelfilter_type (const fn_call &fn)
as_value bevelfilter_knockout (const fn_call &fn)
void attachBevelFilterInterface (as_object &o)
as_value blurfilter_new (const fn_call &fn)
as_value blurfilter_blurX (const fn_call &fn)
as_value blurfilter_blurY (const fn_call &fn)
as_value blurfilter_quality (const fn_call &fn)
void attachBlurFilterInterface (as_object &o)
as_value colormatrixfilter_new (const fn_call &fn)
as_value colormatrixfilter_matrix (const fn_call &fn)
void attachColorMatrixFilterInterface (as_object &o)
as_value convolutionfilter_new (const fn_call &fn)
as_value convolutionfilter_matrixX (const fn_call &fn)
as_value convolutionfilter_matrixY (const fn_call &fn)
as_value convolutionfilter_matrix (const fn_call &fn)
as_value convolutionfilter_divisor (const fn_call &fn)
as_value convolutionfilter_bias (const fn_call &fn)
as_value convolutionfilter_preserveAlpha (const fn_call &fn)
as_value convolutionfilter_clamp (const fn_call &fn)
as_value convolutionfilter_color (const fn_call &fn)
as_value convolutionfilter_alpha (const fn_call &fn)
void attachConvolutionFilterInterface (as_object &o)
as_value displacementmapfilter_clone (const fn_call &fn)
as_value displacementmapfilter_alpha (const fn_call &fn)
as_value displacementmapfilter_color (const fn_call &fn)
as_value displacementmapfilter_componentX (const fn_call &fn)
as_value displacementmapfilter_componentY (const fn_call &fn)
as_value displacementmapfilter_mapBitmap (const fn_call &fn)
as_value displacementmapfilter_mapPoint (const fn_call &fn)
as_value displacementmapfilter_mode (const fn_call &fn)
as_value displacementmapfilter_scaleX (const fn_call &fn)
as_value displacementmapfilter_scaleY (const fn_call &fn)
as_value displacementmapfilter_ctor (const fn_call &fn)
void attachDisplacementMapFilterInterface (as_object &o)
as_value dropshadowfilter_new (const fn_call &fn)
as_value dropshadowfilter_distance (const fn_call &fn)
as_value dropshadowfilter_alpha (const fn_call &fn)
as_value dropshadowfilter_color (const fn_call &fn)
as_value dropshadowfilter_angle (const fn_call &fn)
as_value dropshadowfilter_blurX (const fn_call &fn)
as_value dropshadowfilter_blurY (const fn_call &fn)
as_value dropshadowfilter_strength (const fn_call &fn)
as_value dropshadowfilter_quality (const fn_call &fn)
as_value dropshadowfilter_knockout (const fn_call &fn)
as_value dropshadowfilter_hideObject (const fn_call &fn)
as_value dropshadowfilter_inner (const fn_call &fn)
void attachDropShadowFilterInterface (as_object &o)
as_value get_flash_filters_package (const fn_call &fn)
as_value get_flash_geom_package (const fn_call &fn)
as_value function_apply (const fn_call &fn)
as_value function_call (const fn_call &fn)
as_value function_ctor (const fn_call &fn)
void addVisibilityFlag (int &flags, int version)
bool generate_mouse_button_events (movie_root &mr, MouseButtonState &ms)
const DisplayObjectgetNearestObject (const DisplayObject *o)
as_objectgetBuiltinObject (movie_root &mr, const ObjectURI &cl)
void advanceLiveChar (MovieClip *ch)
MovieClip::TextFieldstextfieldVar (MovieClip::TextFieldIndex *t, const ObjectURI &name)
FileType getFileType (IOChannel &in)
 Get type of file looking at first bytes.
boost::intrusive_ptr
< SWFMovieDefinition
createSWFMovie (std::auto_ptr< IOChannel > in, const std::string &url, const RunResources &runResources, bool startLoaderThread)
boost::intrusive_ptr
< BitmapMovieDefinition
createBitmapMovie (std::auto_ptr< IOChannel > in, const std::string &url, const RunResources &r, FileType type)
boost::intrusive_ptr
< movie_definition
createNonLibraryMovie (const URL &url, const RunResources &runResources, const char *reset_url, bool startLoaderThread, const std::string *postdata)
float convert_float_little (const void *p)
double convert_double_wacky (const void *p)
boost::uint64_t fetchSystemTime ()
void attachPrototypeProperties (as_object &o)
void attachVideoInterface (as_object &o)
as_value video_ctor (const fn_call &fn)
as_value video_attach (const fn_call &fn)
as_value video_clear (const fn_call &fn)
as_value video_deblocking (const fn_call &fn)
as_value video_smoothing (const fn_call &fn)
as_value video_width (const fn_call &fn)
as_value video_height (const fn_call &fn)
void pattern_add_color_stops (const GradientFill &f, cairo_pattern_t *pattern, const SWFCxForm &cx)
void init_cairo_matrix (cairo_matrix_t *cairo_matrix, const SWFMatrix &gnash_matrix)

Variables

gnash::RcInitFilercfile = gnash::RcInitFile::getDefaultInstance()
bool _showMenuState

Typedef Documentation

typedef boost::function2<bool, const as_value&, const as_value&> gnash::cpp::as_cmp_fn
typedef std::map<boost::uint16_t, boost::uint16_t> gnash::cpp::CharMap

Enumeration Type Documentation

Sort flags.

Enumerator:
SORT_CASE_INSENSITIVE 

Case-insensitive (z precedes A)

SORT_DESCENDING 

Descending order (b precedes a)

SORT_UNIQUE 

If two or more elements in the array have identical sort fields, return 0 and don't modify the array. Otherwise proceed to sort the array.

SORT_RETURN_INDEX 

Don't modify the array, rather return a new array containing indexes into it in sorted order.

SORT_NUMERIC 

Numerical sort (9 precedes 10)


Function Documentation

as_value gnash::cpp::accessibility_isActive ( const fn_call &  fn)
as_value gnash::cpp::accessibility_sendEvent ( const fn_call &  fn)
as_value gnash::cpp::accessibility_updateProperties ( const fn_call &  fn)
void gnash::cpp::addGnashIcon ( GtkWindow *  window)
void gnash::cpp::addPixmapDirectory ( const gchar *  directory)
void gnash::cpp::addVisibilityFlag ( int &  flags,
int  version 
)
void gnash::cpp::advanceLiveChar ( MovieClip *  ch)
as_value gnash::cpp::array_concat ( const fn_call &  fn)
as_value gnash::cpp::array_join ( const fn_call &  fn)
as_value gnash::cpp::array_new ( const fn_call &  fn)
as_value gnash::cpp::array_pop ( const fn_call &  fn)
as_value gnash::cpp::array_push ( const fn_call &  fn)
as_value gnash::cpp::array_reverse ( const fn_call &  fn)
as_value gnash::cpp::array_shift ( const fn_call &  fn)
as_value gnash::cpp::array_slice ( const fn_call &  fn)
as_value gnash::cpp::array_sort ( const fn_call &  fn)
as_value gnash::cpp::array_sortOn ( const fn_call &  fn)
as_value gnash::cpp::array_splice ( const fn_call &  fn)
as_value gnash::cpp::array_toString ( const fn_call &  fn)
as_value gnash::cpp::array_unshift ( const fn_call &  fn)
as_value gnash::cpp::asbroadcaster_addListener ( const fn_call &  fn)
as_value gnash::cpp::asbroadcaster_broadcastMessage ( const fn_call &  fn)
as_value gnash::cpp::asbroadcaster_ctor ( const fn_call &  fn)
as_value gnash::cpp::asbroadcaster_initialize ( const fn_call &  fn)
as_value gnash::cpp::asbroadcaster_removeListener ( const fn_call &  fn)
void gnash::cpp::attachAccessibilityStaticInterface ( as_object &  o)
void gnash::cpp::attachArrayInterface ( as_object &  proto)

Referenced by gnash::array_class_init().

void gnash::cpp::attachArrayStatics ( as_object &  proto)

Referenced by gnash::array_class_init().

void gnash::cpp::attachBevelFilterInterface ( as_object &  o)
void gnash::cpp::attachBitmapDataInterface ( as_object &  o)
void gnash::cpp::attachBitmapDataStaticProperties ( as_object &  o)
void gnash::cpp::attachBlurFilterInterface ( as_object &  o)
void gnash::cpp::attachBooleanInterface ( as_object &  o)
void gnash::cpp::attachCameraInterface ( as_object &  o)
void gnash::cpp::attachCameraStaticInterface ( as_object &  o)
void gnash::cpp::attachColorInterface ( as_object &  o)

Referenced by gnash::color_class_init().

void gnash::cpp::attachColorMatrixFilterInterface ( as_object &  o)
void gnash::cpp::attachContextMenuInterface ( as_object &  o)
void gnash::cpp::attachContextMenuItemInterface ( as_object &  o)
void gnash::cpp::attachConvolutionFilterInterface ( as_object &  o)
void gnash::cpp::attachDateInterface ( as_object &  o)

Referenced by gnash::date_class_init().

void gnash::cpp::attachDateStaticInterface ( as_object &  o)

Referenced by gnash::date_class_init().

void gnash::cpp::attachDisplacementMapFilterInterface ( as_object &  o)
void gnash::cpp::attachDropShadowFilterInterface ( as_object &  o)
void gnash::cpp::attachErrorInterface ( as_object &  o)

Referenced by gnash::Error_class_init().

void gnash::cpp::attachPrototypeProperties ( as_object &  o)
void gnash::cpp::attachVideoInterface ( as_object &  o)

Referenced by gnash::video_class_init().

as_value gnash::cpp::bevelfilter_angle ( const fn_call &  fn)
as_value gnash::cpp::bevelfilter_blurX ( const fn_call &  fn)
as_value gnash::cpp::bevelfilter_blurY ( const fn_call &  fn)
as_value gnash::cpp::bevelfilter_distance ( const fn_call &  fn)
as_value gnash::cpp::bevelfilter_highlightAlpha ( const fn_call &  fn)
as_value gnash::cpp::bevelfilter_highlightColor ( const fn_call &  fn)
as_value gnash::cpp::bevelfilter_knockout ( const fn_call &  fn)
as_value gnash::cpp::bevelfilter_new ( const fn_call &  fn)
as_value gnash::cpp::bevelfilter_quality ( const fn_call &  fn)
as_value gnash::cpp::bevelfilter_shadowAlpha ( const fn_call &  fn)
as_value gnash::cpp::bevelfilter_shadowColor ( const fn_call &  fn)
as_value gnash::cpp::bevelfilter_strength ( const fn_call &  fn)
as_value gnash::cpp::bevelfilter_type ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_applyFilter ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_clone ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_colorTransform ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_compare ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_copyChannel ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_copyPixels ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_ctor ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_dispose ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_draw ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_fillRect ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_floodFill ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_generateFilterRect ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_getColorBoundsRect ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_getPixel ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_getPixel32 ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_height ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_hitTest ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_loadBitmap ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_merge ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_noise ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_paletteMap ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_perlinNoise ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_pixelDissolve ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_rectangle ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_scroll ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_setPixel ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_setPixel32 ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_threshold ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_transparent ( const fn_call &  fn)
as_value gnash::cpp::bitmapdata_width ( const fn_call &  fn)
as_value gnash::cpp::blurfilter_blurX ( const fn_call &  fn)
as_value gnash::cpp::blurfilter_blurY ( const fn_call &  fn)
as_value gnash::cpp::blurfilter_new ( const fn_call &  fn)
as_value gnash::cpp::blurfilter_quality ( const fn_call &  fn)
as_value gnash::cpp::boolean_ctor ( const fn_call &  fn)
as_value gnash::cpp::boolean_tostring ( const fn_call &  fn)
as_value gnash::cpp::boolean_valueof ( const fn_call &  fn)
gboolean gnash::cpp::buttonPressEvent ( GtkWidget *  widget,
GdkEventButton *  event,
gpointer  data 
)
gboolean gnash::cpp::buttonReleaseEvent ( GtkWidget *  widget,
GdkEventButton *  event,
gpointer  data 
)
as_value gnash::cpp::camera_activitylevel ( const fn_call &  fn)
as_value gnash::cpp::camera_bandwidth ( const fn_call &  fn)
as_value gnash::cpp::camera_currentFps ( const fn_call &  fn)
as_value gnash::cpp::camera_fps ( const fn_call &  fn)
as_value gnash::cpp::camera_get ( const fn_call &  fn)
as_value gnash::cpp::camera_height ( const fn_call &  fn)
as_value gnash::cpp::camera_index ( const fn_call &  fn)
as_value gnash::cpp::camera_motionLevel ( const fn_call &  fn)
as_value gnash::cpp::camera_motionTimeout ( const fn_call &  fn)
as_value gnash::cpp::camera_muted ( const fn_call &  fn)
as_value gnash::cpp::camera_name ( const fn_call &  fn)
as_value gnash::cpp::camera_names ( const fn_call &  fn)
as_value gnash::cpp::camera_new ( const fn_call &  fn)
as_value gnash::cpp::camera_quality ( const fn_call &  fn)
as_value gnash::cpp::camera_setCursor ( const fn_call &  fn)
as_value gnash::cpp::camera_setKeyFrameInterval ( const fn_call &  fn)
as_value gnash::cpp::camera_setLoopback ( const fn_call &  fn)
as_value gnash::cpp::camera_setmode ( const fn_call &  fn)
as_value gnash::cpp::camera_setmotionlevel ( const fn_call &  fn)
as_value gnash::cpp::camera_setquality ( const fn_call &  fn)
as_value gnash::cpp::camera_width ( const fn_call &  fn)
as_value gnash::cpp::color_ctor ( const fn_call &  fn)

Referenced by gnash::color_class_init().

as_value gnash::cpp::color_getrgb ( const fn_call &  fn)
as_value gnash::cpp::color_gettransform ( const fn_call &  fn)
as_value gnash::cpp::color_setrgb ( const fn_call &  fn)
as_value gnash::cpp::color_settransform ( const fn_call &  fn)
as_value gnash::cpp::colormatrixfilter_matrix ( const fn_call &  fn)
as_value gnash::cpp::colormatrixfilter_new ( const fn_call &  fn)
gboolean gnash::cpp::configureEvent ( GtkWidget *  widget,
GdkEventConfigure *  event,
gpointer  data 
)
as_value gnash::cpp::contextmenu_copy ( const fn_call &  fn)
as_value gnash::cpp::contextmenu_ctor ( const fn_call &  fn)
as_value gnash::cpp::contextmenu_hideBuiltInItems ( const fn_call &  fn)
as_value gnash::cpp::contextmenuitem_copy ( const fn_call &  fn)
as_value gnash::cpp::contextmenuitem_ctor ( const fn_call &  fn)
double gnash::cpp::convert_double_wacky ( const void *  p)
float gnash::cpp::convert_float_little ( const void *  p)
as_value gnash::cpp::convolutionfilter_alpha ( const fn_call &  fn)
as_value gnash::cpp::convolutionfilter_bias ( const fn_call &  fn)
as_value gnash::cpp::convolutionfilter_clamp ( const fn_call &  fn)
as_value gnash::cpp::convolutionfilter_color ( const fn_call &  fn)
as_value gnash::cpp::convolutionfilter_divisor ( const fn_call &  fn)
as_value gnash::cpp::convolutionfilter_matrix ( const fn_call &  fn)
as_value gnash::cpp::convolutionfilter_matrixX ( const fn_call &  fn)
as_value gnash::cpp::convolutionfilter_matrixY ( const fn_call &  fn)
as_value gnash::cpp::convolutionfilter_new ( const fn_call &  fn)
as_value gnash::cpp::convolutionfilter_preserveAlpha ( const fn_call &  fn)
boost::intrusive_ptr<BitmapMovieDefinition> gnash::cpp::createBitmapMovie ( std::auto_ptr< IOChannel >  in,
const std::string &  url,
const RunResources &  r,
FileType  type 
)
boost::intrusive_ptr<movie_definition> gnash::cpp::createNonLibraryMovie ( const URL &  url,
const RunResources &  runResources,
const char *  reset_url,
bool  startLoaderThread,
const std::string *  postdata 
)
GdkPixbuf* gnash::cpp::createPixbuf ( const gchar *  filename)
boost::intrusive_ptr<SWFMovieDefinition> gnash::cpp::createSWFMovie ( std::auto_ptr< IOChannel >  in,
const std::string &  url,
const RunResources &  runResources,
bool  startLoaderThread 
)
as_value gnash::cpp::date_getDate ( const fn_call &  fn)
as_value gnash::cpp::date_getDay ( const fn_call &  fn)
as_value gnash::cpp::date_getFullYear ( const fn_call &  fn)
as_value gnash::cpp::date_getHours ( const fn_call &  fn)
as_value gnash::cpp::date_getMilliseconds ( const fn_call &  fn)
as_value gnash::cpp::date_getMinutes ( const fn_call &  fn)
as_value gnash::cpp::date_getMonth ( const fn_call &  fn)
as_value gnash::cpp::date_getSeconds ( const fn_call &  fn)
as_value gnash::cpp::date_getTime ( const fn_call &  fn)
as_value gnash::cpp::date_getTimezoneOffset ( const fn_call &  fn)
as_value gnash::cpp::date_getutcdate ( const fn_call &  fn)
as_value gnash::cpp::date_getUTCDay ( const fn_call &  fn)
as_value gnash::cpp::date_getUTCFullYear ( const fn_call &  fn)
as_value gnash::cpp::date_getUTCHours ( const fn_call &  fn)
as_value gnash::cpp::date_getUTCMinutes ( const fn_call &  fn)
as_value gnash::cpp::date_getUTCMonth ( const fn_call &  fn)
as_value gnash::cpp::date_getUTCYear ( const fn_call &  fn)
as_value gnash::cpp::date_getYear ( const fn_call &  fn)
as_value gnash::cpp::date_new ( const fn_call &  fn)

Referenced by gnash::date_class_init().

template<bool utc>
as_value gnash::cpp::date_setDate ( const fn_call &  fn)
template<bool utc>
as_value gnash::cpp::date_setfullyear ( const fn_call &  fn)
template<bool utc>
as_value gnash::cpp::date_setHours ( const fn_call &  fn)
template<bool utc>
as_value gnash::cpp::date_setMilliseconds ( const fn_call &  fn)
template<bool utc>
as_value gnash::cpp::date_setMinutes ( const fn_call &  fn)
template<bool utc>
as_value gnash::cpp::date_setmonth ( const fn_call &  fn)
template<bool utc>
as_value gnash::cpp::date_setSeconds ( const fn_call &  fn)
as_value gnash::cpp::date_setTime ( const fn_call &  fn)
as_value gnash::cpp::date_setYear ( const fn_call &  fn)
as_value gnash::cpp::date_tostring ( const fn_call &  fn)
as_value gnash::cpp::date_UTC ( const fn_call &  fn)
gboolean gnash::cpp::deleteEvent ( GtkWidget *  widget,
GdkEvent *  event,
gpointer  data 
)
bool gnash::cpp::deleteLocal ( as_object &  locals,
const std::string &  varname 
)

Delete a local variable.

Parameters:
varnameName of the local variable
Returns:
true if the variable was found and deleted, false otherwise
as_value gnash::cpp::displacementmapfilter_alpha ( const fn_call &  fn)
as_value gnash::cpp::displacementmapfilter_clone ( const fn_call &  fn)
as_value gnash::cpp::displacementmapfilter_color ( const fn_call &  fn)
as_value gnash::cpp::displacementmapfilter_componentX ( const fn_call &  fn)
as_value gnash::cpp::displacementmapfilter_componentY ( const fn_call &  fn)
as_value gnash::cpp::displacementmapfilter_ctor ( const fn_call &  fn)
as_value gnash::cpp::displacementmapfilter_mapBitmap ( const fn_call &  fn)
as_value gnash::cpp::displacementmapfilter_mapPoint ( const fn_call &  fn)
as_value gnash::cpp::displacementmapfilter_mode ( const fn_call &  fn)
as_value gnash::cpp::displacementmapfilter_scaleX ( const fn_call &  fn)
as_value gnash::cpp::displacementmapfilter_scaleY ( const fn_call &  fn)
as_value gnash::cpp::dropshadowfilter_alpha ( const fn_call &  fn)
as_value gnash::cpp::dropshadowfilter_angle ( const fn_call &  fn)
as_value gnash::cpp::dropshadowfilter_blurX ( const fn_call &  fn)
as_value gnash::cpp::dropshadowfilter_blurY ( const fn_call &  fn)
as_value gnash::cpp::dropshadowfilter_color ( const fn_call &  fn)
as_value gnash::cpp::dropshadowfilter_distance ( const fn_call &  fn)
as_value gnash::cpp::dropshadowfilter_hideObject ( const fn_call &  fn)
as_value gnash::cpp::dropshadowfilter_inner ( const fn_call &  fn)
as_value gnash::cpp::dropshadowfilter_knockout ( const fn_call &  fn)
as_value gnash::cpp::dropshadowfilter_new ( const fn_call &  fn)
as_value gnash::cpp::dropshadowfilter_quality ( const fn_call &  fn)
as_value gnash::cpp::dropshadowfilter_strength ( const fn_call &  fn)
as_value gnash::cpp::error_ctor ( const fn_call &  fn)

Referenced by gnash::Error_class_init().

as_value gnash::cpp::error_toString ( const fn_call &  fn)
gboolean gnash::cpp::fd_callback_handler ( GIOChannel *  source,
GIOCondition  condition,
gpointer  data 
)
boost::uint64_t gnash::cpp::fetchSystemTime ( )
void gnash::cpp::fillGnashTime ( double  time,
GnashTime &  gt 
)
bool gnash::cpp::findLocal ( as_object &  locals,
const std::string &  varname,
as_value &  ret,
as_object **  retTarget 
)
gchar* gnash::cpp::findPixmapFile ( const gchar *  filename)
template<typename T >
void gnash::cpp::foreachArray ( as_object &  array,
int  start,
int  end,
T &  pred 
)

Implementation of foreachArray that takes a start and end range.

as_value gnash::cpp::function_apply ( const fn_call &  fn)
as_value gnash::cpp::function_call ( const fn_call &  fn)
as_value gnash::cpp::function_ctor ( const fn_call &  fn)
key::code gnash::cpp::gdk_to_gnash_key ( guint  key)
int gnash::cpp::gdk_to_gnash_modifier ( int  key)
bool gnash::cpp::generate_mouse_button_events ( movie_root &  mr,
MouseButtonState &  ms 
)
as_value gnash::cpp::get_flash_display_bitmap_data_constructor ( const fn_call &  fn)
as_value gnash::cpp::get_flash_external_package ( const fn_call &  fn)
as_value gnash::cpp::get_flash_filters_package ( const fn_call &  fn)
as_value gnash::cpp::get_flash_geom_package ( const fn_call &  fn)
as_object* gnash::cpp::getBuiltinObject ( movie_root &  mr,
const ObjectURI &  cl 
)
as_object* gnash::cpp::getElement ( as_object *  obj,
const ObjectURI &  uri 
)
FileType gnash::cpp::getFileType ( IOChannel &  in)

Get type of file looking at first bytes.

Referenced by gnash::MovieFactory::makeMovie().

void gnash::cpp::getIndexedElements ( as_object &  array,
std::vector< indexed_as_value > &  v 
)
ObjectURI gnash::cpp::getKey ( const fn_call &  fn,
size_t  i 
)
bool gnash::cpp::getLocal ( as_object &  locals,
const std::string &  name,
as_value &  ret 
)

Find a variable in the given as_object.

Parameters:
varnameName of the local variable
retIf a variable is found it's assigned to this parameter. Untouched if the variable is not found.
Returns:
true if the variable was found, false otherwise
const DisplayObject* gnash::cpp::getNearestObject ( const DisplayObject *  o)
MovieClip* gnash::cpp::getTarget ( as_object *  obj,
const fn_call &  fn 
) [inline]
as_value gnash::cpp::getVariableRaw ( const as_environment &  env,
const std::string &  varname,
const as_environment::ScopeStack &  scope,
as_object **  retTarget = 0 
)
Parameters:
retTargetIf not NULL, the pointer will be set to the actual object containing the found variable (if found).
void gnash::cpp::init_cairo_matrix ( cairo_matrix_t *  cairo_matrix,
const SWFMatrix &  gnash_matrix 
)
bool gnash::cpp::int_gt ( int  a) [inline]
bool gnash::cpp::int_lt_or_eq ( int  a) [inline]
int gnash::cpp::isIndex ( const std::string &  name)
as_value gnash::cpp::join ( as_object *  array,
const std::string &  separator 
)
gboolean gnash::cpp::keyPressEvent ( GtkWidget *  widget,
GdkEventKey *  event,
gpointer  data 
)
gboolean gnash::cpp::keyReleaseEvent ( GtkWidget *  widget,
GdkEventKey *  event,
gpointer  data 
)
void gnash::cpp::localTime ( double  time,
GnashTime &  gt 
)
int gnash::cpp::localTimeZoneOffset ( double  time)
const CharMap& gnash::cpp::lowerMap ( )
double gnash::cpp::makeTimeValue ( GnashTime &  gt)
void gnash::cpp::menuAbout ( GtkMenuItem *  menuitem,
gpointer  instance 
)
void gnash::cpp::menuFullscreen ( GtkMenuItem *  menuitem,
gpointer  instance 
)
void gnash::cpp::menuMovieInfo ( GtkMenuItem *  menuitem,
gpointer  instance 
)
void gnash::cpp::menuOpenFile ( GtkMenuItem *  menuitem,
gpointer  instance 
)
void gnash::cpp::menuPause ( GtkMenuItem *  menuitem,
gpointer  instance 
)
void gnash::cpp::menuPlay ( GtkMenuItem *  menuitem,
gpointer  instance 
)
void gnash::cpp::menuPreferences ( GtkMenuItem *  menuitem,
gpointer  instance 
)
void gnash::cpp::menuQualityBest ( GtkMenuItem *  menuitem,
gpointer  instance 
)
void gnash::cpp::menuQualityHigh ( GtkMenuItem *  menuitem,
gpointer  instance 
)
void gnash::cpp::menuQualityLow ( GtkMenuItem *  menuitem,
gpointer  instance 
)
void gnash::cpp::menuQualityMedium ( GtkMenuItem *  menuitem,
gpointer  instance 
)
void gnash::cpp::menuQuit ( GtkMenuItem *  menuitem,
gpointer  instance 
)
void gnash::cpp::menuRefreshView ( GtkMenuItem *  menuitem,
gpointer  instance 
)
void gnash::cpp::menuRestart ( GtkMenuItem *  menuitem,
gpointer  instance 
)
void gnash::cpp::menuShowUpdatedRegions ( GtkMenuItem *  menuitem,
gpointer  instance 
)
void gnash::cpp::menuSound ( GtkMenuItem *  menuitem,
gpointer  instance 
)
void gnash::cpp::menuStop ( GtkMenuItem *  menuitem,
gpointer  instance 
)
gboolean gnash::cpp::motionNotifyEvent ( GtkWidget *  widget,
GdkEventMotion *  event,
gpointer  data 
)
gboolean gnash::cpp::mouseWheelEvent ( GtkWidget *  widget,
GdkEventScroll *  event,
gpointer  data 
)
void gnash::cpp::openFile ( GtkWidget *  widget,
gpointer  data 
)
void gnash::cpp::parseColorTransProp ( as_object &  obj,
const ObjectURI &  key,
boost::int16_t &  target,
bool  scale 
) [inline]
void gnash::cpp::pattern_add_color_stops ( const GradientFill &  f,
cairo_pattern_t *  pattern,
const SWFCxForm &  cx 
)
BitmapData_as::iterator gnash::cpp::pixelAt ( const BitmapData_as &  bd,
size_t  x,
size_t  y 
)
gint gnash::cpp::popupHandler ( GtkWidget *  widget,
GdkEvent *  event 
)
gint gnash::cpp::popupHandlerAlt ( GtkWidget *  widget,
GdkEvent *  event 
)
void gnash::cpp::pushIndices ( as_object &  o,
const std::vector< indexed_as_value > &  index 
)
gboolean gnash::cpp::realizeEvent ( GtkWidget *  widget,
GdkEvent *  event,
gpointer  data 
)
void gnash::cpp::resizeArray ( as_object &  o,
const int  size 
)

Referenced by gnash::checkArrayLength().

double gnash::cpp::rogue_date_args ( const fn_call &  fn,
unsigned  maxargs 
)
void gnash::cpp::setArrayLength ( as_object &  o,
const int  size 
)

Set the length property of an object only if it is a genuine array.

Referenced by gnash::checkArrayLength().

void gnash::cpp::setBuiltInItems ( as_object &  o,
bool  setting 
)
bool gnash::cpp::setLocal ( as_object &  locals,
const std::string &  varname,
const as_value &  val 
)

Set a variable of the given object, if it exists.

Parameters:
varnameName of the local variable
valValue to assign to the variable
Returns:
true if the variable was found, false otherwise
void gnash::cpp::setVariableRaw ( const as_environment &  env,
const std::string &  varname,
const as_value &  val,
const as_environment::ScopeStack &  scope 
)
MovieClip::TextFields* gnash::cpp::textfieldVar ( MovieClip::TextFieldIndex *  t,
const ObjectURI &  name 
)
void gnash::cpp::timeoutQuit ( gpointer  data)
boost::int16_t gnash::cpp::truncateDouble ( double  d) [inline]
template<typename T >
void gnash::cpp::truncateDouble ( T &  target,
double  value 
)
void gnash::cpp::universalTime ( double  time,
GnashTime &  gt 
)
const CharMap& gnash::cpp::upperMap ( )
std::string gnash::cpp::urlToDirectory ( const std::string &  path)
as_value gnash::cpp::video_attach ( const fn_call &  fn)
as_value gnash::cpp::video_clear ( const fn_call &  fn)
as_value gnash::cpp::video_ctor ( const fn_call &  fn)
as_value gnash::cpp::video_deblocking ( const fn_call &  fn)
as_value gnash::cpp::video_height ( const fn_call &  fn)
as_value gnash::cpp::video_smoothing ( const fn_call &  fn)
as_value gnash::cpp::video_width ( const fn_call &  fn)
gboolean gnash::cpp::visibilityNotifyEvent ( GtkWidget *  widget,
GdkEventVisibility *  event,
gpointer  data 
)

Variable Documentation

gnash::RcInitFile& gnash::cpp::rcfile = gnash::RcInitFile::getDefaultInstance()