X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_mouse.3x;h=1bc30870dd718a0e7796665ab14ea70d5771362b;hp=ad7d601d5c0d84d5027bc6be6ccd367eedc71dc8;hb=661078ddbde3ce0f3b06e95642fbb9b5fef7dca1;hpb=3a9b6a3bf0269231bef7de74757a910dedd04e0c diff --git a/man/curs_mouse.3x b/man/curs_mouse.3x index ad7d601d..1bc30870 100644 --- a/man/curs_mouse.3x +++ b/man/curs_mouse.3x @@ -1,4 +1,5 @@ '\" t +.'" $Id: curs_mouse.3x,v 0.7 1997/12/13 22:36:24 tom Exp $ .TH curs_mouse 3X "" .SH NAME \fBgetmouse\fR, \fBungetmouse\fR, @@ -30,7 +31,7 @@ MEVENT;\fR .br .SH DESCRIPTION These functions provide an interface to mouse events from -\fBncurses\fR(3x). Mouse events are represented by \fBKEY_MOUSE\fR +\fBncurses\fR(3X). Mouse events are represented by \fBKEY_MOUSE\fR pseudo-key values in the \fBwgetch\fR input stream. To make mouse events visible, use the \fBmousemask\fR function. This will set @@ -51,24 +52,24 @@ l l _ _ l l. \fIName\fR \fIDescription\fR -BUTTON1_PRESSED mouse button 1 down +BUTTON1_PRESSED mouse button 1 down BUTTON1_RELEASED mouse button 1 up -BUTTON1_CLICKED mouse button 1 clicked +BUTTON1_CLICKED mouse button 1 clicked BUTTON1_DOUBLE_CLICKED mouse button 1 double clicked BUTTON1_TRIPLE_CLICKED mouse button 1 triple clicked -BUTTON2_PRESSED mouse button 2 down +BUTTON2_PRESSED mouse button 2 down BUTTON2_RELEASED mouse button 2 up -BUTTON2_CLICKED mouse button 2 clicked +BUTTON2_CLICKED mouse button 2 clicked BUTTON2_DOUBLE_CLICKED mouse button 2 double clicked BUTTON2_TRIPLE_CLICKED mouse button 2 triple clicked -BUTTON3_PRESSED mouse button 3 down +BUTTON3_PRESSED mouse button 3 down BUTTON3_RELEASED mouse button 3 up -BUTTON3_CLICKED mouse button 3 clicked +BUTTON3_CLICKED mouse button 3 clicked BUTTON3_DOUBLE_CLICKED mouse button 3 double clicked BUTTON3_TRIPLE_CLICKED mouse button 3 triple clicked -BUTTON4_PRESSED mouse button 4 down +BUTTON4_PRESSED mouse button 4 down BUTTON4_RELEASED mouse button 4 up -BUTTON4_CLICKED mouse button 4 clicked +BUTTON4_CLICKED mouse button 4 clicked BUTTON4_DOUBLE_CLICKED mouse button 4 double clicked BUTTON4_TRIPLE_CLICKED mouse button 4 triple clicked BUTTON_SHIFT shift was down during button state change @@ -112,7 +113,7 @@ termination. All routines return the integer \fBERR\fR upon failure or \fBOK\fR upon successful completion. .SH PORTABILITY -These calls were designed for \fBncurses\fR(3x), and are not found in SVr4 +These calls were designed for \fBncurses\fR(3X), and are not found in SVr4 curses, 4.4BSD curses, or any other previous version of curses. The feature macro \fBNCURSES_MOUSE_VERSION\fR is provided so the preprocessor @@ -124,11 +125,11 @@ incremented. The order of the \fBMEVENT\fR structure members is not guaranteed. Additional fields may be added to the structure in the future. -Under \fBncurses\fR(3x), these calls are implemented using either +Under \fBncurses\fR(3X), these calls are implemented using either xterm's built-in mouse-tracking API or Alessandro Rubini's gpm server. If you are using something other than xterm there is no gpm daemon running on your machine, mouse events will not be visible to -\fBncurses\fR(3x) (and the \fBwmousemask\fR function will always +\fBncurses\fR(3X) (and the \fBwmousemask\fR function will always return \fB0\fR). The z member in the event structure is not presently used. It is intended