source: buchla-68k/include/curpak.h@ f7428b1

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

Started to rework include files.

  • Property mode set to 100644
File size: 1.1 KB
Line 
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#pragma once
10#include "stdint.h"
11
12/* cursor types */
13
14#define CT_GRAF 0 /* graphics */
15#define CT_TEXT 1 /* text -- general */
16#define CT_VIRT 2 /* virtual -- graphic */
17#define CT_SCOR 3 /* text -- score */
18#define CT_SMTH 4 /* text -- smooth scroll */
19#define CT_MENU 5 /* virtual -- character */
20
21/* cursor and data entry function parameter structure */
22
23struct curpak {
24
25 int16_t (*curtype)(void);
26 void (*premove)(void);
27 void (*pstmove)(void);
28 void (*cx_key)(void);
29 void (*cy_key)(void);
30 void (*cx_upd)(void);
31 void (*cy_upd)(void);
32 void (*xy_up)(void);
33 void (*xy_dn)(void);
34 void (*x_key)(void);
35 void (*e_key)(void);
36 void (*m_key)(void);
37 void (*d_key)(int16_t k);
38 int16_t (*not_fld)(int16_t k);
39 struct fet *curfet;
40 struct selbox *csbp;
41 int16_t *cratex;
42 int16_t *cratey;
43 int16_t cmtype;
44 int16_t cxval;
45 int16_t cyval;
46};
47
Note: See TracBrowser for help on using the repository browser.