1exmouse(3)                      Allegro manual                      exmouse(3)
2
3
4

NAME

6       exmouse  -  Getting  input  from  the  mouse.  Allegro game programming
7       library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       Example exmouse
14

DESCRIPTION

16       This program demonstrates how to get mouse input. The first part of the
17       test  retrieves  the raw mouse input data and displays it on the screen
18       without using any mouse cursor. When  you  press  a  key  the  standard
19       arrow-like mouse cursor appears.  You are not restricted to this shape,
20       and a second key press modifies the cursor  to  be  several  concentric
21       colored  circles.  They  are  not joined together, so you can still see
22       bits of what's behind when you move the cursor over  the  printed  text
23       message.
24
25

SEE ALSO

27       BITMAP(3), END_OF_MAIN(3), SCREEN_H(3), SCREEN_W(3), acquire_screen(3),
28       allegro_error(3),     allegro_init(3),     allegro_message(3),     bit‐
29       map_mask_color(3),  circle(3), clear_keybuf(3), clear_to_color(3), cre‐
30       ate_bitmap(3),    desktop_palette(3),    destroy_bitmap(3),    font(3),
31       get_mouse_mickeys(3),       install_keyboard(3),      install_mouse(3),
32       install_timer(3),  key(3),   keypressed(3),   makecol(3),   mouse_b(3),
33       mouse_w(3),   mouse_x(3),   mouse_y(3),  mouse_z(3),  palette_color(3),
34       poll_mouse(3),      readkey(3),      release_screen(3),      screen(3),
35       set_gfx_mode(3),     set_mouse_sprite(3),    set_mouse_sprite_focus(3),
36       set_palette(3),  show_mouse(3),  textout_centre_ex(3),   textout_ex(3),
37       textprintf_centre_ex(3),    textprintf_ex(3),   textprintf_right_ex(3),
38       vsync(3)
39
40
41
42Allegro                          version 4.2.3                      exmouse(3)
Impressum