FreeBASIC  0.91.0
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 
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 }