home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / file / managers / mc-3.2 / mc-3 / mc-3.2.1 / xv / paneltext.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-17  |  1.3 KB  |  52 lines

  1. /* Paneltext XView package - public declarations
  2.    Copyright (C) 1995 Jakub Jelinek.
  3.    
  4.    This program is free software; you can redistribute it and/or modify
  5.    it under the terms of the GNU General Public License as published by
  6.    the Free Software Foundation; either version 2 of the License, or
  7.    (at your option) any later version.
  8.    
  9.    This program is distributed in the hope that it will be useful,
  10.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12.    GNU General Public License for more details.
  13.  
  14.    You should have received a copy of the GNU General Public License
  15.    along with this program; if not, write to the Free Software
  16.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  17.  
  18.  
  19. #ifndef PANELTEXT_DEFINED
  20. #define PANELTEXT_DEFINED
  21.  
  22. #include <xview/generic.h>
  23. #include <xview/panel.h>
  24.  
  25. /*
  26.  * type
  27.  */
  28. typedef Xv_opaque Paneltext;
  29.  
  30. /*
  31.  * package
  32.  */
  33.  
  34. extern Xv_pkg       paneltext_pkg;
  35. #define PANELTEXT    &paneltext_pkg
  36.  
  37. /*
  38.  * attributes
  39.  */
  40. #define ATTR_PANELTEXT    ATTR_PKG_UNUSED_LAST-22
  41. #define PANELTEXT_ATTR(type, ordinal)    ATTR(ATTR_PANELTEXT, type, ordinal)
  42.  
  43. typedef enum {
  44.  
  45.     PANELTEXT_NOTIFY    = PANELTEXT_ATTR(ATTR_FUNCTION_PTR,    1),
  46.     PANELTEXT_CARETPOS    = PANELTEXT_ATTR(ATTR_INT,        2),
  47.  
  48. } Paneltext_attr;
  49.  
  50. #endif
  51.  
  52.