FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
gfx_setmouse.c
Go to the documentation of this file.
1
/* SETMOUSE function support. */
2
3
#include "
fb_gfx.h
"
4
5
6
/*:::::*/
7
int
fb_GfxSetMouse
(
int
x,
int
y,
int
cursor,
int
clip)
8
{
9
if
((!
__fb_gfx
) || (!
__fb_gfx
->
driver
->
set_mouse
))
10
return
fb_ErrorSetNum
(
FB_RTERROR_ILLEGALFUNCTIONCALL
);
11
12
DRIVER_LOCK
();
13
__fb_gfx
->
driver
->
set_mouse
(x, y, cursor, clip);
14
DRIVER_UNLOCK
();
15
16
return
fb_ErrorSetNum
(
FB_RTERROR_OK
);
17
}
gfxlib2
gfx_setmouse.c
Generated on Thu Jan 23 2014 19:40:06 for FreeBASIC by
1.8.4