1 /* vi:set ts=4 sts=4 sw=4 noexpandtab: */
13 #define SETLO(v,x) v = ((v) & 0xf0) | (x)
14 #define SETHI(v,x) v = ((v) & 0x0f) | ((x) << 4)
15 #define CTRL(c) ((c) & 037)
17 #define KEY_TAB 9 // this also happens to be ^i...
21 #define BACKSPACE 0x07
26 int instrx
, instry
, instroffs
;
28 int songx
, songy
, songoffs
;
29 int trackx
, tracky
, trackoffs
;
30 int currtrack
, currinstr
;
42 void initsonglines(void);
43 void inittracks(void);
44 void initinstrs(void);
47 void drawsonged(void);
48 void drawtracked(void);
49 void drawinstred(void);
51 void handleinput(void);
58 void setdisplay(char *str
);