home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / x / volume14 / xchrom / part01 / Xchrom-1.6 / Xchrom.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-08-26  |  2.9 KB  |  162 lines

  1. /*
  2.  * Xchrom.h -- a CHROMACHRON clock widget. public header.
  3.  * Copyright (c) Olaf Heimburger 1990, 1991
  4.  * Last edited: Mon Aug 19 08:18:52 1991 by olafh (Olaf Heimburger) on gecko
  5.  */
  6. #ifndef _XtXchrom_h
  7. #define _XtXchrom_h
  8.  
  9. #define XARCMAGIC    64
  10. #define STARTCORNER  10
  11. #define NUMFIELDS    12
  12. #define SLICEANGLE   30
  13. #define STARTDEGREES 105
  14. #define MASKDEGREES  330
  15. #define SLICECOLOR   NUMFIELDS
  16. #define FRAMECOLOR   SLICECOLOR + 1
  17. #define SLICEMASK    NUMFIELDS
  18. #define MASKOFFSET   4
  19. #define MINSIZE      120
  20. #define MINWIDTH     MINSIZE
  21. #define MINHEIGHT    MINSIZE
  22.  
  23. #ifndef XtDefaultForeground
  24. #define XtDefaultForeground "Black"
  25. #endif
  26.  
  27. #ifndef XtNframeOffset
  28. #define XtNframeOffset  "frameOffset"
  29. #endif
  30.  
  31. #ifndef XtCFrameOffset
  32. #define XtCFrameOffset  "FrameOffset"
  33. #endif
  34.  
  35. #ifndef XtNmaskOffset
  36. #define XtNmaskOffset   "maskOffset"
  37. #endif
  38.  
  39. #ifndef XtCMaskOffset
  40. #define XtCMaskOffset   "MaskOffset"
  41. #endif
  42.  
  43. #ifndef XtNtimeOffset
  44. #define XtNtimeOffset   "timeOffset"
  45. #endif
  46.  
  47. #ifndef XtCTimeOffset
  48. #define XtCTimeOffset   "TimeOffset"
  49. #endif
  50.  
  51. #ifndef XtNcircularFrame
  52. #define XtNcircularFrame   "circularFrame"
  53. #endif
  54.  
  55. #ifndef XtCCircularFrame
  56. #define XtCCircularFrame   "CircularFrame"
  57. #endif
  58.  
  59. #ifndef XtNtwelveOClock
  60. #define XtNtwelveOClock "twelveOClock"
  61. #endif
  62.  
  63. #ifndef XtCTwelveOClock
  64. #define XtCTwelveOClock "TwelveOClock"
  65. #endif
  66.  
  67. #ifndef XtNoneOClock
  68. #define XtNoneOClock    "oneOClock"
  69. #endif
  70.  
  71. #ifndef XtCOneOClock
  72. #define XtCOneOClock    "OneOClock"
  73. #endif
  74.  
  75. #ifndef XtNtwoOClock
  76. #define XtNtwoOClock    "twoOClock"
  77. #endif
  78.  
  79. #ifndef XtCTwoOClock
  80. #define XtCTwoOClock    "TwoOClock"
  81. #endif
  82.  
  83. #ifndef XtNthreeOClock
  84. #define XtNthreeOClock  "threeOClock"
  85. #endif
  86.  
  87. #ifndef XtCThreeOClock
  88. #define XtCThreeOClock  "ThreeOClock"
  89. #endif
  90.  
  91. #ifndef XtNfourOClock
  92. #define XtNfourOClock   "fourOClock"
  93. #endif
  94.  
  95. #ifndef XtCFourOClock
  96. #define XtCFourOClock   "FourOClock"
  97. #endif
  98.  
  99. #ifndef XtNfiveOClock
  100. #define XtNfiveOClock   "fiveOClock"
  101. #endif
  102.  
  103. #ifndef XtCFiveOClock
  104. #define XtCFiveOClock   "FiveOClock"
  105. #endif
  106.  
  107. #ifndef XtNsixOClock
  108. #define XtNsixOClock    "sixOClock"
  109. #endif
  110.  
  111. #ifndef XtCSixOClock
  112. #define XtCSixOClock    "SixOClock"
  113. #endif
  114.  
  115. #ifndef XtNsevenOClock
  116. #define XtNsevenOClock  "sevenOClock"
  117. #endif
  118.  
  119. #ifndef XtCSevenOClock
  120. #define XtCSevenOClock  "SevenOClock"
  121. #endif
  122.  
  123. #ifndef XtNeightOClock
  124. #define XtNeightOClock  "eightOClock"
  125. #endif
  126.  
  127. #ifndef XtCEightOClock
  128. #define XtCEightOClock  "EightOClock"
  129. #endif
  130.  
  131. #ifndef XtNnineOClock
  132. #define XtNnineOClock   "nineOClock"
  133. #endif
  134.  
  135. #ifndef XtCNineOClock
  136. #define XtCNineOClock   "NineOClock"
  137. #endif
  138.  
  139. #ifndef XtNtenOClock
  140. #define XtNtenOClock    "tenOClock"
  141. #endif
  142.  
  143. #ifndef XtCTenOClock
  144. #define XtCTenOClock    "TenOClock"
  145. #endif
  146.  
  147. #ifndef XtNelevenOClock
  148. #define XtNelevenOClock "elevenOClock"
  149. #endif
  150.  
  151. #ifndef XtCElevenOClock
  152. #define XtCElevenOClock "ElevenOClock"
  153. #endif
  154.  
  155.  
  156. typedef struct _XchromRec *XchromWidget;
  157. typedef struct _XchromClassRec *XchromWidgetClass;
  158.  
  159. extern WidgetClass xchromWidgetClass;
  160.  
  161. #endif /* _XtXchrom_h */
  162.