jcs ratpoison hax
at master 41 lines 1.5 kB view raw
1/* functions for managing the program bar 2 * Copyright (C) 2000, 2001, 2002, 2003, 2004 Shawn Betts <sabetts@vcn.bc.ca> 3 * 4 * This file is part of ratpoison. 5 * 6 * ratpoison is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2, or (at your option) 9 * any later version. 10 * 11 * ratpoison is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this software; see the file COPYING. If not, write to 18 * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, 19 * Boston, MA 02111-1307 USA 20 */ 21 22#ifndef _RATPOISON_BAR_H 23#define _RATPOISON_BAR_H 1 24 25void update_window_names (rp_screen *s, char *fmt); 26void update_group_names (rp_screen *s); 27void update_bar (rp_screen *s); 28int show_bar (rp_screen *s, char *fmt); 29int show_group_bar (rp_screen *s); 30int hide_bar (rp_screen *s); 31int bar_y (rp_screen *s, int height); 32int bar_x (rp_screen *s, int width); 33 34void message (char *s); 35void marked_message (char *s, int mark_start, int mark_end); 36void marked_message_printf (int mark_start, int mark_end, char *fmt, ...); 37void redraw_last_message (void); 38void show_last_message (void); 39void free_bar (void); 40 41#endif /* ! _RATPOISON_BAR_H */