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