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 / SpringBoxP.h.z / SpringBoxP.h
C/C++ Source or Header  |  1996-03-14  |  4KB  |  112 lines

  1. /*******************************************************************************
  2. ///////   Copyright 1992, Silicon Graphics, Inc.  All Rights Reserved.   ///////
  3. //                                                                            //
  4. // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;     //
  5. // the contents of this file may not be disclosed to third parties, copied    //
  6. // or duplicated in any form, in whole or in part, without the prior written  //
  7. // permission of Silicon Graphics, Inc.                                       //
  8. //                                                                            //
  9. // RESTRICTED RIGHTS LEGEND:                                                  //
  10. // Use,duplication or disclosure by the Government is subject to restrictions //
  11. // as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data     //
  12. // and Computer Software clause at DFARS 252.227-7013, and/or in similar or   //
  13. // successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -    //
  14. // rights reserved under the Copyright Laws of the United States.             //
  15. //                                                                            //
  16. *******************************************************************************/
  17. #ifndef _SgSpringBoxP_h
  18. #define _SgSpringBoxP_h
  19.  
  20.  
  21. #include "SpringBox.h"
  22. #include <Xm/BulletinBP.h>
  23.  
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27.  
  28. typedef struct _SgSpringBoxConstraintPart
  29. {
  30.     int  top, bottom, left, right;
  31.     int  vert, horiz;
  32.     Dimension  prefH, prefW;
  33.  
  34. #ifdef sgi
  35. /* Allow future extensions without breaking shared library compatibility */
  36.    caddr_t _SG_vendorExtension;
  37. #endif /* sgi */
  38. } SgSpringBoxConstraintPart, * SgSpringBoxConstraint;
  39.  
  40. typedef struct _SgSpringBoxConstraintRec
  41. {
  42.    XmManagerConstraintPart     manager;
  43.    SgSpringBoxConstraintPart   spring_box;
  44. } SgSpringBoxConstraintRec, * SgSpringBoxConstraintPtr;
  45.  
  46.  
  47. /*  SpringBox class structure  */
  48.  
  49. typedef struct _SgSpringBoxClassPart
  50. {
  51.    int foo;    /*  No new fields needed  */
  52. #ifdef sgi
  53. /* Allow future extensions without breaking shared library compatibility */
  54.    caddr_t _SG_vendorExtension;
  55. #endif /* sgi */
  56. } SgSpringBoxClassPart;
  57.  
  58.  
  59. /*  Full class record declaration for form class  */
  60.  
  61. typedef struct _SgSpringBoxClassRec
  62. {
  63.    CoreClassPart             core_class;
  64.    CompositeClassPart        composite_class;
  65.    ConstraintClassPart       constraint_class;
  66.    XmManagerClassPart        manager_class;
  67.    XmBulletinBoardClassPart  bulletin_board_class;
  68.    SgSpringBoxClassPart      spring_box_class;
  69. } SgSpringBoxClassRec;
  70.  
  71. externalref SgSpringBoxClassRec sgSpringBoxClassRec;
  72.  
  73. /*  The SpringBox instance record  */
  74.  
  75. typedef struct _SgSpringBoxPart
  76. {
  77.     unsigned char orientation;
  78.     Dimension  min_spacing;
  79.  
  80. #ifdef sgi
  81. /* Allow future extensions without breaking shared library compatibility */
  82.    caddr_t _SG_vendorExtension;
  83. #endif /* sgi */
  84. } SgSpringBoxPart;
  85.  
  86. /*  Full instance record declaration  */
  87.  
  88. typedef struct _SgSpringBoxRec
  89. {
  90.    CorePart            core;
  91.    CompositePart        composite;
  92.    ConstraintPart       constraint;
  93.    XmManagerPart        manager;
  94.    XmBulletinBoardPart  bulletin_board;
  95.    SgSpringBoxPart      spring_box;
  96. } SgSpringBoxRec;
  97.  
  98. /********    Private Function Declarations    ********/
  99. #ifdef _NO_PROTO
  100.  
  101. #else
  102.  
  103. #endif /* _NO_PROTO */
  104. /********    End Private Function Declarations    ********/
  105.  
  106. #ifdef __cplusplus
  107. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  108. #endif
  109.  
  110. #endif /* _SgSpringBoxP_h */
  111. /* DON'T ADD ANYTHING AFTER THIS #endif */
  112.