2 /***************************************************************************
4 ****************************************************************************
5 * panels is copyright (C) 1995 *
7 * zmbenhal@netcom.com *
9 * esr@snark.thyrsus.com *
11 * All praise to the original author, Warren Tucker. *
13 * Permission is hereby granted to reproduce and distribute panels *
14 * by any means and for any fee, whether alone or as part of a *
15 * larger distribution, in source or in binary form, PROVIDED *
16 * this notice is included with any such distribution, and is not *
17 * removed from any of its header files. Mention of panels in any *
18 * applications linked with it is highly appreciated. *
20 * panels comes AS IS with no warranty, implied or expressed. *
22 ***************************************************************************/
24 /* panel.h -- interface file for panels library */
41 struct panelcons *obscure;
45 #if defined(__cplusplus)
49 extern WINDOW *panel_window(const PANEL *);
50 extern void update_panels(void);
51 extern int hide_panel(PANEL *);
52 extern int show_panel(PANEL *);
53 extern int del_panel(PANEL *);
54 extern int top_panel(PANEL *);
55 extern int bottom_panel(PANEL *);
56 extern PANEL *new_panel(WINDOW *);
57 extern PANEL *panel_above(const PANEL *);
58 extern PANEL *panel_below(const PANEL *);
59 extern int set_panel_userptr(PANEL *,const void *);
60 extern const void* panel_userptr(const PANEL *);
61 extern int move_panel(PANEL *, int, int);
62 extern int replace_panel(PANEL *,WINDOW *);
63 extern int panel_hidden(const PANEL *);
65 #if defined(__cplusplus)