X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=gui.h;h=13f50806db43c7bdc93da180e3ad61a3b9d71d63;hp=97b99690938508a2d27eec1b60323f11b4d5fa0a;hb=2bd6a294428d7acb1da1b0cf7f4ed569ad0e018a;hpb=6a52c8891d69e45389081a4400c7d3f1314be868 diff --git a/gui.h b/gui.h index 97b99690..13f50806 100644 --- a/gui.h +++ b/gui.h @@ -1,19 +1,7 @@ /* - * Copyright (C) 2007 Andre Noll + * Copyright (C) 2007-2014 Andre Noll * - * 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,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