set_mouse_sprite(3alleg4) php man page | unix.com

Man Page: set_mouse_sprite

Operating Environment: php

Section: 3alleg4

set_mouse_sprite(3alleg4)					  Allegro manual					 set_mouse_sprite(3alleg4)

NAME
set_mouse_sprite - Sets the mouse sprite. Allegro game programming library.
SYNOPSIS
#include <allegro.h> void set_mouse_sprite(BITMAP *sprite);
DESCRIPTION
You don't like Allegro's mouse pointer? No problem. Use this function to supply an alternative of your own. If you change the pointer and then want to get Allegro's lovely arrow back again, call set_mouse_sprite(NULL). As a bonus, set_mouse_sprite(NULL) uses the current palette in choosing colors for the arrow. So if your arrow mouse sprite looks ugly after changing the palette, call set_mouse_sprite(NULL).
SEE ALSO
install_mouse(3alleg4), show_mouse(3alleg4), set_mouse_sprite_focus(3alleg4), exmouse(3alleg4) Allegro version 4.4.2 set_mouse_sprite(3alleg4)
Related Man Pages
enable_hardware_cursor(3alleg4) - debian
exmouse(3alleg4) - netbsd
exmouse(3alleg4) - php
exmouse(3alleg4) - mojave
exmouse(3alleg4) - v7
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation