Gnash  0.8.11dev
Public Member Functions | List of all members
gnash::GtkCairoGlue Class Reference

#include <gtk_glue_cairo.h>

Inheritance diagram for gnash::GtkCairoGlue:
gnash::GtkGlue gnash::DeviceGlue

Public Member Functions

 GtkCairoGlue ()
 
 ~GtkCairoGlue ()
 
bool init (int argc, char ***argv)
 
bool needsDrawingArea ()
 
void prepDrawingArea (GtkWidget *drawing_area)
 
RenderercreateRenderHandler ()
 
void beforeRendering ()
 
void render ()
 
void render (int minx, int miny, int maxx, int maxy)
 
void configure (GtkWidget *const widget, GdkEventConfigure *const event)
 
- Public Member Functions inherited from gnash::GtkGlue
 GtkGlue ()
 
virtual ~GtkGlue ()
 
virtual bool init (int argc, char **argv[])=0
 
virtual void setRenderHandlerSize (int, int)
 
virtual void render (GdkRegion *const region)
 
virtual void beforeRendering (movie_root *)
 
- Public Member Functions inherited from gnash::DeviceGlue
 DeviceGlue ()
 
 ~DeviceGlue ()
 
std::unique_ptr< renderer::GnashDevice::dtype_t[]> probeDevices ()
 
void resetDevice ()
 Reset the the current device, which disables output. More...
 
renderer::GnashDevice::dtype_t getDevice ()
 Get the current active device type. More...
 
void setDevice (renderer::GnashDevice::dtype_t dtype)
 
bool initDevice (int argc, char *argv[])
 
bool attachWindow (renderer::GnashDevice::native_window_t window)
 
bool bindClient (renderer::GnashDevice::rtype_t rtype)
 
size_t getWidth ()
 
size_t getHeight ()
 
size_t getDepth ()
 Depth of the display. More...
 
bool swapBuffers ()
 Make the current buffer the active one. More...
 

Additional Inherited Members

- Protected Attributes inherited from gnash::GtkGlue
GtkWidget * _drawing_area
 
bool _needs_area
 
- Protected Attributes inherited from gnash::DeviceGlue
std::unique_ptr< renderer::GnashDevice_device
 

Constructor & Destructor Documentation

§ GtkCairoGlue()

gnash::GtkCairoGlue::GtkCairoGlue ( )

§ ~GtkCairoGlue()

gnash::GtkCairoGlue::~GtkCairoGlue ( )

Member Function Documentation

§ beforeRendering()

void gnash::GtkCairoGlue::beforeRendering ( )

Referenced by needsDrawingArea().

§ configure()

void gnash::GtkCairoGlue::configure ( GtkWidget *const  widget,
GdkEventConfigure *const  event 
)
virtual

Implements gnash::GtkGlue.

References gnash::GtkGlue::_drawing_area.

Referenced by needsDrawingArea().

§ createRenderHandler()

Renderer * gnash::GtkCairoGlue::createRenderHandler ( )
virtual

§ init()

bool gnash::GtkCairoGlue::init ( int  argc,
char ***  argv 
)

§ needsDrawingArea()

bool gnash::GtkCairoGlue::needsDrawingArea ( )
inlinevirtual

§ prepDrawingArea()

void gnash::GtkCairoGlue::prepDrawingArea ( GtkWidget *  drawing_area)
virtual

Implements gnash::GtkGlue.

References gnash::GtkGlue::_drawing_area.

Referenced by needsDrawingArea().

§ render() [1/2]

void gnash::GtkCairoGlue::render ( )
virtual

Implements gnash::GtkGlue.

Referenced by needsDrawingArea(), and render().

§ render() [2/2]

void gnash::GtkCairoGlue::render ( int  minx,
int  miny,
int  maxx,
int  maxy 
)
virtual

Reimplemented from gnash::GtkGlue.

References gnash::GtkGlue::_drawing_area, height, render(), width, x, and y.


The documentation for this class was generated from the following files: