FreeBASIC
0.91.0
|
#include "../fb.h"
#include "../unix/fb_private_console.h"
#include "../fb_private_hdynload.h"
#include <sys/select.h>
#include <gpm.h>
Go to the source code of this file.
Data Structures | |
struct | GPM_FUNCS |
Typedefs | |
typedef int(* | GPM_OPEN )(Gpm_Connect *, int) |
typedef int(* | GPM_CLOSE )(void) |
typedef int(* | GPM_GETEVENT )(Gpm_Event *) |
Functions | |
static void | mouse_update (int cb, int cx, int cy) |
static void | mouse_handler (void) |
static int | mouse_init (void) |
static void | mouse_exit (void) |
int | fb_ConsoleGetMouse (int *x, int *y, int *z, int *buttons, int *clip) |
int | fb_ConsoleSetMouse (int x, int y, int cursor, int clip) |
Variables | |
static FB_DYLIB | gpm_lib = NULL |
static GPM_FUNCS | gpm = { NULL } |
static Gpm_Connect | conn |
static int | has_focus = TRUE |
static int | mouse_x = 0 |
static int | mouse_y = 0 |
static int | mouse_z = 0 |
static int | mouse_buttons = 0 |
typedef int(* GPM_CLOSE)(void) |
Definition at line 20 of file io_mouse.c.
typedef int(* GPM_GETEVENT)(Gpm_Event *) |
Definition at line 21 of file io_mouse.c.
typedef int(* GPM_OPEN)(Gpm_Connect *, int) |
Definition at line 19 of file io_mouse.c.
int fb_ConsoleGetMouse | ( | int * | x, |
int * | y, | ||
int * | z, | ||
int * | buttons, | ||
int * | clip | ||
) |
int fb_ConsoleSetMouse | ( | int | x, |
int | y, | ||
int | cursor, | ||
int | clip | ||
) |
|
static |
Definition at line 138 of file io_mouse.c.
|
static |
Definition at line 60 of file io_mouse.c.
|
static |
Definition at line 110 of file io_mouse.c.
|
static |
|
static |
Definition at line 32 of file io_mouse.c.
Definition at line 31 of file io_mouse.c.
Definition at line 30 of file io_mouse.c.
|
static |
Definition at line 33 of file io_mouse.c.
|
static |
Definition at line 34 of file io_mouse.c.
|
static |
Definition at line 34 of file io_mouse.c.
|
static |
Definition at line 34 of file io_mouse.c.
|
static |
Definition at line 34 of file io_mouse.c.