home *** CD-ROM | disk | FTP | other *** search
/ IRIS Development Option 6.2 / IRIS_Development_Option_6.2_814-0478-001.iso / dist / motif_dev.idb / usr / include / Sgm / DropPocketP.h.z / DropPocketP.h
C/C++ Source or Header  |  1996-03-14  |  2KB  |  89 lines

  1. #ifndef _SGDROPPOCKETP_H
  2. #define _SGDROPPOCKETP_H
  3.  
  4. #include <Xm/XmP.h>
  5. #include <limits.h>
  6. #include <Xm/PrimitiveP.h>
  7. #include <Xm/DragDrop.h>
  8. #include <oz/fileicon.h>
  9. #include <errno.h>
  10. #include <Sgm/DropPocket.h>
  11.  
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15.  
  16. /*  DropPocket widget class Part */
  17.  
  18. typedef struct
  19. {
  20.   int foo;   /* does nothing */
  21. #ifdef __sgi
  22. /* Allow future extensions without breaking shared library compatibility */
  23.   caddr_t _SG_vendorExtension;
  24. #endif /* __sgi */
  25. } SgDropPocketClassPart;
  26.  
  27.  
  28. /* Class record declaration */
  29.  
  30. typedef struct _SgDropPocketClassRec
  31. {
  32.     CoreClassPart        core_class;
  33.     XmPrimitiveClassPart    primitive_class;
  34.     SgDropPocketClassPart   dropPocketClass;
  35. } SgDropPocketClassRec;
  36.  
  37. externalref SgDropPocketClassRec sgDropPocketClassRec;
  38.  
  39. /* Icon data structure for internal use */
  40. typedef struct _Icon
  41. {
  42.   fiIconType type;
  43.   Boolean valid;
  44.   float sx, sy;
  45. } SgIcon;
  46.  
  47.  
  48. typedef struct
  49. {
  50.   String iconDataBasePath;
  51.   XmString name;
  52.   Boolean loadedDataBase;
  53.   fiFileIconDB iconDB;
  54.   SgIcon icon;
  55.   GC gc;
  56.   Pixel normalPixel;
  57.   Pixel activePixel;
  58.   Atom _SGI_ICON;
  59.  
  60.   XtCallbackList iconUpdateCallback;
  61.   Pixmap drag_pixmap;
  62.   Pixmap drag_pixmap_mask;
  63.  
  64. #ifdef __sgi
  65. /* Allow future extensions without breaking shared library compatibility */
  66.     caddr_t _SG_vendorExtension;
  67. #endif /* __sgi */
  68. } SgDropPocketPart;
  69.  
  70.  
  71. /* DropPocket widget instance Record */
  72.  
  73.  
  74. typedef struct _SgDropPocketRec
  75. {
  76.     CorePart        core;
  77.     XmPrimitivePart        primitive;
  78.     SgDropPocketPart        dropPocket;
  79. } SgDropPocketRec;
  80.  
  81.  
  82.  
  83. #ifdef __cplusplus
  84. }   /* Closes 'extern "C"' for C++. */
  85. #endif
  86.  
  87. #endif /* _SGDROPPOCKETP_H */
  88. /* DON'T ADD ANYTHING AFTER THIS */
  89.