home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / multimedia / scala / HELP / TEXT1.SCA < prev    next >
Encoding:
Text File  |  1996-05-14  |  8.9 KB  |  223 lines

  1. !ScalaScript
  2. {
  3. Sequence:
  4. :"SubScript"
  5. {
  6. Group:
  7. BoxX.1=139;
  8. BoxY.1=40;
  9. BoxX.2=0;
  10. BoxY.2=0;
  11. BoxX=BoxX.1;
  12. BoxY=BoxY.1;
  13. BoxW=360;
  14. BoxH=260;
  15. Descr="Click a button to get information about it!";
  16. Display(Size(640,480),Face(RGB(170)),UserPalette(RGBPen(1,0,16777215,12632256,5592405,8553090,11184810,10066329)));
  17. Clip(0,312,"scala:\help\graphics\text.gif",transparent(off));
  18. Clip(20,20,"scala:\help\graphics\clip-txt.gif");
  19. pagename="Design Text menu";
  20. pagedescr="Lets you create and modify text elements on a page.";
  21. descr="Click a button to get information about it!";
  22. title="";
  23. Button(Normal(Box(0,312,639,25,Style(Norm))),Highlight(Box(0,312,639,25,Style(High))),Select(Box(0,312,639,25,Style(Sel)),Use(titlebar)));
  24. Button(Normal(Box(620,312,19,25,Style(Norm))),Highlight(Box(620,312,19,25,Style(High))),Select(Box(620,312,19,25,Style(Sel)),Use(infobutton)));
  25. Button(Normal(Box(4,360,631,25,Style(Norm))),Highlight(Box(4,360,631,25,Style(High))),Select(Box(4,360,631,25,Style(Sel)),Use(colorbar)));
  26. Button(Normal(Box(4,390,101,55,Style(Norm))),Highlight(Box(4,390,101,55,Style(High))),Select(Box(4,390,101,55,Style(Sel)),Use(inoutwipes)));
  27. Button(Normal(Box(110,390,101,25,Style(Norm))),Highlight(Box(110,390,101,25,Style(High))),Select(Box(110,390,101,25,Style(Sel)),Use(front)));
  28. Button(Normal(Box(216,390,101,25,Style(Norm))),Highlight(Box(216,390,101,25,Style(High))),Select(Box(216,390,101,25,Style(Sel)),Use(shadow)));
  29. Button(Normal(Box(322,390,101,25,Style(Norm))),Highlight(Box(322,390,101,25,Style(High))),Select(Box(322,390,101,25,Style(Sel)),Use(outline)));
  30. Button(Normal(Box(428,390,207,25,Style(Norm))),Highlight(Box(428,390,207,25,Style(High))),Select(Box(428,390,207,25,Style(Sel)),Use(multistyle)));
  31. Button(Normal(Box(110,420,313,25,Style(Norm))),Highlight(Box(110,420,313,25,Style(High))),Select(Box(110,420,313,25,Style(Sel)),Use(font)));
  32. Button(Normal(Box(428,420,30,25,Style(Norm))),Highlight(Box(428,420,30,25,Style(High))),Select(Box(428,420,30,25,Style(Sel)),Use(bold)));
  33. Button(Normal(Box(464,420,30,25,Style(Norm))),Highlight(Box(464,420,30,25,Style(High))),Select(Box(464,420,30,25,Style(Sel)),Use(italic)));
  34. Button(Normal(Box(499,420,30,25,Style(Norm))),Highlight(Box(499,420,30,25,Style(High))),Select(Box(499,420,30,25,Style(Sel)),Use(underline)));
  35. Button(Normal(Box(534,420,101,25,Style(Norm))),Highlight(Box(534,420,101,25,Style(High))),Select(Box(534,420,101,25,Style(Sel)),Use(alignment)));
  36. Button(Normal(Box(4,450,101,25,Style(Norm))),Highlight(Box(4,450,101,25,Style(High))),Select(Box(4,450,101,25,Style(Sel)),Use(preview)));
  37. Button(Normal(Box(110,450,101,25,Style(Norm))),Highlight(Box(110,450,101,25,Style(High))),Select(Box(110,450,101,25,Style(Sel)),Use(editpopup)));
  38. Button(Normal(Box(216,450,207,25,Style(Norm))),Highlight(Box(216,450,207,25,Style(High))),Select(Box(216,450,207,25,Style(Sel)),Use(designpopup)));
  39. Button(Normal(Box(428,450,101,25,Style(Norm))),Highlight(Box(428,450,101,25,Style(High))),Select(Box(428,450,101,25,Style(Sel)),Use(okbutton)));
  40. Button(Normal(Box(534,450,101,25,Style(Norm))),Highlight(Box(534,450,101,25,Style(High))),Select(Box(534,450,101,25,Style(Sel)),Use(cancelbutton)));
  41. Button(Normal(Box(0,338,640,18,Style(Norm))),Highlight(Box(0,338,640,18,Style(High))),Select(Box(0,338,640,18,Style(Sel)),Use(tabmargins)));
  42. Wait();
  43. Sequence:
  44. Use(SetUp);
  45. Use(DrawBox);
  46. Resources:
  47. :titlebar
  48. {
  49. title="Text menu title bar";
  50. text[1]="Displays the name of the current page. Use the Page Switcher to move to other pages in the script without exiting the Text menu. All changes made to a page are automatically confirmed before moving.";
  51. descr=text[1];
  52. block=1;
  53. max=1;
  54. Use(SetPos);
  55. }
  56. :infobutton
  57. {
  58. title="Information button";
  59. text[1]="Switches Scala into Help mode. ";
  60. descr=text[1];
  61. block=1;
  62. max=1;
  63. Use(SetPos);
  64. }
  65. :colorbar
  66. {
  67. title="Color bar";
  68. text[1]="Lets you choose colors for text and styles and move between color sets in the User palette. Click on a color, then click on a color chip in one of the style buttons below. Switch from one color set to the next using the Color Set Switcher.";
  69. descr=text[1];
  70. block=1;
  71. max=1;
  72. Use(SetPos);
  73. }
  74. :inoutwipes
  75. {
  76. title="In, Out";
  77. text[1]="Display the icons of the text element's In and Out wipes, if any. Click either button to bring up the Element Wipe menu. You can apply wipes to as many elements as necessary before exiting the Wipe menu.";
  78. descr=text[1];
  79. block=1;
  80. max=1;
  81. Use(SetPos);
  82. }
  83. :front
  84. {
  85. title="Front button ";
  86. text[1]="Applies the color shown in its color chip to a text element. To change the color, select a color from the color bar and then click the Face color chip. The button appears pressed when it is on. When it is off, the text is transparent. You can turn Front off only if Shadow or Outline is on, to prevent text from becoming invisible.";
  87. descr=text[1];
  88. block=1;
  89. max=1;
  90. Use(SetPos);
  91. }
  92. :shadow
  93. {
  94. title="Shadow";
  95. text[1]="Adds a shadow beneath selected text. To change the color, select a color from the color bar and then click the Shadow color chip. The button appears pressed when it is on. You can adjust the shadow direction and depth on the Design Styles menu.";
  96. descr=text[1];
  97. block=1;
  98. max=1;
  99. Use(SetPos);
  100. }
  101. :outline
  102. {
  103. title="Outline";
  104. text[1]="Creates an outline of a different color around the edges of the selected text characters. To change the color, select a color from the color bar and then click the Outline color chip. The button appears pressed when it is on. You can adjust Outline Thickness in the Styles menu.";
  105. descr=text[1];
  106. block=1;
  107. max=1;
  108. Use(SetPos);
  109. }
  110. :multistyle
  111. {
  112. title="Multistyle button";
  113. text[1]="Lets you choose various style options that you can apply to change and refine text. Its selector lets you cycle through the available options.^n^nBackdrop?^nApplies a box behind the selected text and sets the color for the box. You can increase the dimensions of the Backdrop box by adjusting Border Height and Width in the Styles menu.";
  114. text[2]="Bevel?^nCreates a 3D effect around a text element and sets the colors required. You can choose different colors using the color chips on the button. The size of the bevel box matches the Backdrop box, so it is affected by the Border settings. You can adjust Bevel Thickness and Border settings in the Styles menu.^n^nUnderline?^nLets you turn underlining on and off, and apply different colors to underlines. You can adjust Underline Size, Position, and Air in the Styles menu.";
  115. descr=text[1];
  116. block=1;
  117. max=2;
  118. Use(SetPos);
  119. }
  120. :font
  121. {
  122. title="Font";
  123. text[1]="Displays the name and size of the current font. Click to open the Font dialog.";
  124. descr=text[1];
  125. block=1;
  126. max=1;
  127. Use(SetPos);
  128. }
  129. :bold
  130. {
  131. title="B (bold)";
  132. text[1]="Makes the selected text bold. You can adjust Bold Weight in the Styles menu.";
  133. descr=text[1];
  134. block=1;
  135. max=1;
  136. Use(SetPos);
  137. }
  138. :italic
  139. {
  140. title="I (italic)";
  141. text[1]="Makes the selected text italic. You can adjust Italic Slant in the Styles menu.";
  142. descr=text[1];
  143. block=1;
  144. max=1;
  145. Use(SetPos);
  146. }
  147. :underline
  148. {
  149. title="U (underline)";
  150. text[1]="Underlines the selected text. You can adjust Underline Size, Position, and Air in the Styles menu.";
  151. descr=text[1];
  152. block=1;
  153. max=1;
  154. Use(SetPos);
  155. }
  156. :alignment
  157. {
  158. title="Left, Center, and Right alignment";
  159. text[1]="Let you choose an alignment for the selected text. Only one can be applied at a time. You can adjust the left and right margins in the Styles menu.";
  160. descr=text[1];
  161. block=1;
  162. max=1;
  163. Use(SetPos);
  164. }
  165. :preview
  166. {
  167. title="Preview";
  168. text[1]="Lets you view the current page, showing element wipes.";
  169. descr=text[1];
  170. block=1;
  171. max=1;
  172. Use(SetPos);
  173. }
  174. :editpopup
  175. {
  176. title="Edit pop-up";
  177. text[1]="Provides basic editing functions. In addition to Cut, Copy, Paste, Delete, and Select All, the Text menu Edit pop-up has the following options:^n^nImport: lets you load text, a clip or a sound. Changes to the Clips menu or opens the Sound menu as necessary. When importing text, Scala loads only the first 1024 text characters, creating a single text element.";
  178. text[2]="Bring Forward: brings a selected, partially covered text element to the front of the element(s) covering it. This also moves the element down in the List menu.^n^nSend Backward: sends a selected text element behind another element that it covers. This also moves the element up in the List menu.";
  179. descr=text[1];
  180. block=1;
  181. max=2;
  182. Use(SetPos);
  183. }
  184. :designpopup
  185. {
  186. title="Design pop-up";
  187. text[1]="Lets you choose another Design menu to continue composing or refining a page.";
  188. descr=text[1];
  189. block=1;
  190. max=1;
  191. Use(SetPos);
  192. }
  193. :okbutton
  194. {
  195. title="OK";
  196. text[1]="Accepts editing changes and brings up a dialog box. ";
  197. descr=text[1];
  198. block=1;
  199. max=1;
  200. Use(SetPos);
  201. }
  202. :cancelbutton
  203. {
  204. title="Cancel";
  205. text[1]="Closes the Design menu and returns to the Main menu, discarding any changes you made to the current page.";
  206. descr=text[1];
  207. block=1;
  208. max=1;
  209. Use(SetPos);
  210. }
  211. :tabmargins
  212. {
  213. title="Tab/Margin bar";
  214. text[1]="Shows tab stops (white triangles) for the current page and word wrap margins (black triangles) for the selected text element. Drag the triangles to new positions to control text positioning and word wrapping.";
  215. descr=text[1];
  216. block=1;
  217. max=1;
  218. Use(SetPos);
  219. }
  220. }
  221. Resources:
  222. }
  223.