Last change
on this file since e225e77 was 7258c6a, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Use standard integer types.
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[f40a309] | 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 |
|
---|
[7258c6a] | 22 | int16_t (*curtype)(void);
|
---|
[0c834c5] | 23 | void (*premove)(void);
|
---|
| 24 | void (*pstmove)(void);
|
---|
| 25 | void (*cx_key)(void);
|
---|
| 26 | void (*cy_key)(void);
|
---|
| 27 | void (*cx_upd)(void);
|
---|
| 28 | void (*cy_upd)(void);
|
---|
| 29 | void (*xy_up)(void);
|
---|
| 30 | void (*xy_dn)(void);
|
---|
| 31 | void (*x_key)(void);
|
---|
| 32 | void (*e_key)(void);
|
---|
| 33 | void (*m_key)(void);
|
---|
[7258c6a] | 34 | void (*d_key)(int16_t k);
|
---|
| 35 | int16_t (*not_fld)(int16_t k);
|
---|
[f40a309] | 36 | struct fet *curfet;
|
---|
| 37 | struct selbox *csbp;
|
---|
[7258c6a] | 38 | int16_t *cratex;
|
---|
| 39 | int16_t *cratey;
|
---|
| 40 | int16_t cmtype;
|
---|
| 41 | int16_t cxval;
|
---|
| 42 | int16_t cyval;
|
---|
[f40a309] | 43 | };
|
---|
[7258c6a] | 44 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.