53 |
|
#define COMHT 16 /* height of command line */ |
54 |
|
#define COMCW 63 /* maximum chars on command line */ |
55 |
|
|
56 |
– |
static void aed_close(void); |
56 |
|
static void aed_errout(char*); |
57 |
|
static void longwait(int t); |
58 |
|
static void aedgetcap(int *xp, int *yp); |
59 |
|
static void aedsetcap(int x, int y); |
60 |
< |
static void anewcolr(int index, int r,int g,int b); |
62 |
< |
static void aed_paintr(COLOR col, int xmin, int ymin, int xmax, int ymax); |
60 |
> |
static dr_newcolrf_t anewcolr; |
61 |
|
static void aedcoord(int x, int y); |
62 |
< |
static void aed_comout(char *out); |
63 |
< |
static int aed_getcur(int *xp, int *yp); |
64 |
< |
static aed_clear(int x, int y); |
62 |
> |
|
63 |
> |
static dr_closef_t aed_close; |
64 |
> |
static dr_clearf_t aed_clear; |
65 |
> |
static dr_paintrf_t aed_paintr; |
66 |
> |
static dr_getcurf_t aed_getcur; |
67 |
> |
static dr_comoutf_t comout; |
68 |
|
|
69 |
|
static struct driver aed_driver = { |
70 |
|
aed_close, aed_clear, aed_paintr, aed_getcur, |