blob: 6baf9616d9841dfa3598bd1cdbf1f4ecbf7b75fd (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
#ifndef _RUNES_TERM_H
#define _RUNES_TERM_H
struct runes_term {
RunesWindowBackend w;
RunesPtyBackend pty;
RunesScreen scr;
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;
cairo_pattern_t *mousecursorcolor;
cairo_pattern_t *cursorcolor;
cairo_pattern_t *fgdefault;
cairo_pattern_t *bgdefault;
cairo_pattern_t *colors[256];
cairo_pattern_t *fgcustom;
cairo_pattern_t *bgcustom;
int default_rows;
int default_cols;
char *cmd;
char *font_name;
char bell_is_urgent;
char bold_is_bright;
char bold_is_bold;
char audible_bell;
};
void runes_term_init(RunesTerm *t, int argc, char *argv[]);
void runes_term_cleanup(RunesTerm *t);
#endif
|