Gnash  0.8.10
Classes | Namespaces | Defines | Typedefs | Functions
gtk_canvas.h File Reference
#include <string>
#include <gtk/gtkdrawingarea.h>
#include <boost/shared_ptr.hpp>

Go to the source code of this file.

Classes

struct  _GnashCanvasClass

Namespaces

namespace  gnash
 

Anonymous namespace for callbacks, local functions, event handlers etc.


Defines

#define GNASH_TYPE_CANVAS   (gnash_canvas_get_type())
#define GNASH_CANVAS(object)   (G_TYPE_CHECK_INSTANCE_CAST((object), GNASH_TYPE_CANVAS, GnashCanvas))
#define GNASH_CANVAS_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass), GNASH_TYPE_CANVAS, GnashCanvasClass))
#define GNASH_IS_CANVAS(object)   (G_TYPE_CHECK_INSTANCE_TYPE((object), GNASH_TYPE_CANVAS))
#define GNASH_IS_CANVAS_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass), GNASH_TYPE_CANVAS))
#define GNASH_CANVAS_GET_CLASS(object)   (G_TYPE_INSTANCE_GET_CLASS((object), GNASH_TYPE_CANVAS, GnashCanvasClass))

Typedefs

typedef typedefG_BEGIN_DECLS
struct _GnashCanvas 
GnashCanvas
typedef struct _GnashCanvasClass GnashCanvasClass

Functions

GType gnash_canvas_get_type ()
GtkWidget * gnash_canvas_new ()
 allocate memory for canvas to draw in
void gnash_canvas_setup (GnashCanvas *canvas, std::string &hwaccel, std::string &renderer, int argc, char **argv[])
 Select renderer and hwaccel, prep canvas for drawing.
void gnash_canvas_before_rendering (GnashCanvas *canvas, gnash::movie_root *stage)
boost::shared_ptr
< gnash::Renderer
gnash_canvas_get_renderer (GnashCanvas *canvas)
 Get the Renderer for this canvas.

Define Documentation

#define GNASH_CANVAS (   object)    (G_TYPE_CHECK_INSTANCE_CAST((object), GNASH_TYPE_CANVAS, GnashCanvas))
#define GNASH_CANVAS_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST((klass), GNASH_TYPE_CANVAS, GnashCanvasClass))
#define GNASH_CANVAS_GET_CLASS (   object)    (G_TYPE_INSTANCE_GET_CLASS((object), GNASH_TYPE_CANVAS, GnashCanvasClass))
#define GNASH_IS_CANVAS (   object)    (G_TYPE_CHECK_INSTANCE_TYPE((object), GNASH_TYPE_CANVAS))
#define GNASH_IS_CANVAS_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE((klass), GNASH_TYPE_CANVAS))
#define GNASH_TYPE_CANVAS   (gnash_canvas_get_type())

Referenced by gnash_canvas_new().


Typedef Documentation

typedef typedefG_BEGIN_DECLS struct _GnashCanvas GnashCanvas

Function Documentation

void gnash_canvas_before_rendering ( GnashCanvas canvas,
gnash::movie_root stage 
)
boost::shared_ptr<gnash::Renderer> gnash_canvas_get_renderer ( GnashCanvas canvas)

Get the Renderer for this canvas.

Referenced by gnash::GtkGui::init().

GType gnash_canvas_get_type ( )
GtkWidget* gnash_canvas_new ( )

allocate memory for canvas to draw in

References GNASH_TYPE_CANVAS.

Referenced by gnash::GtkGui::init().

void gnash_canvas_setup ( GnashCanvas canvas,
std::string &  hwaccel,
std::string &  renderer,
int  argc,
char **  argv[] 
)

Select renderer and hwaccel, prep canvas for drawing.

References gnash::vaapi_set_is_enabled().

Referenced by gnash::GtkGui::init().