| 1 |
/* |
| 2 |
* Copyright(C) 1999-2020, 2022 National Technology & Engineering Solutions |
| 3 |
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with |
| 4 |
* NTESS, the U.S. Government retains certain rights in this software. |
| 5 |
* |
| 6 |
* See packages/seacas/LICENSE for details |
| 7 |
*/ |
| 8 |
/* cgidef.h CGI enumerated type definitions for C programs |
| 9 |
*/ |
| 10 |
#pragma once |
| 11 |
|
| 12 |
/* escape enumerations */ |
| 13 |
#define XEMFNM -28372 /* metafile name */ |
| 14 |
#define XEAGMD -23671 /* alpha/graphics mode */ |
| 15 |
#define XESVDI -1001 /* svdi escape */ |
| 16 |
#define XEPGSZ -1002 /* page size */ |
| 17 |
#define XEBELL -1003 /* ring the bell */ |
| 18 |
|
| 19 |
/* used in many places */ |
| 20 |
#define CNO 0 |
| 21 |
#define CYES 1 |
| 22 |
|
| 23 |
/* force clear viewsurface (argument of CPDS) */ |
| 24 |
#define CFORCC 0 |
| 25 |
#define CCONDC 1 |
| 26 |
|
| 27 |
/* clip indicator */ |
| 28 |
#define COFF 0 |
| 29 |
#define CON 1 |
| 30 |
|
| 31 |
/* drawing surface clip indicator */ |
| 32 |
#define CDCOFF 0 |
| 33 |
#define CDCREC 1 |
| 34 |
#define CVPORT 2 |
| 35 |
|
| 36 |
/* error handling flag (arg of CERHCT) */ |
| 37 |
#define CEHON 0 |
| 38 |
#define CEHROF 1 |
| 39 |
#define CEHDOF 2 |
| 40 |
|
| 41 |
/* device class (arg of CQID) */ |
| 42 |
#define COUTPT 0 |
| 43 |
#define CINPUT 1 |
| 44 |
#define COUTIN 2 |
| 45 |
|
| 46 |
/* hard/soft copy flag (arg of CQD) */ |
| 47 |
#define CHARD 0 |
| 48 |
#define CSOFT 1 |
| 49 |
|
| 50 |
/* display type (arg of CQD) */ |
| 51 |
#define CVECT 0 |
| 52 |
#define CRAST 1 |
| 53 |
#define COTHER 2 |
| 54 |
|
| 55 |
/* dynamic modification (arg of CQD, etc) */ |
| 56 |
#define CIRG 0 |
| 57 |
#define CCBS 1 |
| 58 |
#define CIMM 2 |
| 59 |
|
| 60 |
/* pixel location relative to coordinates (arg of CQD) */ |
| 61 |
#define CPXON 0 |
| 62 |
#define CPXBET 1 |
| 63 |
|
| 64 |
/* support indicator */ |
| 65 |
#define CSNO 0 |
| 66 |
#define CSYES 1 |
| 67 |
#define CSUNR 2 |
| 68 |
|
| 69 |
/* view surface state */ |
| 70 |
#define CDIRTY 0 |
| 71 |
#define CCLEAN 1 |
| 72 |
|
| 73 |
/* text final flag */ |
| 74 |
#define CNOTFI 0 |
| 75 |
#define CFINAL 1 |
| 76 |
|
| 77 |
/* clipping mode */ |
| 78 |
#define CLOCUS 0 |
| 79 |
#define CSHAPE 1 |
| 80 |
#define CLOCSH 2 |
| 81 |
|
| 82 |
/* text precision */ |
| 83 |
#define CSTRNG 0 |
| 84 |
#define CCHAR 1 |
| 85 |
#define CSTROK 2 |
| 86 |
|
| 87 |
/* text path */ |
| 88 |
#define CTPRIT 0 |
| 89 |
#define CTPLFT 1 |
| 90 |
#define CTPUP 2 |
| 91 |
#define CTPDWN 3 |
| 92 |
|
| 93 |
/* text horizontal alignment */ |
| 94 |
#define CTALFT 0 |
| 95 |
#define CTACTR 1 |
| 96 |
#define CTARIT 2 |
| 97 |
#define CTANH 3 |
| 98 |
#define CTACOH 4 |
| 99 |
|
| 100 |
/* text vertical alignment */ |
| 101 |
#define CTATOP 0 |
| 102 |
#define CTACAP 1 |
| 103 |
#define CTAHAF 2 |
| 104 |
#define CTABAS 3 |
| 105 |
#define CTABOT 4 |
| 106 |
#define CTANV 5 |
| 107 |
#define CTACOV 6 |
| 108 |
|
| 109 |
/* interior style */ |
| 110 |
#define CHOLLO 0 |
| 111 |
#define CSOLID 1 |
| 112 |
#define CPATRN 2 |
| 113 |
#define CHATCH 3 |
| 114 |
#define CEMPTY 4 |
| 115 |
#define CBITMP 5 |
| 116 |
|
| 117 |
/* color selection mode (arg of CCSM, CQTXA) */ |
| 118 |
#define CDRECT 0 |
| 119 |
#define CINDEX 1 |
| 120 |
|
| 121 |
/* line, edge width specification mode */ |
| 122 |
/* marker specification mode */ |
| 123 |
#define CVDC 0 |
| 124 |
#define CSCA 1 |
| 125 |
|
| 126 |
/* cell array fill capability (arg of CQPRL) */ |
| 127 |
#define COUTLN 0 |
| 128 |
#define CFILLD 1 |
| 129 |
|
| 130 |
/* cell array alignment (arg of CQPRL) */ |
| 131 |
#define CAXIS 0 |
| 132 |
#define CSKEW 1 |
| 133 |
|
| 134 |
/* compound text capability */ |
| 135 |
/* and closed figure capability */ |
| 136 |
#define CCNONE 0 |
| 137 |
#define CGLOBL 1 |
| 138 |
#define CLOCAL 2 |
| 139 |
|
| 140 |
/* pattern transformation support */ |
| 141 |
#define CPTNO 0 |
| 142 |
#define CPTUNS 1 |
| 143 |
#define CPTFUL 2 |
| 144 |
|
| 145 |
/* color selection mode availability (arg of CQC) */ |
| 146 |
#define CCLRI 0 |
| 147 |
#define CCLRID 1 |
| 148 |
|
| 149 |
/* color overwrite capability (arg of CQC) */ |
| 150 |
#define CCSUB 0 |
| 151 |
#define CCADD 1 |
| 152 |
#define CCREP 2 |
| 153 |
#define CCDMOD 3 |
| 154 |
|
| 155 |
/* response validity (arg of most CQxxxx routines) */ |
| 156 |
#define CINVAL 0 |
| 157 |
#define CVAL 1 |
| 158 |
|
| 159 |
/* input class */ |
| 160 |
#define CLOCAT 0 |
| 161 |
/* #define CSTROK 1 */ |
| 162 |
#define CVALUA 2 |
| 163 |
#define CCHOIC 3 |
| 164 |
#define CPICK 4 |
| 165 |
/* #define CSTRNG 5 */ |
| 166 |
#define CRASTR 6 |
| 167 |
#define CGEN 7 |
| 168 |
|
| 169 |
/* request status */ |
| 170 |
#define CTRIGR 0 |
| 171 |
#define CBREAK 1 |
| 172 |
#define CTIME 2 |
| 173 |
#define CMEASC 3 |
| 174 |
|
| 175 |
/* input device state */ |
| 176 |
#define CRELEA 0 |
| 177 |
#define CREADY 1 |
| 178 |
#define CREQPD 2 |
| 179 |
#define CERQON 3 |
| 180 |
#define CERQPD 4 |
| 181 |
#define CERQCM 5 |
| 182 |
#define CEVTON 6 |
| 183 |
|
| 184 |
/* direction (arg of CPXA) */ |
| 185 |
#define CINCR 0 |
| 186 |
#define CDECR 1 |
| 187 |
|
| 188 |
/* action required flag */ |
| 189 |
#define CNOACT 0 |
| 190 |
#define CACT 1 |
| 191 |
|
| 192 |
/* pixel validity flag (arg of CGPXA) */ |
| 193 |
#define CVNONE 0 |
| 194 |
#define CVALL 1 |
| 195 |
#define CVSOME 2 |