FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
hook_setmouse.c
Go to the documentation of this file.
1
#include "
fb.h
"
2
3
FBCALL
int
fb_SetMouse
(
int
x,
int
y,
int
cursor,
int
clip )
4
{
5
int
res;
6
7
FB_LOCK
();
8
9
if
(
__fb_ctx
.
hooks
.
getmouseproc
)
10
res =
__fb_ctx
.
hooks
.
setmouseproc
( x, y, cursor, clip );
11
else
12
res =
fb_ConsoleSetMouse
( x, y, cursor, clip );
13
14
FB_UNLOCK
();
15
16
return
res;
17
}
rtlib
hook_setmouse.c
Generated on Thu Jan 23 2014 19:40:12 for FreeBASIC by
1.8.4