]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - gui.h
gui: Rename COMMAND/EXTERNAL/GETCH mode.
[paraslash.git] / gui.h
diff --git a/gui.h b/gui.h
index abc3191befcb29abd0fda8bb93d3c51c3a697f38..13f50806db43c7bdc93da180e3ad61a3b9d71d63 100644 (file)
--- a/gui.h
+++ b/gui.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2007-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2007-2014 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -20,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;
@@ -30,9 +29,9 @@ struct gui_theme {
        struct stat_item_data data[NUM_STAT_ITEMS];
 };
 
-void init_theme(int i, struct gui_theme *);
-void next_theme(struct gui_theme *);
-void prev_theme(struct gui_theme *);
+void theme_init(const char *name, struct gui_theme *t);
+void theme_prev(struct gui_theme *t);
+void theme_next(struct gui_theme *t);
 #define LEFT 1
 #define RIGHT 2
 #define CENTER 3