FreeBASIC  0.91.0
io_mouse.c File Reference
#include "../fb.h"
#include "fb_private_console.h"
Include dependency graph for io_mouse.c:

Go to the source code of this file.

Functions

static void ProcessMouseEvent (const MOUSE_EVENT_RECORD *pEvent)
 
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 int inited = -1
 
static int last_x = 0
 
static int last_y = 0
 
static int last_z = 0
 
static int last_buttons = 0
 

Function Documentation

int fb_ConsoleGetMouse ( int *  x,
int *  y,
int *  z,
int *  buttons,
int *  clip 
)

Definition at line 20 of file io_mouse.c.

Here is the call graph for this function:

int fb_ConsoleSetMouse ( int  x,
int  y,
int  cursor,
int  clip 
)

Definition at line 81 of file io_mouse.c.

Here is the call graph for this function:

static void ProcessMouseEvent ( const MOUSE_EVENT_RECORD *  pEvent)
static

Definition at line 9 of file io_mouse.c.

Here is the caller graph for this function:

Variable Documentation

int inited = -1
static

Definition at line 6 of file io_mouse.c.

int last_buttons = 0
static

Definition at line 7 of file io_mouse.c.

int last_x = 0
static

Definition at line 7 of file io_mouse.c.

int last_y = 0
static

Definition at line 7 of file io_mouse.c.

int last_z = 0
static

Definition at line 7 of file io_mouse.c.