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 / Arc.h.z / Arc.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 _SgArc_h
  18. #define _SgArc_h
  19.  
  20. #if defined(__cplusplus) || defined(c_plusplus)
  21. extern "C" {
  22. #endif
  23.  
  24. externalref WidgetClass sgArcWidgetClass;
  25. typedef struct _SgArcClassRec *SgArcWidgetClass;
  26. typedef struct _SgArcRec      *SgArcWidget;
  27.  
  28. /*#define  XmARC_BIT    (1<<29) */
  29.  
  30. #define SgIsArc(w)  XtIsSubclass(w, sgArcWidgetClass)
  31.  
  32.  
  33. #define XmNlabel        "label"
  34. #define XmNarcEditedCallback    "arcEditedCallback"
  35. #define XmNaddArcCallback       "addArcCallback"
  36. #define XmNto                "to"
  37. #define XmCTo                    "To"
  38. #define XmNfrom                "from"
  39. #define XmCFrom                     "From"
  40. #define XmNmapLabel             "mapLabel"
  41. #define XmCMapLabel             "MapLabel"
  42. #define XmNdelta        "delta"
  43. #define XmCDelta        "Delta"
  44. #define XmNarcDirection        "arcDirection" /* XmCDirection class */
  45. #define XmNattribute        "attribute"
  46.  
  47. #define XmNtoPosition        "toPosition"
  48. #define XmNfromPosition        "fromPosition"
  49. #define XmNtoSide        "toSide"
  50. #define XmNfromSide        "fromSide"
  51. #define XmCSide                "Side"
  52.  
  53. #define XmNstyle                "style"
  54. #define XmCStyle                "Style"
  55. #define XmRLineStyle             "LineStyle"
  56. #define XmNcapStyle             "capStyle"
  57. #define XmCCapStyle             "CapStyle"
  58. #define XmRCapStyle             "CapStyle"
  59. #define XmNdashes               "dashes"
  60. #define XmCDashes               "Dashes"
  61. #define XmNdashOffset           "dashOffset"
  62. #define XmCDashOffset           "DashOffset"
  63. #define XmCDirection            "Direction"
  64. #define XmRArcDirection         "ArcDirection"
  65. #define XmNarcWidth             "arcWidth"
  66. #define XmCArcWidth             "ArcWidth"
  67. #define XmCAttribute             "Attribute"
  68.  
  69. #define XmLEFT    0
  70. #define XmRIGHT   1
  71. #define XmBOTTOM  2
  72. #define XmTOP     3
  73.  
  74.  
  75. #ifndef _NO_PROTO
  76.  
  77. extern Widget SgCreateArc(Widget,String,ArgList,Cardinal);
  78. extern Widget SgCreateAttachedArc(Widget,String,Widget, Widget, ArgList,Cardinal);
  79. extern void SgArcGetPos(Widget, Position *, Position *, Position *, Position *);
  80. #else    /* _NO_PROTO */
  81.  
  82. extern Widget SgCreateArc();
  83. extern Widget SgCreateAttachedArc();
  84. extern void SgArcGetPos();
  85. #endif  /* _NO_PROTO */
  86.  
  87.  
  88. #define XmBIDIRECTED  0
  89. #define XmDIRECTED    1
  90. #define XmUNDIRECTED  2
  91.  
  92. #define XmLineSolid               0
  93. #define XmLineOnOffDash           1
  94. #define XmLineDoubleDash          2
  95.  
  96.  
  97. #define XmCapNotLast              0
  98. #define XmCapButt                 1
  99. #define XmCapRound                2
  100. #define XmCapProjecting           3
  101.  
  102. #if defined(__cplusplus) || defined(c_plusplus)
  103. }
  104. #endif
  105.  
  106. #endif /* _SgArc_h */
  107. /* DON'T ADD ANYTHING AFTER THIS #endif */
  108.  
  109.  
  110.  
  111.  
  112.