home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / XAP / XFILEMAN / XFILEMAN.TAR / xfilemanager / Icon.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-09-22  |  2.6 KB  |  76 lines

  1. /***********************************************************
  2. Copyright 1993 by Ove Kalkan
  3.  
  4.                         All Rights Reserved
  5.  
  6. Permission to use, copy, modify, and distribute this software and its 
  7. documentation for any purpose and without fee is hereby granted, 
  8. provided that the above copyright notice appear in all copies and that
  9. both that copyright notice and this permission notice appear in 
  10. supporting documentation, and that the names of Digital or MIT not be
  11. used in advertising or publicity pertaining to distribution of the
  12. software without specific, written prior permission.  
  13.  
  14. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  15. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  16. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  17. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  18. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  19. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  20. SOFTWARE.
  21.  
  22. ******************************************************************/
  23.  
  24. #ifndef _XslIcon_h
  25. #define _XslIcon_h
  26.  
  27. /***********************************************************************
  28.  *
  29.  * Icon Widget
  30.  *
  31.  ***********************************************************************/
  32.  
  33. #include <X11/Xaw/Simple.h>
  34.  
  35. /* Resources:
  36.  
  37.  Name             Class        RepType        Default Value
  38.  ----             -----        -------        -------------
  39.  background         Background        Pixel        XtDefaultBackground
  40.  border             BorderColor    Pixel        XtDefaultForeground
  41.  borderWidth         BorderWidth    Dimension    1
  42.  cursor             Cursor        Cursor        None
  43.  cursorName         Cursor        String        NULL
  44.  destroyCallback     Callback        XtCallbackList    NULL
  45.  height             Height        Dimension    text height
  46.  insensitiveBorder   Insensitive    Pixmap        Gray
  47.  justify         Justify        XtJustify    XtJustifyCenter
  48.  mappedWhenManaged   MappedWhenManaged    Boolean        True
  49.  pointerColor         Foreground        Pixel        XtDefaultForeground
  50.  pointerColorBackground Background    Pixel        XtDefaultBackground
  51.  sensitive         Sensitive        Boolean        True
  52.  width             Width        Dimension    text width
  53.  x             Position        Position    0
  54.  y             Position        Position    0
  55.  
  56.  image             Pixmap        Pixmap        NULL
  57.  shape             Pixmap        Pixmap        NULL
  58.  imageWidth         Width        Dimension    0
  59.  imageHeight         Height        Dimension    0
  60. */
  61.  
  62. #define    XtNimage    "image"
  63. #define    XtNshape    "shape"
  64. #define    XtNimageWidth    "imageWidth"
  65. #define    XtNimageHeight    "imageHeight"
  66.  
  67. /* Class record constants */
  68.  
  69. extern WidgetClass iconWidgetClass;
  70.  
  71. typedef struct _IconClassRec *IconWidgetClass;
  72. typedef struct _IconRec      *IconWidget;
  73.  
  74. #endif /* _XslIcon_h */
  75. /* DON'T ADD STUFF AFTER THIS #endif */
  76.