panel.h (50276) | panel.h (56639) |
---|---|
1/**************************************************************************** 2 * Copyright (c) 1998 Free Software Foundation, Inc. * 3 * * 4 * Permission is hereby granted, free of charge, to any person obtaining a * 5 * copy of this software and associated documentation files (the * 6 * "Software"), to deal in the Software without restriction, including * 7 * without limitation the rights to use, copy, modify, merge, publish, * 8 * distribute, distribute with modifications, sublicense, and/or sell * --- 26 unchanged lines hidden (view full) --- 35 36#ifndef _PANEL_H 37#define _PANEL_H 38 39#include <curses.h> 40 41typedef struct panel 42{ | 1/**************************************************************************** 2 * Copyright (c) 1998 Free Software Foundation, Inc. * 3 * * 4 * Permission is hereby granted, free of charge, to any person obtaining a * 5 * copy of this software and associated documentation files (the * 6 * "Software"), to deal in the Software without restriction, including * 7 * without limitation the rights to use, copy, modify, merge, publish, * 8 * distribute, distribute with modifications, sublicense, and/or sell * --- 26 unchanged lines hidden (view full) --- 35 36#ifndef _PANEL_H 37#define _PANEL_H 38 39#include <curses.h> 40 41typedef struct panel 42{ |
43 WINDOW *win; 44 int wstarty; 45 int wendy; 46 int wstartx; 47 int wendx; 48 struct panel *below; 49 struct panel *above; 50 NCURSES_CONST void *user; 51 struct panelcons *obscure; 52} 53PANEL; | 43 WINDOW *win; 44 struct panel *below; 45 struct panel *above; 46 NCURSES_CONST void *user; 47} PANEL; |
54 55#if defined(__cplusplus) 56extern "C" { 57#endif 58 | 48 49#if defined(__cplusplus) 50extern "C" { 51#endif 52 |
59extern WINDOW *panel_window(const PANEL *); 60extern void update_panels(void); 61extern int hide_panel(PANEL *); 62extern int show_panel(PANEL *); 63extern int del_panel(PANEL *); 64extern int top_panel(PANEL *); 65extern int bottom_panel(PANEL *); 66extern PANEL *new_panel(WINDOW *); 67extern PANEL *panel_above(const PANEL *); 68extern PANEL *panel_below(const PANEL *); 69extern int set_panel_userptr(PANEL *, NCURSES_CONST void *); | 53extern WINDOW* panel_window(const PANEL *); 54extern void update_panels(void); 55extern int hide_panel(PANEL *); 56extern int show_panel(PANEL *); 57extern int del_panel(PANEL *); 58extern int top_panel(PANEL *); 59extern int bottom_panel(PANEL *); 60extern PANEL* new_panel(WINDOW *); 61extern PANEL* panel_above(const PANEL *); 62extern PANEL* panel_below(const PANEL *); 63extern int set_panel_userptr(PANEL *, NCURSES_CONST void *); |
70extern NCURSES_CONST void* panel_userptr(const PANEL *); | 64extern NCURSES_CONST void* panel_userptr(const PANEL *); |
71extern int move_panel(PANEL *, int, int); 72extern int replace_panel(PANEL *,WINDOW *); 73extern int panel_hidden(const PANEL *); | 65extern int move_panel(PANEL *, int, int); 66extern int replace_panel(PANEL *,WINDOW *); 67extern int panel_hidden(const PANEL *); |
74 75#if defined(__cplusplus) 76} 77#endif 78 79#endif /* _PANEL_H */ 80 81/* end of panel.h */ | 68 69#if defined(__cplusplus) 70} 71#endif 72 73#endif /* _PANEL_H */ 74 75/* end of panel.h */ |