]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - gui.h
gui: Use whline() for drawing the separator.
[paraslash.git] / gui.h
diff --git a/gui.h b/gui.h
index 97b99690938508a2d27eec1b60323f11b4d5fa0a..e6e4167f9bc5d5411b18dcbb6f8df91c35621177 100644 (file)
--- a/gui.h
+++ b/gui.h
@@ -1,19 +1,7 @@
 /*
- * Copyright (C) 2007 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2007-2014 Andre Noll <maan@systemlinux.org>
  *
- *     This program is free software; you can redistribute it and/or modify
- *     it under the terms of the GNU General Public License as published by
- *     the Free Software Foundation; either version 2 of the License, or
- *     (at your option) any later version.
- *
- *     This program is distributed in the hope that it will be useful,
- *     but WITHOUT ANY WARRANTY; without even the implied warranty of
- *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *     GNU General Public License for more details.
- *
- *     You should have received a copy of the GNU General Public License
- *     along with this program; if not, write to the Free Software
- *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ * Licensed under the GPL v2. For licencing details see COPYING.
  */
 
 /** \file gui.h symbols used by gui and gui_theme */
@@ -32,9 +20,8 @@ struct gui_theme {
        int output_fg, output_bg;
        int msg_fg, msg_bg;
        int err_msg_fg, err_msg_bg;
-       int welcome_fg, welcome_bg;
        int sep_fg, sep_bg;
-       const char *sep_str;
+       char sep_char;
        int default_fg, default_bg;
 
        int top_lines_default, top_lines_min;
@@ -42,7 +29,7 @@ struct gui_theme {
        struct stat_item_data data[NUM_STAT_ITEMS];
 };
 
-void init_theme(int i, struct gui_theme *);
+void init_theme_or_die(const char *name, struct gui_theme *t);
 void next_theme(struct gui_theme *);
 void prev_theme(struct gui_theme *);
 #define LEFT 1