Work around some clang warnings.
[paraslash.git] / gui.h
1 /*
2 * Copyright (C) 2007-2011 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 welcome_fg, welcome_bg;
24 int sep_fg, sep_bg;
25 const char *sep_str;
26 int default_fg, default_bg;
27
28 int top_lines_default, top_lines_min;
29 int lines_min, cols_min;
30 struct stat_item_data data[NUM_STAT_ITEMS];
31 };
32
33 void init_theme_or_die(const char *name, struct gui_theme *t);
34 void next_theme(struct gui_theme *);
35 void prev_theme(struct gui_theme *);
36 #define LEFT 1
37 #define RIGHT 2
38 #define CENTER 3