35 #define PIXELFORMAT_LUT8 38 # define MOUSE_DEVICE "/dev/input/mice" 44 #define MOUSE_DEVICE "/dev/usb/tkpanel0" 103 virtual bool init(
int argc,
char ***argv);
113 int xPosition = 0,
int yPosition = 0);
181 char* find_accessible_tty(
int no);
182 char* find_accessible_tty(
const char* format,
int no);
185 bool disable_terminal();
188 bool enable_terminal();
199 std::shared_ptr<FBGlue> _glue;
202 std::vector<std::shared_ptr<InputDevice> > _inputs;
204 std::shared_ptr<Renderer> _renderer;
205 #ifdef HAVE_LINUX_UINPUT_H 213 #endif // end of GNASH_FBSUP_H virtual ~FBGui()
Definition: fb.cpp:172
double getPixelAspectRatio() const
Definition: fbsup.h:155
bool run()
Start main rendering loop.
Definition: fb.cpp:368
bool createMenu()
Definition: fb.cpp:444
void setInvalidatedRegion(const SWFRect &bounds)
Gives the GUI a hint which region of the stage should be redrawn.
Definition: fb.cpp:500
void quitUI()
Stop main rendering loop.
Definition: fb.cpp:516
bool showMouse(bool show)
Sets whether the gui should show the system mouse pointer.
Definition: fb.cpp:491
void setInvalidatedRegions(const InvalidatedRanges &ranges)
Definition: fb.cpp:508
void showMenu(bool show)
Sets whether the menus should be shown (for fscommand)
Definition: fb.cpp:485
void unsetFullscreen()
Definition: fb.cpp:479
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
int getScreenResX()
Definition: fbsup.h:156
void setInterval(unsigned int interval)
Set main loop delay in milliseconds.
Definition: fb.cpp:458
void renderBuffer()
Definition: fb.cpp:425
Definition: klash_part.cpp:329
double getScreenDPI() const
Definition: fbsup.h:158
Parent class from which all GUI implementations will depend.
Definition: gui.h:88
Definition: GnashKey.h:164
Definition: klash_part.cpp:329
int getScreenResY()
Definition: fbsup.h:157
Class to group together per-run and external resources for Gnash.
Definition: RunResources.h:53
bool resize_view(int width, int height)
Definition: fb.cpp:357
std::string getScreenColor() const
Get the screen color type.
Definition: fbsup.h:159
virtual bool init(int argc, char ***argv)
Initialize the framebuffer.
Definition: fb.cpp:180
bool createWindow(const char *title, int width, int height, int xPosition=0, int yPosition=0)
Create and display our window.
Definition: fb.cpp:433
void setTimeout(unsigned int timeout)
Set the time in milliseconds after which the programme should exit.
Definition: fb.cpp:464
bool setupEvents()
Definition: fb.cpp:451
bool want_multiple_regions()
Definition: fbsup.h:151
Rectangle class, see swf defined rectangle record.
Definition: SWFRect.h:44
FBGui(unsigned long xid, float scale, bool loop, RunResources &r)
Definition: fb.cpp:154
void setFullscreen()
Definition: fb.cpp:473
void checkForData()
Definition: fb.cpp:735