GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SET_MOUSE_CURSOR_BITMAP (3)

NAME

set_mouse_cursor_bitmap - Changes the image Allegro uses for mouse cursors.

CONTENTS

Synopsis
Description
See Also

SYNOPSIS

#include <allegro.h>

void set_mouse_cursor_bitmap(int cursor, BITMAP *bmp);

DESCRIPTION

This function changes the cursor image Allegro uses if select_mouse_cursor() is called but no native operating system cursor can be used, e.g. because you did not call enable_hardware_cursor().

The cursor argument can be one of:

MOUSE_CURSOR_ALLEGRO MOUSE_CURSOR_ARROW MOUSE_CURSOR_BUSY MOUSE_CURSOR_QUESTION MOUSE_CURSOR_EDIT

but not MOUSE_CURSOR_NONE.

The bmp argument can either point to a valid bitmap or it can be NULL. Passing a bitmap makes Allegro use that image in place of its own default substitution (should the operating system’s native cursor be unavailable). The bitmap must remain available for the duration in which it could be used. Passing NULL lets Allegro revert to its default substitutions.

The effect of this function will not be apparent until show_mouse() is called.

SEE ALSO

install_mouse(3), show_mouse(3), set_mouse_sprite(3), gfx_capabilities(3), enable_hardware_cursor(3), show_os_cursor(3)
Search for    or go to Top of page |  Section 3 |  Main Index


Allegro SET_MOUSE_CURSOR_BITMAP (3) version 4.4.2

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.