1mouse_setxrange(3)            Svgalib User Manual           mouse_setxrange(3)
2
3
4

NAME

6       mouse_setxrange,  mouse_setyrange - define the boundaries for the mouse
7       cursor
8

SYNOPSIS

10       #include <vgamouse.h>
11
12       void mouse_setxrange(int x1, int x2);
13       void mouse_setyrange(int y1, int y2);
14
15

DESCRIPTION

17       These two define the boundaries for mouse cursor.  x1, x2, y1,  and  y2
18       are  the  coordinates  of the left, right, bottom, and top edges of the
19       screen, respectively.
20
21       The return values of mouse_getx(3) and mouse_gety(3) will  always  stay
22       in these boundaries.
23
24       For  3d  pointer  devices,  there  is  actually  another interface. See
25       mouse_getposition_6d(3).
26

SEE ALSO

28       svgalib(7), vgagl(7), libvga.config(5),  eventtest(6),  mouse_close(3),
29       mouse_init(3),      mouse_getposition_6d(3),      mouse_setposition(3),
30       mouse_setscale(3),  mouse_setwrap(3),  mouse_getx(3),  mouse_update(3),
31       mouse_waitforupdate(3),      vga_setmousesupport(3),     mouse_setevenā€
32       thandler(3), vga_waitevent(3)
33

AUTHOR

35       This manual page was edited  by  Michael  Weller  <eowmob@exp-math.uni-
36       essen.de>.  The  exact  source of the referenced function as well as of
37       the original documentation is unknown.
38
39       It is very likely that both are at least to some extent are due to Harm
40       Hanemaayer <H.Hanemaayer@inter.nl.net>.
41
42       Occasionally  this  might be wrong. I hereby asked to be excused by the
43       original author and will happily accept any additions or corrections to
44       this first version of the svgalib manual.
45
46
47
48Svgalib (>= 1.2.11)              27 July 1997               mouse_setxrange(3)
Impressum