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

#include <cairo.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;

    int scroll_lines;
    int scrollback_length;

    int redraw_rate;

    char *cmd;
    char *font_name;

    char bell_is_urgent: 1;
    char bold_is_bright: 1;
    char bold_is_bold: 1;
    char audible_bell: 1;
};

void runes_config_init(RunesConfig *config, int argc, char *argv[]);
void runes_config_cleanup(RunesConfig *config);

#endif