scare_mouse_area(3alleg4)

scare_mouse_area3alleg4

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

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.