source: buchla-68k/include/fields.h@ 9bf0f86

Last change on this file since 9bf0f86 was f40a309, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Unix line breaks.

  • Property mode set to 100644
File size: 1.4 KB
Line 
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
10struct 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
22struct 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
33extern short ebflag; /* edit buffer setup flag */
34extern char ebuf[MAXEBUF+1]; /* edit buffer */
35
36extern struct fet *curfet; /* current fet table pointer */
37extern struct fet *cfetp, *infetp; /* current and new fet entry pointers */
38#endif
Note: See TracBrowser for help on using the repository browser.