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

  1. /***************************************************
  2.  * VisualDrawingA.h: Private header for the visual drawing area widget.
  3.  ***************************************************/
  4. #ifndef _SgVisualDrawingAreaP_h
  5. #define _SgVisualDrawingAreaP_h
  6.  
  7. #include <Xm/ManagerP.h>
  8. #include <Xm/DrawingAP.h>
  9. #include "VisualDrawingA.h"
  10.  
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14.  
  15. /*  New fields for the VisualDrawingArea widget class record  */
  16.  
  17. typedef struct
  18. {
  19.    int mumble;   /* No new procedures */
  20. } SgVisualDrawingAreaClassPart;
  21.  
  22.  
  23. /* Full class record declaration */
  24.  
  25. typedef struct _SgVisualDrawingAreaClassRec
  26. {
  27.     CoreClassPart        core_class;
  28.     CompositeClassPart    composite_class;
  29.     ConstraintClassPart    constraint_class;
  30.     XmManagerClassPart    manager_class;
  31.     XmDrawingAreaClassPart    drawing_area_class;
  32.     SgVisualDrawingAreaClassPart    visual_drawing_area_class;
  33. } SgVisualDrawingAreaClassRec;
  34.  
  35. externalref SgVisualDrawingAreaClassRec sgVisualDrawingAreaClassRec;
  36.  
  37.  
  38. /* New fields for the VisualDrawingArea widget record */
  39.  
  40. typedef struct
  41. {
  42.     Visual *visual;
  43.     Boolean    installColormap;/* Install the colormap */
  44.     Boolean ditherBackground; /* Dither background to obtain better match*/
  45.     Widget parentShell;
  46.     Boolean override;    /* true if shell is override redirect */
  47.     Colormap* savedColormaps;    /* used with override redirect */
  48.     int numSavedColormaps;
  49.     Boolean colormapInstalled;    /* colormap is actually installed */
  50.     char *backgroundString;    /* string name of background resource */
  51. } SgVisualDrawingAreaPart;
  52.  
  53.  
  54. /****************************************************************
  55.  *
  56.  * Full instance record declaration
  57.  *
  58.  ****************************************************************/
  59.  
  60. typedef struct _SgVisualDrawingAreaRec
  61. {
  62.     CorePart        core;
  63.     CompositePart        composite;
  64.     ConstraintPart        constraint;
  65.     XmManagerPart        manager;
  66.     XmDrawingAreaPart    drawing_area;
  67.     SgVisualDrawingAreaPart    visual_drawing_area;
  68. } SgVisualDrawingAreaRec;
  69.  
  70.  
  71.  
  72. /********    End Private Function Declarations    ********/
  73.  
  74.  
  75. #ifdef __cplusplus
  76. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  77. #endif
  78.  
  79. #endif /* _SgVisualDrawingAreaP_h */
  80. /* DON'T ADD ANYTHING AFTER THIS #endif */
  81.