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 / SpringBox.h.z / SpringBox.h
C/C++ Source or Header  |  1996-03-14  |  3KB  |  81 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.  
  18. #ifndef _SgSpringBox_h
  19. #define _SgSpringBox_h
  20.  
  21. #include <Xm/Xm.h>
  22.  
  23. #ifdef __cplusplus
  24. extern "C" {
  25. #endif
  26.  
  27. /*  SpringBox Widget  */
  28.  
  29. externalref WidgetClass sgSpringBoxWidgetClass;
  30.  
  31. typedef struct _SgSpringBoxClassRec * SgSpringBoxWidgetClass;
  32. typedef struct _SgSpringBoxRec      * SgSpringBoxWidget;
  33.  
  34. /* ifndef for Fast Subclassing  */
  35.  
  36. #ifndef SgIsSpringBox
  37. #define SgIsSpringBox(w)    XtIsSubclass(w, sgSpringBoxWidgetClass)
  38. #endif  /* SgIsSpringBox */
  39.  
  40. /********    Public Function Declarations    ********/
  41. #ifdef _NO_PROTO
  42.  
  43. extern Widget SgCreateSpringBox() ;
  44. extern Widget SgCreateSpringBoxDialog() ;
  45.  
  46. #else
  47.  
  48. extern Widget SgCreateSpringBox( 
  49.                         Widget parent,
  50.                         char *name,
  51.                         ArgList arglist,
  52.                         Cardinal argcount) ;
  53. extern Widget SgCreateSpringBoxDialog( 
  54.                         Widget parent,
  55.                         char *name,
  56.                         ArgList arglist,
  57.                         Cardinal argcount) ;
  58.  
  59. #endif /* _NO_PROTO */
  60. /********    End Public Function Declarations    ********/
  61.  
  62.  
  63. #define XmNtopSpring         "topSpring"
  64. #define XmNbottomSpring      "bottomSpring"
  65. #define XmNleftSpring        "leftSpring"
  66. #define XmNrightSpring       "rightSpring"
  67.  
  68. #define XmNverticalSpring    "verticalSpring"
  69. #define XmNhorizontalSpring  "horizontalSpring"
  70. #define XmCSpring            "Spring"
  71.  
  72. #define XmNminSpacing         "minSpacing"
  73.  
  74. #ifdef __cplusplus
  75. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  76. #endif
  77.  
  78.  
  79. #endif /* _SgSpringBox_h */
  80. /* DON'T ADD ANYTHING AFTER THIS #endif */
  81.