Gnash  0.8.11dev
Public Member Functions | Protected Attributes | List of all members
gnash::GtkGlue Class Referenceabstract

#include <gtk_glue.h>

Inheritance diagram for gnash::GtkGlue:
gnash::DeviceGlue gnash::GtkAggGlue gnash::GtkAggVaapiGlue gnash::GtkCairoGlue gnash::GtkGlExtGlue gnash::gui::GtkOvgGlue

Public Member Functions

 GtkGlue ()
 
virtual ~GtkGlue ()
 
virtual bool init (int argc, char **argv[])=0
 
virtual void prepDrawingArea (GtkWidget *drawing_area)=0
 
virtual RenderercreateRenderHandler ()=0
 
virtual void setRenderHandlerSize (int, int)
 
virtual void render ()=0
 
virtual void render (int, int, int, int)
 
virtual void render (GdkRegion *const region)
 
virtual void configure (GtkWidget *const widget, GdkEventConfigure *const event)=0
 
virtual void beforeRendering (movie_root *)
 
virtual bool needsDrawingArea ()
 
- 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...
 

Protected Attributes

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

Constructor & Destructor Documentation

§ GtkGlue()

gnash::GtkGlue::GtkGlue ( )
inline

§ ~GtkGlue()

virtual gnash::GtkGlue::~GtkGlue ( )
inlinevirtual

Member Function Documentation

§ beforeRendering()

virtual void gnash::GtkGlue::beforeRendering ( movie_root )
inlinevirtual

Reimplemented in gnash::GtkAggVaapiGlue, and gnash::GtkAggGlue.

§ configure()

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

§ createRenderHandler()

virtual Renderer* gnash::GtkGlue::createRenderHandler ( )
pure virtual

§ init()

virtual bool gnash::GtkGlue::init ( int  argc,
char **  argv[] 
)
pure virtual

§ needsDrawingArea()

virtual bool gnash::GtkGlue::needsDrawingArea ( )
inlinevirtual

Reimplemented in gnash::GtkAggGlue, and gnash::GtkCairoGlue.

References _drawing_area, and _needs_area.

§ prepDrawingArea()

virtual void gnash::GtkGlue::prepDrawingArea ( GtkWidget *  drawing_area)
pure virtual

§ render() [1/3]

virtual void gnash::GtkGlue::render ( )
pure virtual

§ render() [2/3]

virtual void gnash::GtkGlue::render ( int  ,
int  ,
int  ,
int   
)
inlinevirtual

§ render() [3/3]

virtual void gnash::GtkGlue::render ( GdkRegion *const  region)
inlinevirtual

§ setRenderHandlerSize()

virtual void gnash::GtkGlue::setRenderHandlerSize ( int  ,
int   
)
inlinevirtual

Member Data Documentation

§ _drawing_area

GtkWidget* gnash::GtkGlue::_drawing_area
protected

§ _needs_area

bool gnash::GtkGlue::_needs_area
protected

Referenced by needsDrawingArea().


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