X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=Ada95%2Fhtml%2Fcurs_mouse.3x.html;h=82622ed895f2a002ce1424753646243618cd3ce8;hp=d328f533dd8321ccc4853c4bce8802e2e5483842;hb=refs%2Ftags%2Fv4.2;hpb=3a9b6a3bf0269231bef7de74757a910dedd04e0c diff --git a/Ada95/html/curs_mouse.3x.html b/Ada95/html/curs_mouse.3x.html index d328f533..82622ed8 100644 --- a/Ada95/html/curs_mouse.3x.html +++ b/Ada95/html/curs_mouse.3x.html @@ -28,7 +28,7 @@
These functions provide an interface to mouse events from - ncurses(3x). Mouse events are represented by KEY_MOUSE + ncurses(3X). Mouse events are represented by KEY_MOUSE pseudo-key values in the wgetch input stream. To make mouse events visible, use the mousemask function. @@ -47,26 +47,28 @@ Here are the mouse event type masks: l l _ _ l l. Name Description BUTTON1_PRESSED mouse - button 1 down BUTTON1_RELEASED mouse button 1 up BUT- - TON1_CLICKED mouse button 1 clicked + button 1 down BUTTON1_RELEASED mouse button 1 up + 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_RELEASED mouse button 2 up 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_RELEASED mouse button 3 up BUTTON3_CLICKED - button 3 triple clicked BUTTON4_PRESSED mouse button 4 - down BUTTON4_RELEASED mouse button 4 up 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 dur- - ing button state change BUTTON_CTRL control was down - during button state change BUTTON_ALT alt was down - during button state change ALL_MOUSE_EVENTS report all - button state changes REPORT_MOUSE_POSITION report mouse - movement + BUTTON2_PRESSED mouse button 2 down + BUTTON2_RELEASED mouse button 2 up + 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_DOUBLE_CLICKED mouse button 3 double clicked + BUTTON3_TRIPLE_CLICKED mouse button 3 triple clicked + BUTTON4_PRESSED mouse button 4 down + BUTTON4_RELEASED mouse button 4 up + 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 + BUTTON_CTRL control was down during button state change + BUTTON_ALT alt was down during button state change + ALL_MOUSE_EVENTS report all button state changes + REPORT_MOUSE_POSITION report mouse movement Once a class of mouse events have been made visible in a window, calling the wgetch function on that window may @@ -109,10 +111,9 @@ All routines return the integer ERR upon failure or OK upon successful completion. - --
- These calls were designed for ncurses(3x), and are not + These calls were designed for ncurses(3X), and are not + found in SVr4 curses, 4.4BSD curses, or any other previous + version of curses. The feature macro NCURSES_MOUSE_VERSION is provided so the preprocessor can be used to test whether these features @@ -125,11 +126,11 @@ teed. Additional fields may be added to the structure in the future. - Under ncurses(3x), these calls are implemented using + Under ncurses(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 ncurses(3x) (and the + mouse events will not be visible to ncurses(3X) (and the wmousemask function will always return 0). The z member in the event structure is not presently used. @@ -166,9 +167,6 @@ - - -