aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.h
blob: 3881eed70193923eaaf20f004ea04b3a9807ebfd (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
#ifndef _RUNES_CONFIG_H
#define _RUNES_CONFIG_H

struct runes_config {
    cairo_pattern_t *mousecursorcolor;
    cairo_pattern_t *cursorcolor;

    cairo_pattern_t *fgdefault;
    cairo_pattern_t *bgdefault;
    cairo_pattern_t *colors[256];

    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_config_init(RunesTerm *t, int argc, char *argv[]);
void runes_config_cleanup(RunesTerm *t);

#endif