home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1999 March B / SCO_CASTOR4RRT.iso / uccs / root.14 / udk / usr / include / panel.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-19  |  1.5 KB  |  61 lines

  1. /*
  2.  * Copyright (c) 1998 The Santa Cruz Operation, Inc.. All Rights Reserved. 
  3.  *                                                                         
  4.  *        THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF THE               
  5.  *                   SANTA CRUZ OPERATION INC.                             
  6.  *                                                                         
  7.  *   The copyright notice above does not evidence any actual or intended   
  8.  *   publication of such source code.                                      
  9.  */
  10.  
  11. #ifndef PANEL_H
  12. #define PANEL_H
  13. #ident    "@(#)libeti:panel/panel.h    1.5.1.1"
  14.  
  15. #include <curses.h>
  16.  
  17. typedef struct _obscured_list
  18.     {
  19.         struct PANEL    *panel_p;
  20.         int    start, end;
  21.         struct _obscured_list    *next;
  22.     } _obscured_list;
  23.  
  24. typedef struct PANEL
  25.     {
  26.         WINDOW    *win;
  27.         int    wstarty;
  28.         int    wendy;
  29.         int    wstartx;
  30.         int    wendx;
  31.         struct _obscured_list    *obscured;
  32.         struct PANEL    *below, *above;
  33.         char    *user;
  34.     } PANEL;
  35.  
  36. #ifdef __cplusplus
  37. extern "C" {
  38. #endif
  39.  
  40. extern PANEL    *new_panel(WINDOW *);
  41. extern int    del_panel(PANEL *);
  42. extern int    hide_panel(PANEL *);
  43. extern int    show_panel(PANEL *);
  44. extern int    panel_hidden(PANEL *);
  45. extern int    move_panel(PANEL *, int, int);
  46. extern int    replace_panel(PANEL *, WINDOW *);
  47. extern int    top_panel(PANEL *);
  48. extern int    bottom_panel(PANEL *);
  49. extern void    update_panels(void);
  50. extern WINDOW    *panel_window(PANEL *);
  51. extern int    set_panel_userptr(PANEL *, char *);
  52. extern char    *panel_userptr(PANEL *);
  53. extern PANEL    *panel_above(PANEL *);
  54. extern PANEL    *panel_below(PANEL *);
  55.  
  56. #ifdef __cplusplus
  57. }
  58. #endif
  59.  
  60. #endif /* PANEL_H */
  61.