blob: 5ab0a3ae88aa5179cbd967634ea475179816f83b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef _RUNES_TERM_H
#define _RUNES_TERM_H
struct runes_term {
RunesWindowBackend w;
RunesPtyBackend pty;
RunesScreen scr;
RunesConfig config;
cairo_t *cr;
cairo_t *backend_cr;
uv_loop_t *loop;
PangoLayout *layout;
char readbuf[RUNES_READ_BUFFER_LENGTH];
int readlen;
int remaininglen;
int xpixel;
int ypixel;
int fontx;
int fonty;
char visual_bell_is_ringing;
char unfocused;
};
void runes_term_init(RunesTerm *t, int argc, char *argv[]);
void runes_term_cleanup(RunesTerm *t);
#endif
|