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 / DropPocket.h.z / DropPocket.h
C/C++ Source or Header  |  1996-03-14  |  1KB  |  82 lines

  1. #ifndef _SGDROPPOCKET_H
  2. #define _SGDROPPOCKET_H
  3.  
  4. #include <Xm/Xm.h>
  5.  
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9.  
  10.  
  11. /* resource names */
  12. #ifndef SgNname
  13. #define SgNname "name"
  14. #endif
  15.  
  16. #ifndef SgCName
  17. #define SgCName "Name"
  18. #endif
  19.  
  20. #ifndef SgNactivePixel
  21. #define SgNactivePixel "activePixel"
  22. #endif
  23.  
  24. #ifndef SgCActivePixel
  25. #define SgCActivePixel "ActivePixel"
  26. #endif
  27.  
  28. #ifndef SgNiconDataBasePath
  29. #define SgNiconDataBasePath "iconDataBasePath"
  30. #endif
  31.  
  32. #ifndef SgCIconDataBasePath
  33. #define SgCIconDataBasePath "IconDataBasePath"
  34. #endif
  35.  
  36. #ifndef SgNiconUpdateCallback
  37. #define SgNiconUpdateCallback "iconUpdateCallback"
  38. #endif
  39.  
  40. #ifndef SgCR_ICON_CHANGE
  41. #define SgCR_ICON_CHANGE 0x5f
  42. #endif
  43.  
  44.  
  45. /* Class record constants */
  46.  
  47. externalref WidgetClass sgDropPocketWidgetClass;
  48.  
  49. typedef struct _SgDropPocketClassRec * SgDropPocketWidgetClass;
  50. typedef struct _SgDropPocketRec      * SgDropPocketWidget;
  51.  
  52.  
  53. #ifndef SgIsDropPocket
  54. #define SgIsDropPocket(w)  (XtIsSubclass (w, sgDropPocketWidgetClass))
  55. #endif
  56.  
  57. /*    Callback structure declaration  */
  58.  
  59. typedef struct
  60. {
  61.     int     reason;
  62.     XEvent  *event;
  63.     Window  window;
  64.     XmString iconName;
  65.     char *  iconData;
  66. } SgDropPocketCallbackStruct;
  67.  
  68.  
  69. /*    Public Function Declarations    */
  70.  
  71. extern Widget SgCreateDropPocket( Widget p, String name, ArgList args, Cardinal n) ;
  72.  
  73.  
  74. #ifdef __cplusplus
  75. }  /* Closes 'extern "C"' for C++. */
  76. #endif
  77.  
  78. #endif /* _SGDROPPOCKET_H */
  79. /* DON'T ADD ANYTHING AFTER THIS */
  80.  
  81.  
  82.