]>
Commit | Line | Data |
---|---|---|
fe4da5cc | 1 | * |
2 | * $Id$ | |
3 | * | |
4 | * $Log$ | |
5 | * Revision 1.1.1.1 1995/10/24 10:20:22 cernlib | |
6 | * Geant | |
7 | * | |
8 | * | |
9 | #include "geant321/pilot.h" | |
10 | *CMZ : 3.21/02 29/03/94 15.41.26 by S.Giani | |
11 | *-- Author : | |
12 | SUBROUTINE GDCURS(U0,V0,MCHAR) | |
13 | C. | |
14 | C. ****************************************************************** | |
15 | C. * * | |
16 | C. * When this routine is called in interactive * | |
17 | C. * version of GEANT3 and with PIGS or GKS option set, * | |
18 | C. * it draws on screen the present position of the cursor, * | |
19 | C. * then moving UP-DOWN and LEFT-RIGHT arrows (or similars) * | |
20 | C. * the user goes on the screen point he wants be selected * | |
21 | C. * and press a key (but not <CR>) to hold that point. * | |
22 | C. * If the user types <CR>, it has to press a key again. * | |
23 | C. * The routine returns then in U0,V0 the user coordinates * | |
24 | C. * of the graphics cursor, and in MCHAR the ascii value * | |
25 | C. * of the key pressed. * | |
26 | C. * * | |
27 | C. * ==>Called by : <USER>, <GXINT>, GDTREE * | |
28 | C. * Author : P.Zanarini ********* * | |
29 | C. * * | |
30 | C. ****************************************************************** | |
31 | C | |
32 | C. ------------------------------------------------------------------ | |
33 | C. | |
34 | * | |
35 | * Request the locator position | |
36 | * | |
37 | CALL IRQLC(1,1,ISTAT,ITNR,U0,V0) | |
38 | MCHAR=ISTAT | |
39 | END |