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

NAME

6       gui_mouse_x,  gui_mouse_y,  gui_mouse_z,  gui_mouse_b  - Hook functions
7       used by the GUI routines to access the mouse state. Allegro  game  pro‐
8       gramming library.
9

SYNOPSIS

11       #include <allegro.h>
12
13
14       extern int (*gui_mouse_x)();
15
16       extern int (*gui_mouse_y)();
17
18       extern int (*gui_mouse_z)();
19
20       extern int (*gui_mouse_b)();
21

DESCRIPTION

23       Hook  functions,  used by the GUI routines whenever they need to access
24       the mouse state. By default these just return copies  of  the  mouse_x,
25       mouse_y, mouse_z, and mouse_b variables, but they could be used to off‐
26       set or scale the mouse position, or read input from a different  source
27       entirely.
28
29
30
31
32Allegro                          version 4.4.3                  gui_mouse_x(3)
Impressum