Query: set_mouse_range
OS: php
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
set_mouse_range(3alleg4) Allegro manual set_mouse_range(3alleg4)NAMEset_mouse_range - Sets the area of the screen restricting mouse movement. Allegro game programming library.SYNOPSIS#include <allegro.h> void set_mouse_range(int x1, int y1, int x2, int y2);DESCRIPTIONSets the area of the screen within which the mouse can move. Pass the top left corner and the bottom right corner (inclusive). If you don't call this function the range defaults to (0, 0, SCREEN_W-1, SCREEN_H-1).SEE ALSOinstall_mouse(3alleg4), set_mouse_speed(3alleg4), position_mouse(3alleg4) Allegro version 4.4.2 set_mouse_range(3alleg4)