]> git.uio.no Git - u/mrichter/AliRoot.git/blame - GEANT321/gdraw/gdcurs.F
Bugfix in AliPoints2Memory
[u/mrichter/AliRoot.git] / GEANT321 / gdraw / gdcurs.F
CommitLineData
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)
13C.
14C. ******************************************************************
15C. * *
16C. * When this routine is called in interactive *
17C. * version of GEANT3 and with PIGS or GKS option set, *
18C. * it draws on screen the present position of the cursor, *
19C. * then moving UP-DOWN and LEFT-RIGHT arrows (or similars) *
20C. * the user goes on the screen point he wants be selected *
21C. * and press a key (but not <CR>) to hold that point. *
22C. * If the user types <CR>, it has to press a key again. *
23C. * The routine returns then in U0,V0 the user coordinates *
24C. * of the graphics cursor, and in MCHAR the ascii value *
25C. * of the key pressed. *
26C. * *
27C. * ==>Called by : <USER>, <GXINT>, GDTREE *
28C. * Author : P.Zanarini ********* *
29C. * *
30C. ******************************************************************
31C
32C. ------------------------------------------------------------------
33C.
34*
35* Request the locator position
36*
37 CALL IRQLC(1,1,ISTAT,ITNR,U0,V0)
38 MCHAR=ISTAT
39 END