26 #include <boost/scoped_array.hpp>
27 #include <boost/shared_ptr.hpp>
28 #include <boost/cstdint.hpp>
37 #define PIXELFORMAT_LUT8
40 # define MOUSE_DEVICE "/dev/input/mice"
46 #define MOUSE_DEVICE "/dev/usb/tkpanel0"
105 virtual bool init(
int argc,
char ***argv);
115 int xPosition = 0,
int yPosition = 0);
180 char* find_accessible_tty(
int no);
181 char* find_accessible_tty(
const char* format,
int no);
184 bool disable_terminal();
187 bool enable_terminal();
199 boost::shared_ptr<FBGlue> _glue;
202 std::vector<boost::shared_ptr<InputDevice> > _inputs;
204 boost::shared_ptr<Renderer> _renderer;
205 #ifdef HAVE_LINUX_UINPUT_H
213 #endif // end of GNASH_FBSUP_H
virtual ~FBGui()
Definition: fb.cpp:173
bool run()
Start main rendering loop.
Definition: fb.cpp:373
bool createMenu()
Definition: fb.cpp:449
void setInvalidatedRegion(const SWFRect &bounds)
Gives the GUI a hint which region of the stage should be redrawn.
Definition: fb.cpp:505
double getPixelAspectRatio() const
Definition: fbsup.h:154
bool showMouse(bool show)
Sets whether the gui should show the system mouse pointer.
Definition: fb.cpp:496
void setInvalidatedRegions(const InvalidatedRanges &ranges)
Definition: fb.cpp:513
void showMenu(bool show)
Sets whether the menus should be shown (for fscommand)
Definition: fb.cpp:490
void unsetFullscreen()
Definition: fb.cpp:484
int getScreenResX()
Definition: fbsup.h:155
void setInterval(unsigned int interval)
Set main loop delay in milliseconds.
Definition: fb.cpp:463
void renderBuffer()
Definition: fb.cpp:430
Definition: klash_part.cpp:329
std::string getScreenColor() const
Get the screen color type.
Definition: fbsup.h:158
Parent class from which all GUI implementations will depend.
Definition: gui.h:87
Definition: GnashKey.h:164
double getScreenDPI() const
Definition: fbsup.h:157
Definition: klash_part.cpp:329
int getScreenResY()
Definition: fbsup.h:156
Class to group together per-run and external resources for Gnash.
Definition: RunResources.h:43
bool resize_view(int width, int height)
Definition: fb.cpp:362
virtual bool init(int argc, char ***argv)
Initialize the framebuffer.
Definition: fb.cpp:185
bool createWindow(const char *title, int width, int height, int xPosition=0, int yPosition=0)
Create and display our window.
Definition: fb.cpp:438
void setTimeout(unsigned int timeout)
Set the time in milliseconds after which the programme should exit.
Definition: fb.cpp:469
bool setupEvents()
Definition: fb.cpp:456
bool want_multiple_regions()
Definition: fbsup.h:150
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:478
void checkForData()
Definition: fb.cpp:739