Last change
on this file since 6888aa2 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Imported original source code.
|
-
Property mode
set to
100755
|
File size:
1.1 KB
|
Rev | Line | |
---|
[3ae31e9] | 1 | /*
|
---|
| 2 | =============================================================================
|
---|
| 3 | curpak.h -- header for cursor and data entry functions
|
---|
| 4 | Version 5 -- 1988-10-12 -- D.N. Lynx Crowe
|
---|
| 5 | =============================================================================
|
---|
| 6 |
|
---|
| 7 | */
|
---|
| 8 |
|
---|
| 9 | /* cursor types */
|
---|
| 10 |
|
---|
| 11 | #define CT_GRAF 0 /* graphics */
|
---|
| 12 | #define CT_TEXT 1 /* text -- general */
|
---|
| 13 | #define CT_VIRT 2 /* virtual -- graphic */
|
---|
| 14 | #define CT_SCOR 3 /* text -- score */
|
---|
| 15 | #define CT_SMTH 4 /* text -- smooth scroll */
|
---|
| 16 | #define CT_MENU 5 /* virtual -- character */
|
---|
| 17 |
|
---|
| 18 | /* cursor and data entry function parameter structure */
|
---|
| 19 |
|
---|
| 20 | struct curpak {
|
---|
| 21 |
|
---|
| 22 | short (*curtype)();
|
---|
| 23 | short (*premove)();
|
---|
| 24 | short (*pstmove)();
|
---|
| 25 | short (*cx_key)();
|
---|
| 26 | short (*cy_key)();
|
---|
| 27 | short (*cx_upd)();
|
---|
| 28 | short (*cy_upd)();
|
---|
| 29 | short (*xy_up)();
|
---|
| 30 | short (*xy_dn)();
|
---|
| 31 | short (*x_key)();
|
---|
| 32 | short (*e_key)();
|
---|
| 33 | short (*m_key)();
|
---|
| 34 | short (*d_key)();
|
---|
| 35 | short (*not_fld)();
|
---|
| 36 | struct fet *curfet;
|
---|
| 37 | struct selbox *csbp;
|
---|
| 38 | short *cratex;
|
---|
| 39 | short *cratey;
|
---|
| 40 | short cmtype;
|
---|
| 41 | short cxval;
|
---|
| 42 | short cyval;
|
---|
| 43 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.