[3ae31e9] | 1 | /*
|
---|
| 2 | =============================================================================
|
---|
| 3 | fields.h -- field definition header
|
---|
| 4 | Version 6 -- 1987-09-25 -- D.N. Lynx Crowe
|
---|
| 5 | =============================================================================
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | #define MAXEBUF 80 /* maximum length of data in the edit buffer */
|
---|
| 9 |
|
---|
| 10 | struct fet { /* field definition structure */
|
---|
| 11 |
|
---|
| 12 | short frow; /* row the field is in */
|
---|
| 13 | short flcol; /* leftmost column of field */
|
---|
| 14 | short frcol; /* rightmost column of field */
|
---|
| 15 | short ftags; /* field tags / parameters (used variously) */
|
---|
| 16 | short (*ebto)(); /* edit buffer 'to' (setup) function */
|
---|
| 17 | short (*ebfrom)(); /* edit buffer 'from' (parse) function */
|
---|
| 18 | short (*redisp)(); /* field (re)display function */
|
---|
| 19 | short (*datain)(); /* data entry function */
|
---|
| 20 | };
|
---|
| 21 |
|
---|
| 22 | struct selbox { /* selection box structure */
|
---|
| 23 |
|
---|
| 24 | short sbxmin; /* minimum x - left edge of box */
|
---|
| 25 | short sbymin; /* minimum y - top edge of box */
|
---|
| 26 | short sbxmax; /* maximum x - right edge of box */
|
---|
| 27 | short sbymax; /* maximum y - bottom edge of box */
|
---|
| 28 | short sbarg; /* select box argument */
|
---|
| 29 | short (*boxhit)(); /* box-hit function */
|
---|
| 30 | };
|
---|
| 31 |
|
---|
| 32 | #ifndef FET_DEFS
|
---|
| 33 | extern short ebflag; /* edit buffer setup flag */
|
---|
| 34 | extern char ebuf[MAXEBUF+1]; /* edit buffer */
|
---|
| 35 |
|
---|
| 36 | extern struct fet *curfet; /* current fet table pointer */
|
---|
| 37 | extern struct fet *cfetp, *infetp; /* current and new fet entry pointers */
|
---|
| 38 | #endif
|
---|