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

  1. !ScalaScript
  2. {
  3. Sequence:
  4. :"SubScript"
  5. {
  6. Group:
  7. BoxX.1=139;
  8. BoxY.1=71;
  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\backgro1.gif",transparent(off));
  18. pagename="Design Background menu";
  19. pagedescr="Lets you control options related to the background image of a page, specifically a plain picture.";
  20. descr="Click a button to get information about it!";
  21. title="";
  22. 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)));
  23. 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)));
  24. 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)));
  25. Button(Normal(Box(4,390,313,25,Style(Norm))),Highlight(Box(4,390,313,25,Style(High))),Select(Box(4,390,313,25,Style(Sel)),Use(picture)));
  26. Button(Normal(Box(322,390,313,25,Style(Norm))),Highlight(Box(322,390,313,25,Style(High))),Select(Box(322,390,313,25,Style(Sel)),Use(custsize)));
  27. Button(Normal(Box(322,420,313,25,Style(Norm))),Highlight(Box(322,420,313,25,Style(High))),Select(Box(322,420,313,25,Style(Sel)),Use(pageres)));
  28. Button(Normal(Box(4,420,313,25,Style(Norm))),Highlight(Box(4,420,313,25,Style(High))),Select(Box(4,420,313,25,Style(Sel)),Use(transparent)));
  29. 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)));
  30. 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)));
  31. 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)));
  32. 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)));
  33. 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)));
  34. Wait();
  35. Sequence:
  36. Use(SetUp);
  37. Use(DrawBox);
  38. Button(Wipe("BlindsFantasy3",Speed(7),Direction(90)),Normal(Box(BoxX+BoxW+10,BoxY,115,(BoxH/2),Style(Info))));
  39. Text(BoxX+BoxW+18,BoxY+10,"This screen^nhas 3 layouts",Style(Mid),Wrap(Off,Auto(340)));
  40. Text(BoxX+BoxW+30,BoxY+45,"Plain",Style(LayoutText));
  41. Button(MatchSize(On),Normal(Text(BoxX+BoxW+30,BoxY+60,"Picture",Style(Layout1))),Highlight(Text(BoxX+BoxW+30,BoxY+60,"Picture",Style(Layout2))),Select(Text(BoxX+BoxW+30,BoxY+60,"Picture",Style(Layout3)),goto(sub2)));
  42. Button(MatchSize(On),Normal(Text(BoxX+BoxW+30,BoxY+75,"Animation",Style(Layout1))),Highlight(Text(BoxX+BoxW+30,BoxY+75,"Animation",Style(Layout2))),Select(Text(BoxX+BoxW+30,BoxY+75,"Animation",Style(Layout3)),goto(sub3)));
  43. Resources:
  44. :titlebar
  45. {
  46. title="Background 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 Background menu. All changes made to the current page are automatically confirmed when you move.";
  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. :colorbar
  63. {
  64. title="Color bar";
  65. text[1]="Lets you adjust the color of a plain background. Move from one set of 16 colors to the next using the Color Set Switcher.";
  66. descr=text[1];
  67. block=1;
  68. max=1;
  69. Use(SetPos);
  70. }
  71. :picture
  72. {
  73. title="Picture";
  74. text[1]="Indicates the current background type and, if not a plain background, the name of the picture or animation file. Clicking on this button takes you to the File menu where you can select another background. The color chip on the button displays the current background color.";
  75. descr=text[1];
  76. block=1;
  77. max=1;
  78. Use(SetPos);
  79. }
  80. :custsize
  81. {
  82. title="Custom Size?";
  83. text[1]="With a picture or plain background, shows the width and height of the background in pixels. Click to allow setting a custom size. This turns the size display into a value control you can use to stretch or squeeze the image.";
  84. descr=text[1];
  85. block=1;
  86. max=1;
  87. Use(SetPos);
  88. }
  89. :pageres
  90. {
  91. title="Page Resolution...";
  92. text[1]="Lets you change the page resolution. Brings up a dialog showing the available resolutions.";
  93. descr=text[1];
  94. block=1;
  95. max=1;
  96. Use(SetPos);
  97. }
  98. :transparent
  99. {
  100. title="Video Transparent?";
  101. text[1]="Makes video images being played through a genlock to which the Scala system is also attached appear in place of the background color.";
  102. descr=text[1];
  103. block=1;
  104. max=1;
  105. Use(SetPos);
  106. }
  107. :editpopup
  108. {
  109. title="Edit pop-up";
  110. text[1]="Provides basic editing functions with the following options:^n^nImport: loads a file. Brings up the File menu for you to load a clip file.^n^nExport: saves a background to a file, with any sizing, cropping, and other changes you have made. A dialog asks if you want to replace the current background with the version you saved, including any elements you saved as part of the background image with Export All?.";
  111. text[2]="Copy: copies a background to the Scala clipboard.^n^nPaste: inserts the most recently copied element from the Scala clipboard onto the page.";
  112. descr=text[1];
  113. block=1;
  114. max=2;
  115. Use(SetPos);
  116. }
  117. :preview
  118. {
  119. title="Preview";
  120. text[1]="Lets you view the current page, showing element wipes.";
  121. descr=text[1];
  122. block=1;
  123. max=1;
  124. Use(SetPos);
  125. }
  126. :designpopup
  127. {
  128. title="Design pop-up";
  129. text[1]="Lets you choose another Design menu to continue composing or refining a page.";
  130. descr=text[1];
  131. block=1;
  132. max=1;
  133. Use(SetPos);
  134. }
  135. :okbutton
  136. {
  137. title="OK";
  138. text[1]="Accepts editing changes to the current page and brings up the OK dialog box.";
  139. descr=text[1];
  140. block=1;
  141. max=1;
  142. Use(SetPos);
  143. }
  144. :cancelbutton
  145. {
  146. title="Cancel";
  147. text[1]="Closes the Design menu and returns to the Main menu without saving any changes to the current page.";
  148. descr=text[1];
  149. block=1;
  150. max=1;
  151. Use(SetPos);
  152. }
  153. }
  154. Resources:
  155. :sub1
  156. {
  157. Group:
  158. SubNum="1";
  159. Quit(1);
  160. }
  161. :sub2
  162. {
  163. Group:
  164. SubNum="2";
  165. Quit(1);
  166. }
  167. :sub3
  168. {
  169. Group:
  170. SubNum="3";
  171. Quit(1);
  172. }
  173. }
  174.