|
Gnash
0.8.10
|
#include <aquasup.h>
Public Member Functions | |
| AquaGui (unsigned long xid, float scale, bool loop, RunResources &r) | |
| virtual | ~AquaGui () |
| virtual bool | init (int argc, char **argv[]) |
| / Initialise the gui and the associated renderer. | |
| 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, int xPosition=0, int yPosition=0) |
| Create and display our window. | |
| virtual bool | run () |
| Start main rendering loop. | |
| virtual bool | createMenu () |
| virtual bool | setupEvents () |
| virtual void | renderBuffer () |
| virtual void | setTimeout (unsigned int timeout) |
| Set the time in milliseconds after which the programme should exit. | |
| gnash::AquaGui::AquaGui | ( | unsigned long | xid, |
| float | scale, | ||
| bool | loop, | ||
| RunResources & | r | ||
| ) |
| gnash::AquaGui::~AquaGui | ( | ) | [virtual] |
| bool gnash::AquaGui::createMenu | ( | ) | [virtual] |
Referenced by createWindow().
| bool gnash::AquaGui::createWindow | ( | const char * | title, |
| int | width, | ||
| int | height, | ||
| int | xPosition = 0, |
||
| int | yPosition = 0 |
||
| ) | [virtual] |
Create and display our window.
| title | The window title. |
| width | The desired window width in pixels. |
| height | The desired window height in pixels. |
| xPosition | The desired window X position from the top left corner. |
| yPosition | The desired window Y position from the top left corner. |
Implements gnash::Gui.
References gnash::Gui::_height, gnash::Gui::_width, assert, createMenu(), gnash::DoWindowClose(), height, gnash::myWindow, and width.
| bool gnash::AquaGui::init | ( | int | argc, |
| char ** | argv[] | ||
| ) | [virtual] |
/ Initialise the gui and the associated renderer.
| argc | The commandline argument count. |
| argv | The commandline arguments. |
Implements gnash::Gui.
References gnash::Gui::_renderer, gnash::Gui::_runResources, and gnash::RunResources::setRenderer().
| void gnash::AquaGui::renderBuffer | ( | ) | [virtual] |
Render the current buffer. For OpenGL, this means that the front and back buffers are swapped.
Implements gnash::Gui.
References gnash::myWindow.
| bool gnash::AquaGui::run | ( | ) | [virtual] |
Start main rendering loop.
Implements gnash::Gui.
References gnash::Gui::_interval, gnash::DoAdvanceMovie(), and gnash::myWindow.
| void gnash::AquaGui::setCursor | ( | gnash_cursor_type | newcursor | ) | [virtual] |
Sets the current mouse cursor for the Gui window.
Reimplemented from gnash::Gui.
References gnash::CURSOR_HAND, and gnash::CURSOR_INPUT.
| void gnash::AquaGui::setTimeout | ( | unsigned int | timeout | ) | [virtual] |
Set the time in milliseconds after which the programme should exit.
Implements gnash::Gui.
| bool gnash::AquaGui::setupEvents | ( | ) | [virtual] |
1.7.6.1