diff options
Diffstat (limited to 'lib/libpanel/panel.h')
-rw-r--r-- | lib/libpanel/panel.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libpanel/panel.h b/lib/libpanel/panel.h index 8c9b6b92047..2f917827459 100644 --- a/lib/libpanel/panel.h +++ b/lib/libpanel/panel.h @@ -37,7 +37,7 @@ typedef struct panel int wendx; struct panel *below; struct panel *above; - char *user; + const void *user; struct panelcons *obscure; } PANEL; @@ -46,7 +46,7 @@ PANEL; extern "C" { #endif -extern WINDOW *panel_window(PANEL *); +extern WINDOW *panel_window(const PANEL *); extern void update_panels(void); extern int hide_panel(PANEL *); extern int show_panel(PANEL *); @@ -54,13 +54,13 @@ extern int del_panel(PANEL *); extern int top_panel(PANEL *); extern int bottom_panel(PANEL *); extern PANEL *new_panel(WINDOW *); -extern PANEL *panel_above(PANEL *); -extern PANEL *panel_below(PANEL *); -extern int set_panel_userptr(PANEL *,char *); -extern char *panel_userptr(PANEL *); +extern PANEL *panel_above(const PANEL *); +extern PANEL *panel_below(const PANEL *); +extern int set_panel_userptr(PANEL *,const void *); +extern const void* panel_userptr(const PANEL *); extern int move_panel(PANEL *, int, int); extern int replace_panel(PANEL *,WINDOW *); -extern int panel_hidden(PANEL *); +extern int panel_hidden(const PANEL *); #if defined(__cplusplus) } |