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