Public Member Functions |
| | NullGui (bool do_loop, RunResources &r) |
| | ~NullGui () |
| void | setInterval (unsigned int interval) |
| | Set main loop delay in milliseconds.
|
| void | setTimeout (unsigned int to) |
| | Set the time in milliseconds after which the programme should exit.
|
| bool | init (int, char ***) |
| bool | createWindow (const char *, int, int, int, int) |
| | Create and display our window.
|
| bool | run () |
| | Start main rendering loop.
|
| bool | createMenu () |
| bool | setupEvents () |
| void | renderBuffer () |
| void | quitUI () |
| | End main rendering loop calling GUI-specific exit functions.
|
| virtual | ~Gui () |
| virtual bool | init (int argc, char **argv[])=0 |
| | / Initialise the gui and the associated renderer.
|
| virtual VirtualClock & | getClock () |
| | Return the clock provided by this Gui.
|
| void | setScreenShotter (std::auto_ptr< ScreenShotter > ss) |
| virtual void | resizeWindow (int width, int height) |
| void | quit () |
| | Always called on exit.
|
| virtual void | setInvalidatedRegion (const SWFRect &bounds) |
| | Gives the GUI a hint which region of the stage should be redrawn.
|
| virtual void | setInvalidatedRegions (const InvalidatedRanges &ranges) |
| virtual void | beforeRendering () |
| virtual bool | want_multiple_regions () |
| virtual bool | want_redraw () |
| | Asks the GUI handler if the next frame should be redrawn completely.
|
| virtual void | setCursor (gnash_cursor_type newcursor) |
| | Sets the current mouse cursor for the Gui window.
|
| virtual void | setClipboard (const std::string ©) |
| virtual double | getPixelAspectRatio () const |
| virtual std::pair< int, int > | screenResolution () const |
| virtual double | getScreenDPI () const |
| virtual std::string | getScreenColor () const |
| | Get the screen color type.
|
| bool | loops () const |
| bool | isFullscreen () const |
| void | notifyMouseMove (int x, int y) |
| | Mouse notification callback to be called when the mouse is moved.
|
| void | notifyMouseClick (bool mouse_pressed) |
| | Mouse notification callback to be called when the mouse is clicked.
|
| void | notifyMouseWheel (int delta) |
| | Send a mouse wheel event to the stage.
|
| void | notify_key_event (gnash::key::code k, int modifier, bool pressed) |
| | Key event notification to be called when a key is pressed or depressed.
|
| void | resize_view (int width, int height) |
| | Resize the client area view and the window accordingly.
|
| void | updateStageMatrix () |
| bool | advanceMovie (bool doDisplay=true) |
| | Give movie an heart-beat.
|
| void | refreshView () |
| virtual void | setFullscreen () |
| virtual void | unsetFullscreen () |
| virtual void | hideMenu () |
| virtual bool | showMouse (bool show) |
| | Sets whether the gui should show the system mouse pointer.
|
| virtual void | showMenu (bool show) |
| | Sets whether the menus should be shown (for fscommand)
|
| virtual void | allowScale (bool allow) |
| | Sets whether scaling should be allowed (for fscommand)
|
| void | toggleFullscreen () |
| void | stop () |
| | Put the application in "stop" mode.
|
| void | play () |
| | Put the application in "play" mode.
|
| void | pause () |
| | Toggle between "stop" and "play" mode.
|
| void | start () |
| | Start the movie.
|
| bool | isStopped () const |
| | See stop(), play() and pause()
|
| bool | isPlugin () const |
| | Whether gnash is is running as a plugin.
|
| void | takeScreenShot () |
| | Take a screenshot now!
|
| void | setMaxAdvances (unsigned long ul) |
| | Set the maximum number of frame advances before Gnash exits.
|
| void | showUpdatedRegions (bool x) |
| bool | showUpdatedRegions () const |
| void | restart () |
| void | setQuality (Quality q) |
| | Set rendering quality, if not locked by RC file..
|
| Quality | getQuality () const |
| | Get current rendering quality.
|
| void | toggleSound () |
| void | addFlashVars (VariableMap &vars) |
| | Add variables to set into instances of the top-level movie definition.
|
| void | setMovieDefinition (movie_definition *md) |
| | Set the definition of top-level movie.
|
| void | setStage (movie_root *stage) |
| | Set the stage to advance/display.
|
| void | setAudioDump (const std::string &fname) |
| | Set the name of a file to dump audio to.
|
| movie_root * | getStage () |
| | The root movie, or "Stage".
|
| virtual void | error (const std::string &) |
| | Handle error message from the core.
|
| virtual bool | yesno (const std::string &question) |
| | Prompt user with a question she can answer with yes/no.
|
| float | getXScale () const |
| | Width of a window pixel, in stage pseudopixel units.
|
| float | getYScale () const |
| | Height of a window pixel, in stage pseudopixel units.
|
| float | getFPS () const |
| | Height of a window pixel, in stage pseudopixel units.
|
Null GUI, used when rendering is disabled.