48 void beforeRendering();
54 {
return createWindow(width, height); }
55 bool init(
int argc,
char **argv[]);
56 virtual void quitUI();
62 void setInterval(
unsigned int interval);
63 void setTimeout(
unsigned int timeout);
69 void setRenderHandlerSize(
int width,
int height);
86 std::unique_ptr<unsigned char[]> _offscreenbuf;
88 int _offscreenbuf_size;
90 unsigned int _timeout;
91 unsigned int _framecount;
92 unsigned int _samplesFetched;
95 std::string _pixelformat;
97 std::string _fileOutput;
98 unsigned int _fileOutputFPS;
99 unsigned int _fileOutputAdvance;
100 unsigned long _lastVideoFrameDump;
101 std::ofstream _fileStream;
102 void init_dumpfile();
104 std::shared_ptr<sound::sound_handler> _soundHandler;
108 unsigned long _sleepUS;
110 std::string _startTrigger;
void setFullscreen()
Definition: dump.h:65
A class used to virtualize time flow.
Definition: VirtualClock.h:33
bool createWindow(const char *, int width, int height, int, int)
Create and display our window.
Definition: dump.h:52
virtual VirtualClock & getClock()
Return the clock provided by this Gui.
Definition: dump.h:76
bool createMenu()
Definition: dump.h:49
bool createMenuBar()
Definition: dump.h:50
Sound mixer.
Definition: sound_handler.h:87
void render(int, int, int, int)
Definition: dump.h:59
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
gnash_cursor_type
Enumerates mouse cursor types.
Definition: gui.h:81
bool setupEvents()
Definition: dump.h:64
void setInvalidatedRegion(const SWFRect &)
Gives the GUI a hint which region of the stage should be redrawn.
Definition: dump.h:66
Definition: klash_part.cpp:329
void setCursor(gnash_cursor_type)
Sets the current mouse cursor for the Gui window.
Definition: dump.h:68
void setInvalidatedRegions(const InvalidatedRanges &)
Definition: dump.h:67
Parent class from which all GUI implementations will depend.
Definition: gui.h:88
Definition: GnashKey.h:164
Definition: klash_part.cpp:329
Class to group together per-run and external resources for Gnash.
Definition: RunResources.h:53
A manually advanced clock.
Definition: ManualClock.h:30
bool want_multiple_regions()
Definition: dump.h:71
void unsetFullscreen()
Definition: dump.h:70
Definition: Renderer_agg.h:29
#define DSOEXPORT
Definition: dsodefs.h:55
bool want_redraw()
Asks the GUI handler if the next frame should be redrawn completely.
Definition: dump.h:72
void render()
Definition: dump.h:58
Rectangle class, see swf defined rectangle record.
Definition: SWFRect.h:44
void renderBuffer()
Definition: dump.h:57