Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

set_mouse_range(3alleg4) [opendarwin man page]

set_mouse_range(3alleg4)					  Allegro manual					  set_mouse_range(3alleg4)

set_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); DESCRIPTION
Sets 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 ALSO
install_mouse(3alleg4), set_mouse_speed(3alleg4), position_mouse(3alleg4) Allegro version 4.4.2 set_mouse_range(3alleg4)

Check Out this Related Man Page

install_mouse(3alleg4)						  Allegro manual					    install_mouse(3alleg4)

install_mouse - Installs the Allegro mouse handler. SYNOPSIS
#include <allegro.h> int install_mouse(); DESCRIPTION
Installs the Allegro mouse handler. You must do this before using any other mouse functions. RETURN VALUE
Returns -1 on failure, zero if the mouse handler is already installed (in which case this function does nothing) and the number of buttons on the mouse if the mouse handler has successfully been installed (ie. this is the first time a handler is installed or you have removed the previous one). Note that the number of mouse buttons returned by this function is more an indication than a physical reality. With most devices there is no way of telling how many buttons there are, and any user can override the number of mouse buttons returned by this function with a custom configuration file and the variable num_buttons. Even if this value is overridden by the user, the global mouse variables will still report whatever the hardware is sending. SEE ALSO
remove_mouse(3alleg4), poll_mouse(3alleg4), mouse_x(3alleg4), show_mouse(3alleg4), get_mouse_mickeys(3alleg4), position_mouse(3alleg4), set_mouse_range(3alleg4), set_mouse_speed(3alleg4) Allegro version 4.4.2 install_mouse(3alleg4)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

2. OS X (Apple)

Undeletable file

Greetings, I'm trying to delete a file with a weird name from within Terminal on a Mac. It's a very old file (1992) with null characters in the name: ␀␀Word Finder® Plus™. Here are some examples of what I've tried: 12FX009:5 dpontius$ ls ␀␀Word Finder® Plus™ 12FX009:5 dpontius$ rm... (29 Replies)
Discussion started by: dpontius
29 Replies

Featured Tech Videos