VSF Documented
|
Go to the source code of this file.
Data Structures | |
struct | event_t |
struct | window_manager_t |
struct | window_t |
Enumerations | |
enum | { MOUSE_BUTTON_LEFT = (0x1 << 0) , MOUSE_BUTTON_RIGHT = (0x1 << 1) , MOUSE_BUTTON_MIDDLE = (0x1 << 2) } |
enum | event_type_t { EVENT_TYPE_KEY_DOWN , EVENT_TYPE_KEY_UP , EVENT_TYPE_MOUSE_DOWN , EVENT_TYPE_MOUSE_MOVE , EVENT_TYPE_MOUSE_UP , EVENT_TYPE_MOUSE_WHEEL , EVENT_TYPE_TOUCH_BEGIN , EVENT_TYPE_TOUCH_MOVE , EVENT_TYPE_TOUCH_END } |
Functions | |
struct window_t * | window_alloc (const char *fb, const char *input, void *data) |
void | window_free (struct window_t *w) |
int | window_is_active (struct window_t *w) |
int | window_get_width (struct window_t *w) |
int | window_get_height (struct window_t *w) |
void | window_present (struct window_t *w, struct color_t *c, void *o, void(*draw)(struct window_t *, void *)) |
int | window_pump_event (struct window_t *w, struct event_t *e) |
enum event_type_t |
struct window_t * window_alloc | ( | const char * | fb, |
const char * | input, | ||
void * | data | ||
) |
void window_free | ( | struct window_t * | w | ) |
int window_is_active | ( | struct window_t * | w | ) |
int window_get_width | ( | struct window_t * | w | ) |
int window_get_height | ( | struct window_t * | w | ) |
void window_present | ( | struct window_t * | w, |
struct color_t * | c, | ||
void * | o, | ||
void(*)(struct window_t *, void *) | draw | ||
) |