Go to the documentation of this file.
30 #include "SDL_thread.h"
34 #elif defined(RENDERER_CAIRO)
36 #elif defined(RENDERER_OPENGL)
53 virtual bool init(
int argc,
char **argv[]);
55 int xPosition = 0,
int yPosition = 0);
64 void key_event(SDL_KeyboardEvent * key,
bool down);
70 unsigned int _timeout;
79 static key::code sdl_to_gnash_key(SDL_KeyboardEvent* key);
80 static int sdl_to_gnash_modifier(
int state);
84 #elif defined(RENDERER_CAIRO)
86 #elif defined(RENDERER_OPENGL)
SDLGui(unsigned long xid, float scale, bool loop, RunResources &r)
Definition: sdl.cpp:37
@ height
Definition: klash_part.cpp:329
virtual void disableCoreTrap()
Definition: sdl.cpp:200
virtual bool run()
Start main rendering loop.
Definition: sdl.cpp:49
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
Parent class from which all GUI implementations will depend.
Definition: gui.h:88
Definition: sdl_agg_glue.h:29
virtual bool createMenu()
Definition: sdl.cpp:225
virtual ~SDLGui()
Definition: sdl.cpp:44
virtual bool createWindow(const char *title, int width, int height, int xPosition=0, int yPosition=0)
Create and display our window.
Definition: sdl.cpp:174
@ r
Definition: GnashKey.h:164
code
Definition: GnashKey.h:44
void key_event(SDL_KeyboardEvent *key, bool down)
Definition: sdl.cpp:294
void setInvalidatedRegions(const InvalidatedRanges &ranges)
Definition: sdl.cpp:207
Class to group together per-run and external resources for Gnash.
Definition: RunResources.h:54
virtual bool setupEvents()
Definition: sdl.cpp:231
virtual bool init(int argc, char **argv[])
/ Initialise the gui and the associated renderer.
Definition: sdl.cpp:141
virtual void setInterval(unsigned int interval)
Set main loop delay in milliseconds.
Definition: sdl.cpp:219
Definition: sdl_ogl_glue.h:26
virtual void renderBuffer()
Definition: sdl.cpp:213
virtual void setTimeout(unsigned int timeout)
Set the time in milliseconds after which the programme should exit.
Definition: sdl.cpp:135
@ width
Definition: klash_part.cpp:329
Definition: sdl_cairo_glue.h:33