scare_mouse_area(3alleg)

scare_mouse_area3alleg

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

Usage

#include <allegro.h>

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

Overview

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.

Releases

4 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1
  2. 4.0
  3. 5.0–6.0

From liballegro-doc 2:4.2.2-2.2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.