| 1 |
/* @(#)iic.fc 19.1 (ES0-DMD) 02/25/03 13:54:39 */ |
| 2 |
/*=========================================================================== |
| 3 |
Copyright (C) 1995 European Southern Observatory (ESO) |
| 4 |
|
| 5 |
This program is free software; you can redistribute it and/or |
| 6 |
modify it under the terms of the GNU General Public License as |
| 7 |
published by the Free Software Foundation; either version 2 of |
| 8 |
the License, or (at your option) any later version. |
| 9 |
|
| 10 |
This program is distributed in the hope that it will be useful, |
| 11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 |
GNU General Public License for more details. |
| 14 |
|
| 15 |
You should have received a copy of the GNU General Public |
| 16 |
License along with this program; if not, write to the Free |
| 17 |
Software Foundation, Inc., 675 Massachusetss Ave, Cambridge, |
| 18 |
MA 02139, USA. |
| 19 |
|
| 20 |
Corresponding concerning ESO-MIDAS should be addressed as follows: |
| 21 |
Internet e-mail: [email protected] |
| 22 |
Postal address: European Southern Observatory |
| 23 |
Data Management Division |
| 24 |
Karl-Schwarzschild-Strasse 2 |
| 25 |
D 85748 Garching bei Muenchen |
| 26 |
GERMANY |
| 27 |
===========================================================================*/ |
| 28 |
|
| 29 |
#include <ftoc.h> |
| 30 |
|
| 31 |
static int savdsp, *pin1, *pin2, *pin3; |
| 32 |
|
| 33 |
ROUTINE IIC1(dsplay,in1,in2,in3) |
| 34 |
fint2c *dsplay; |
| 35 |
fint2c *in1; |
| 36 |
fint2c *in2; |
| 37 |
fint2c *in3; |
| 38 |
|
| 39 |
{ |
| 40 |
savdsp = *dsplay; |
| 41 |
pin1 = in1; |
| 42 |
pin2 = in2; |
| 43 |
pin3 = in3; |
| 44 |
return 0; |
| 45 |
} |
| 46 |
|
| 47 |
ROUTINE IIC2(colour,xc,yc,idst) |
| 48 |
fint2c *colour; |
| 49 |
fint2c *xc; |
| 50 |
fint2c *yc; |
| 51 |
fint2c *idst; |
| 52 |
|
| 53 |
{ |
| 54 |
int IICINC_C(); |
| 55 |
|
| 56 |
*idst = IICINC_C(savdsp,*pin1,*pin2,*pin3,*colour,*xc,*yc); |
| 57 |
return 0; |
| 58 |
} |
| 59 |
|
| 60 |
ROUTINE IICSCV(dsplay,cursno,vis,idst) |
| 61 |
fint2c *dsplay; |
| 62 |
fint2c *cursno; |
| 63 |
fint2c *vis; |
| 64 |
fint2c *idst; |
| 65 |
|
| 66 |
{ |
| 67 |
int IICSCV_C(); |
| 68 |
|
| 69 |
*idst = IICSCV_C(*dsplay,*cursno,*vis); |
| 70 |
return 0; |
| 71 |
} |
| 72 |
|
| 73 |
ROUTINE IICWCP(dsplay,chan,cursno,xc,yc,idst) |
| 74 |
fint2c *dsplay; |
| 75 |
fint2c *chan; |
| 76 |
fint2c *cursno; |
| 77 |
fint2c *xc; |
| 78 |
fint2c *yc; |
| 79 |
fint2c *idst; |
| 80 |
|
| 81 |
{ |
| 82 |
int IICWCP_C(); |
| 83 |
|
| 84 |
*idst = IICWCP_C(*dsplay,*chan,*cursno,*xc,*yc); |
| 85 |
return 0; |
| 86 |
} |
| 87 |
|
| 88 |
|
| 89 |
ROUTINE IIC3(yc,memo,idst) |
| 90 |
fint2c *yc; |
| 91 |
fint2c *memo; |
| 92 |
fint2c *idst; |
| 93 |
|
| 94 |
{ |
| 95 |
int IICRCP_C(); |
| 96 |
|
| 97 |
*idst = IICRCP_C(savdsp,*pin1,*pin2,pin3,yc,memo); |
| 98 |
return 0; |
| 99 |
} |