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 / VisualDrawingA.h.z / VisualDrawingA.h
C/C++ Source or Header  |  1996-03-14  |  2KB  |  64 lines

  1. /***************************************************
  2.  * VisualDrawingA.h: Public header  for the visual drawing area widget.
  3.  ***************************************************/
  4. #ifndef _SgVisualDrawingArea_h
  5. #define _SgVisualDrawingArea_h
  6.  
  7. #include <Xm/Xm.h>
  8. #include <Xm/DrawingA.h>
  9.  
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13.  
  14. /* Class record constants */
  15.  
  16. externalref WidgetClass sgVisualDrawingAreaWidgetClass;
  17.  
  18. typedef struct _SgVisualDrawingAreaClassRec * SgVisualDrawingAreaWidgetClass;
  19. typedef struct _SgVisualDrawingAreaRec      * SgVisualDrawingAreaWidget;
  20.  
  21.  
  22. #ifndef SgIsVisualDrawingArea
  23. #define SgIsVisualDrawingArea(w)  (XtIsSubclass (w, sgVisualDrawingAreaWidgetClass))
  24. #endif
  25.  
  26.  
  27.  
  28. /********    Public Function Declarations    ********/
  29. #ifdef _NO_PROTO
  30.  
  31. extern Widget SgCreateVisualDrawingArea() ;
  32. extern void SgVisualDrawingAreaInstallColormap();
  33. extern void SgVisualDrawingAreaUninstallColormap();
  34.  
  35. #else
  36.  
  37. extern Widget SgCreateVisualDrawingArea( 
  38.                         Widget p,
  39.                         String name,
  40.                         ArgList args,
  41.                         Cardinal n) ;
  42. extern void SgVisualDrawingAreaInstallColormap(Widget w);
  43. extern void SgVisualDrawingAreaUninstallColormap(Widget w);
  44.  
  45. #endif /* _NO_PROTO */
  46. /********    End Public Function Declarations    ********/
  47.  
  48. /* new resource declarations */
  49. #ifndef SgNinstallColormap
  50. #define SgNinstallColormap "installColormap"
  51. #define SgCInstallColormap "InstallColormap"
  52. #endif
  53. #ifndef SgNditherBackground
  54. #define SgNditherBackground "ditherBackground"
  55. #define SgCDitherBackground "DitherBackground"
  56. #endif
  57.  
  58. #ifdef __cplusplus
  59. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  60. #endif
  61.  
  62. #endif /* _SgVisualDrawingArea_h */
  63. /* DON'T ADD ANYTHING AFTER THIS #endif */
  64.