NAME
exmouse - Getting input from the mouse. Allegro game programming
library.
SYNOPSIS
#include <allegro.h>
Example exmouse
DESCRIPTION
This program demonstrates how to get mouse input. The first part of the
test retrieves the raw mouse input data and displays it on the screen
without using any mouse cursor. When you press a key the standard
arrow-like mouse cursor appears. You are not restricted to this shape,
and a second key press modifies the cursor to be several concentric
colored circles. They are not joined together, so you can still see
bits of what's behind when you move the cursor over the printed text
message.
SEE ALSO
BITMAP(3alleg), END_OF_MAIN(3alleg), SCREEN_H(3alleg),
SCREEN_W(3alleg), acquire_screen(3alleg), allegro_error(3alleg),
allegro_init(3alleg), allegro_message(3alleg),
bitmap_mask_color(3alleg), circle(3alleg), clear_keybuf(3alleg),
clear_to_color(3alleg), create_bitmap(3alleg), desktop_palette(3alleg),
destroy_bitmap(3alleg), font(3alleg), get_mouse_mickeys(3alleg),
install_keyboard(3alleg), install_mouse(3alleg), install_timer(3alleg),
key(3alleg), keypressed(3alleg), makecol(3alleg), mouse_b(3alleg),
mouse_w(3alleg), mouse_x(3alleg), mouse_y(3alleg), mouse_z(3alleg),
palette_color(3alleg), poll_mouse(3alleg), readkey(3alleg),
release_screen(3alleg), screen(3alleg), set_gfx_mode(3alleg),
set_mouse_sprite(3alleg), set_mouse_sprite_focus(3alleg),
set_palette(3alleg), show_mouse(3alleg), textout_centre_ex(3alleg),
textout_ex(3alleg), textprintf_centre_ex(3alleg),
textprintf_ex(3alleg), textprintf_right_ex(3alleg), vsync(3alleg)