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

  1. !ScalaScript
  2. {
  3. Sequence:
  4. :"SubScript"
  5. {
  6. Group:
  7. BoxX.1=139;
  8. BoxY.1=61;
  9. BoxX.2=0;
  10. BoxY.2=0;
  11. BoxX=BoxX.1;
  12. BoxY=BoxY.1;
  13. BoxW=360;
  14. BoxH=249;
  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,330,"scala:\help\graphics\clips.gif",transparent(off));
  18. Clip(20,20,"scala:\help\graphics\clip-gfx.gif");
  19. pagename="Design Clips menu";
  20. pagedescr="Lets you create and modify clip elements on a page.";
  21. descr="Click a button to get information about it!";
  22. title="";
  23. Button(Normal(Box(0,330,639,25,Style(Norm))),Highlight(Box(0,330,639,25,Style(High))),Select(Box(0,330,639,25,Style(Sel)),Use(titlebar)));
  24. Button(Normal(Box(620,330,19,25,Style(Norm))),Highlight(Box(620,330,19,25,Style(High))),Select(Box(620,330,19,25,Style(Sel)),Use(infobutton)));
  25. 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(clipbutton)));
  26. 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)));
  27. 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)));
  28. 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)));
  29. 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)));
  30. 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)));
  31. 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)));
  32. 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)));
  33. 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)));
  34. 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)));
  35. 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)));
  36. 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)));
  37. Button(Normal(Box(534,420,102,26,Style(Norm))),Highlight(Box(534,420,101,25,Style(High))),Select(Box(534,420,101,25,Style(Sel)),Use(alignment)));
  38. Button(Normal(Box(428,420,102,26,Style(Norm))),Highlight(Box(428,420,102,26,Style(High))),Select(Box(428,420,102,26,Style(Sel)),Use(dither)));
  39. Wait();
  40. Sequence:
  41. Use(SetUp);
  42. Use(DrawBox);
  43. Resources:
  44. :titlebar
  45. {
  46. title="Clips menu title bar";
  47. text[1]="Displays the name of the current page. Use the Page Switcher to move to other pages in the script without exiting the Clips menu. All changes made to a page are automatically confirmed before moving.";
  48. descr=text[1];
  49. block=1;
  50. max=1;
  51. Use(SetPos);
  52. }
  53. :infobutton
  54. {
  55. title="Information button";
  56. text[1]="Switches Scala into Help mode. ";
  57. descr=text[1];
  58. block=1;
  59. max=1;
  60. Use(SetPos);
  61. }
  62. :clipbutton
  63. {
  64. title="Clip: button";
  65. text[1]="Indicates the name of the selected clip. The button is blank if nothing is selected. Click to open the File menu, where you can add a clip or replace a previously selected clip.";
  66. descr=text[1];
  67. block=1;
  68. max=1;
  69. Use(SetPos);
  70. }
  71. :colorbar
  72. {
  73. title="Color bar";
  74. text[1]="Lets you choose colors for styles and monochrome clips 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.";
  75. descr=text[1];
  76. block=1;
  77. max=1;
  78. Use(SetPos);
  79. }
  80. :inoutwipes
  81. {
  82. title="In, Out";
  83. text[1]="Display the icons of the clip'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.";
  84. descr=text[1];
  85. block=1;
  86. max=1;
  87. Use(SetPos);
  88. }
  89. :preview
  90. {
  91. title="Preview";
  92. text[1]="Lets you view the current page, showing element wipes.";
  93. descr=text[1];
  94. block=1;
  95. max=1;
  96. Use(SetPos);
  97. }
  98. :front
  99. {
  100. title="Front ";
  101. text[1]="Applies the selected color to selected monochrome clip(s). The button appears pressed when it is on. The option is not available for multicolor clips.";
  102. descr=text[1];
  103. block=1;
  104. max=1;
  105. Use(SetPos);
  106. }
  107. :shadow
  108. {
  109. title="Shadow";
  110. text[1]="Adds a shadow behind a selected clip. 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.";
  111. descr=text[1];
  112. block=1;
  113. max=1;
  114. Use(SetPos);
  115. }
  116. :outline
  117. {
  118. title="Outline";
  119. text[1]="Creates an outline of a different color around the edges of the selected clip. 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.";
  120. descr=text[1];
  121. block=1;
  122. max=1;
  123. Use(SetPos);
  124. }
  125. :multistyle
  126. {
  127. title="Multistyle button";
  128. text[1]="Lets you choose various style options that you can apply to clips. Its selector lets you cycle through the options.^n^nTransparent?^nWhen turned on, makes transparent any portions of a clip that are ^"color 0^" -- usually the background areas of a clip. When Transparent? is on, the Shadow and Outline styles follow the edges of the visible areas of the clip, rather than the rectangular shape of the clip. Not all clips are designed with transparent areas.";
  129. text[2]="Backdrop?^nApplies a box underneath the selected clip and sets the color of the box. You can increase the dimensions of the Backdrop box by adjusting Border Height and Width in the Styles menu.^n^nBevel?^nCreates a 3D effect around a clip and sets the colors of the edges. 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.";
  130. descr=text[1];
  131. block=1;
  132. max=2;
  133. Use(SetPos);
  134. }
  135. :editpopup
  136. {
  137. title="Edit pop-up";
  138. text[1]="Provides basic editing functions. In addition to Cut, Copy, Paste, Delete, and Select All, the Clips menu Edit pop-up has the following options:^n^nImport: loads a graphics file. Brings up the File menu for you to load a graphics file as a clip. This does not replace a selected clip.^n^nExport: saves a clip as a file. Brings up the File menu for you to save the selected clip as a separate file with your current Size, Crop, and other settings retained.";
  139. text[2]="Bring Forward: brings a selected, partially covered clip to the front of an element covering it.^n^nSend Backward: sends a selected clip behind an element that it covers.";
  140. descr=text[1];
  141. block=1;
  142. max=2;
  143. Use(SetPos);
  144. }
  145. :designpopup
  146. {
  147. title="Design pop-up";
  148. text[1]="Lets you choose another Design menu to continue composing or refining a page.";
  149. descr=text[1];
  150. block=1;
  151. max=1;
  152. Use(SetPos);
  153. }
  154. :okbutton
  155. {
  156. title="OK";
  157. text[1]="Accepts editing changes to the current page and brings up the OK dialog box.";
  158. descr=text[1];
  159. block=1;
  160. max=1;
  161. Use(SetPos);
  162. }
  163. :cancelbutton
  164. {
  165. title="Cancel";
  166. text[1]="Closes the Design menu and returns to the Main menu without saving any changes to the current page.";
  167. descr=text[1];
  168. block=1;
  169. max=1;
  170. Use(SetPos);
  171. }
  172. :alignment
  173. {
  174. title="Left, Center, and Right alignment";
  175. text[1]="Let you choose an alignment for the selected clip. Only one can be applied at a time. You can adjust the left and right margins in the Styles menu.";
  176. descr=text[1];
  177. block=1;
  178. max=1;
  179. Use(SetPos);
  180. }
  181. :dither
  182. {
  183. title="Dither?";
  184. text[1]="Applies Floyd-Steinberg dithering to a clip, which simulates additional colors to improve color shading without changing the palette.";
  185. descr=text[1];
  186. block=1;
  187. max=1;
  188. Use(SetPos);
  189. }
  190. }
  191. Resources:
  192. }
  193.