Namespaces | Defines | Functions | Variables

fb.cpp File Reference

#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <fcntl.h>
#include <cerrno>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <linux/fb.h>
#include <linux/kd.h>
#include <linux/vt.h>
#include "GnashSystemIOHeaders.h"
#include <csignal>
#include <cstdlib>
#include "gnash.h"
#include "gui.h"
#include "fbsup.h"
#include "log.h"
#include "movie_root.h"
#include "RunResources.h"
#include "Renderer.h"
#include "Renderer_agg.h"
#include "GnashSleep.h"
#include <linux/input.h>
Include dependency graph for fb.cpp:

Namespaces

namespace  gnash
 

Anonymous namespace for callbacks, local functions, event handlers etc.


Defines

#define fatal_error(args...)   do { fprintf(stderr, args); putc('\n', stderr); } while(0)
#define TO_16BIT(x)   (x | (x<<8))

Functions

void gnash::terminate_signal (int)
 Called on CTRL-C and alike.

Variables

int gnash::terminate_request = false

Define Documentation

#define fatal_error (   args...  )     do { fprintf(stderr, args); putc('\n', stderr); } while(0)

10-4-2008 N. Coesel Added support for tslib. Tslib is a library which allows to create a stack / cascade of filters to filter and scale touch-screen output. The source doesn't come with much documentation, but writing your own filter based on an existing filter is really easy. Tslib can deal with old style H3600 style touchscreens and the newer event interface. See http://tslib.berlios.de/ to get the source.

The check_tslib() routine assumes filtering for movement and presses is properly setup. Scaling is supposed to be performed by tslib or the underlying touchscreen driver.

Referenced by gnash::FBGui::init().

#define TO_16BIT (   x  )     (x | (x<<8))