home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.mdf / SourceCode / Palettes / PSAction / PSActionExample / PSActionExample.nib / data.nib (.txt) < prev   
Encoding:
NeXT TypedStream Data  |  1993-10-10  |  7.7 KB  |  147 lines

  1. typedstream
  2. IBObjectData
  3. Object
  4. CustomObject
  5. Application
  6. Slider
  7. Control
  8.     Responder
  9. SliderCell
  10. ActionCell
  11.     Helvetica
  12. dddf@d@2
  13.     TextField
  14. TextFieldCell
  15. 5/radius exch def
  16. 50 50 radius 0 360 arc
  17. stroke
  18. radius
  19. CustomView
  20. _(This number is what would
  21. be sent to your program.
  22. The PostScript circle code
  23. is hidden text.)
  24. Select a Radius
  25. Helvetica-Bold
  26. ScrollView
  27. ClipView
  28. ciifffcfffs
  29. [119c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
  30. \margl40
  31. \margr40
  32. \f0\b0\i0\ulnone\ql\fs24\fi0\li0\gray0\fc0\cf0\up0\dn0 
  33. NXCursor
  34. NXImage
  35. NXibeam
  36. Scroller
  37. _doScroller:
  38. @@@ffs
  39. 9 mul
  40. 5 div
  41. 32 add
  42. 32 sub
  43. 5 mul
  44. 9 div
  45. /(Sliders cross connected
  46. with hidden formulas.)
  47. Select a Temperature
  48. medium
  49. [(low)(medium)(high)]
  50. exch get
  51. three
  52. ,[(one)
  53. (two)
  54. (three)
  55. (four)
  56. (five)]
  57. exch get
  58. -(PSAction object used
  59. to convert data types.)
  60. Select a Level
  61. 2 exch exp
  62. +(A non-linear slider
  63. PS code left visible.)
  64. Pick a Power of Two
  65. [314c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
  66. \margl40
  67. \margr40
  68. \grayb333\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs18\fc0\cf0 10 setlinewidth\
  69. 0 setgray\
  70. 0 10 moveto \
  71. dup 100 mul 10 lineto\
  72. stroke\
  73. 0.666 setgray\
  74. dup 100 mul 10 moveto\
  75. 50 10 lineto\
  76. stroke\
  77. [325c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
  78. \margl40
  79. \margr40
  80. \grayb333\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs18\gray1000\fc0\cf0 10 setlinewidth\
  81. 1 setgray\
  82. 100 10 moveto \
  83. dup 100 mul 10 lineto\
  84. stroke\
  85. 0.666 setgray\
  86. dup 100 mul 10 moveto\
  87. 50 10 lineto\
  88. stroke\
  89. Set a Range
  90. Pick a Shade
  91. 0.666
  92. setgray
  93. clippath
  94. Title
  95. J(A variation on the circle
  96. example -- the PostScript
  97. is visiblethis time.)
  98. MenuCell
  99. ButtonCell
  100. Matrix
  101. @:@iiii
  102. [4@]e
  103. Copyi
  104. Pastei
  105. Select Alli
  106. ff@@#::s
  107. PSAction
  108. MenuTemplate
  109. *@*@ccc
  110. PSActionExample
  111. Info...i
  112. Editi
  113. submenuAction:
  114. NXmenuArrow
  115. Hidei
  116. Quiti
  117. WindowTemplate
  118. iiii***@s@
  119. PSAction Palette Examples
  120. Window
  121. one thru five
  122. File's Owner
  123. UpperRange
  124. Power of 2
  125. Radius
  126. F to C
  127. Shade
  128. C to F
  129. high med low
  130. MainMenu
  131. Examples
  132. LowerRange
  133. [46@]
  134. IBControlConnector
  135. IBConnector
  136. copy:
  137. paste:
  138. selectAll:
  139. terminate:
  140. hide:
  141. takeIntValueFrom:
  142. IBOutletConnector
  143. target
  144. errors
  145. script
  146. takeFloatValueFrom:
  147.