gnash::AquaGui Class Reference

#include <aquasup.h>

Inheritance diagram for gnash::AquaGui:

gnash::Gui

List of all members.

Public Member Functions

 AquaGui (unsigned long xid, float scale, bool loop, unsigned int depth)
virtual ~AquaGui ()
virtual bool init (int argc, char ***argv)
virtual void setCursor (gnash_cursor_type newcursor)
 Sets the current mouse cursor for the Gui window.
virtual bool createWindow (const char *title, int width, int height)
 Create and display our window.
virtual bool run ()
 Start main rendering loop.
virtual bool createMenu ()
 Create a menu and attach it to our window.
virtual bool setupEvents ()
 Register event handlers.
virtual void renderBuffer ()
 Render the current buffer.
virtual void setTimeout (unsigned int timeout)
 Set the time in milliseconds after which the programme should exit.


Constructor & Destructor Documentation

gnash::AquaGui::AquaGui ( unsigned long  xid,
float  scale,
bool  loop,
unsigned int  depth 
)

gnash::AquaGui::~AquaGui (  )  [virtual]


Member Function Documentation

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

void gnash::AquaGui::setCursor ( gnash_cursor_type  newcursor  )  [virtual]

Sets the current mouse cursor for the Gui window.

Reimplemented from gnash::Gui.

bool gnash::AquaGui::createWindow ( const char *  title,
int  width,
int  height 
) [virtual]

Create and display our window.

Parameters:
title The window title.
width The desired window width in pixels.
height The desired window height in pixels.

Implements gnash::Gui.

bool gnash::AquaGui::run (  )  [virtual]

Start main rendering loop.

Implements gnash::Gui.

bool gnash::AquaGui::createMenu (  )  [virtual]

Create a menu and attach it to our window.

Implements gnash::Gui.

bool gnash::AquaGui::setupEvents (  )  [virtual]

Register event handlers.

Implements gnash::Gui.

void gnash::AquaGui::renderBuffer (  )  [virtual]

Render the current buffer.

For OpenGL, this means that the front and back buffers are swapped.

Implements gnash::Gui.

void gnash::AquaGui::setTimeout ( unsigned int  timeout  )  [virtual]

Set the time in milliseconds after which the programme should exit.

Implements gnash::Gui.


The documentation for this class was generated from the following files:
Generated on Thu Mar 6 18:25:10 2008 for Gnash by  doxygen 1.5.4