gui: Remove welcome message.
[paraslash.git] / gui.h
1 /*
2  * Copyright (C) 2007-2014 Andre Noll <maan@systemlinux.org>
3  *
4  * Licensed under the GPL v2. For licencing details see COPYING.
5  */
6
7 /** \file gui.h symbols used by gui and gui_theme */
8
9 struct stat_item_data {
10         const char *prefix, *postfix;
11         unsigned x, y, len;
12         int fg, bg, align;
13 };
14
15 struct gui_theme {
16         const char *name;
17         const char *author;
18         int sb_fg, sb_bg;
19         int cmd_fg, cmd_bg;
20         int output_fg, output_bg;
21         int msg_fg, msg_bg;
22         int err_msg_fg, err_msg_bg;
23         int sep_fg, sep_bg;
24         const char *sep_str;
25         int default_fg, default_bg;
26
27         int top_lines_default, top_lines_min;
28         int lines_min, cols_min;
29         struct stat_item_data data[NUM_STAT_ITEMS];
30 };
31
32 void init_theme_or_die(const char *name, struct gui_theme *t);
33 void next_theme(struct gui_theme *);
34 void prev_theme(struct gui_theme *);
35 #define LEFT 1
36 #define RIGHT 2
37 #define CENTER 3