Your company here — click to reach over 10,000 unique daily visitors

scare_mouse_area - Man Page

Helper for hiding the mouse cursor before drawing in an area. Allegro game programming library.


#include <allegro.h>

void scare_mouse_area(int x, int y, int w, int h);


Like scare_mouse(), but will only hide the cursor if it is inside the  specified rectangle. Otherwise the cursor will simply be frozen in place  until you call unscare_mouse(), so it cannot interfere with your drawing.

See Also

unscare_mouse(3), scare_mouse(3), show_mouse(3)

Referenced By

object_message(3), scare_mouse(3), unscare_mouse(3).

version 4.4.3 Allegro manual