30 #include <proto/intuition.h> 31 #include <proto/graphics.h> 32 #include <proto/Picasso96API.h> 33 #include <proto/layers.h> 34 #include <proto/Picasso96API.h> 35 #include <proto/dos.h> 36 #include <proto/exec.h> 37 #include <proto/timer.h> 38 #include <exec/execbase.h> 39 #include <devices/timer.h> 41 #include <graphics/blitattr.h> 42 #include <graphics/composite.h> 46 #include <cairo-amigaos.h> 55 #elif defined(RENDERER_CAIRO) 57 #elif defined(RENDERER_OPENGL) 58 # include "aos4_ogl_glue.h" 66 static struct TimeVal os4timer_starttime;
76 virtual bool init(
int argc,
char **argv[]);
87 void resize(
int width,
int height);
95 std::vector< geometry::Range2d<int> > _drawbounds;
97 unsigned int _timeout;
99 struct MsgPort *_port;
101 struct TimeRequest *_timerio;
102 struct TimerIFace *ITimer;
105 static key::code os4_to_gnash_key(
struct IntuiMessage *imsg);
106 static int os4_to_gnash_modifier(
int state);
107 uint32 OS4_GetTicks();
108 void PrintMsg( CONST_STRPTR text );
109 void TimerExit(
void);
110 bool TimerInit(
void);
111 void TimerReset(uint32 microDelay);
112 void killAudioTask();
121 #elif defined(RENDERER_CAIRO) 123 #elif defined(RENDERER_OPENGL) virtual bool createWindow(const char *title, int width, int height, int xPosition=0, int yPosition=0)
Create and display our window.
Definition: aos4.cpp:619
virtual bool setupEvents()
Definition: aos4.cpp:677
void setInvalidatedRegions(const InvalidatedRanges &ranges)
Definition: aos4.cpp:653
virtual void setFullscreen()
Definition: aos4.cpp:683
Definition: aos4_cairo_glue.h:39
virtual struct GnashPrefs * ReadPrefs(void)
Definition: aos4.cpp:888
virtual bool init(int argc, char **argv[])
/ Initialise the gui and the associated renderer.
Definition: aos4.cpp:592
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
Definition: klash_part.cpp:329
virtual bool showMouse(bool show)
Sets whether the gui should show the system mouse pointer.
Definition: aos4.cpp:708
code
Definition: GnashKey.h:43
Parent class from which all GUI implementations will depend.
Definition: gui.h:88
void resize(int width, int height)
Definition: GnashKey.h:164
Definition: aos4_agg_glue.h:37
Definition: aos4_gnash_prefs.h:61
virtual bool run()
Start main rendering loop.
Definition: aos4.cpp:171
Definition: klash_part.cpp:329
virtual void renderBuffer()
Definition: aos4.cpp:659
Class to group together per-run and external resources for Gnash.
Definition: RunResources.h:53
AOS4Gui(unsigned long xid, float scale, bool loop, RunResources &r)
Definition: aos4.cpp:79
virtual void showAboutDialog()
Definition: aos4.cpp:867
virtual void setTimeout(unsigned int timeout)
Set the time in milliseconds after which the programme should exit.
Definition: aos4.cpp:586
void key_event(gnash::key::code key, int state, bool down)
Definition: aos4.cpp:822
virtual ~AOS4Gui()
Definition: aos4.cpp:87
virtual bool createMenu()
Definition: aos4.cpp:671
virtual void unsetFullscreen()
Definition: aos4.cpp:695
virtual void setInterval(unsigned int interval)
Set main loop delay in milliseconds.
Definition: aos4.cpp:665
virtual void disableCoreTrap()
Definition: aos4.cpp:647