home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / multimedia / scala / HELP / FONT1.SCA < prev    next >
Encoding:
Text File  |  1996-05-14  |  2.6 KB  |  91 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=200;
  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,278,"scala:\help\graphics\font.gif",transparent(off));
  18. Clip(20,20,"scala:\help\graphics\clip-txt.gif");
  19. pagename="Font dialog";
  20. descr="Click a button to get information about it!";
  21. title="";
  22. pagedescr="Lets you choose a text typeface and size. Click on a name to select a typeface and display characters of that font in the Sample box.";
  23. Button(Normal(Box(620,278,19,25,Style(Norm))),Highlight(Box(620,278,19,25,Style(High))),Select(Box(620,278,19,25,Style(Sel)),Use(infobutton)));
  24. Button(Normal(Box(442,308,54,168,Style(Norm))),Highlight(Box(442,308,54,168,Style(High))),Select(Box(442,308,54,168,Style(Sel)),Use(sizes)));
  25. Button(Normal(Box(243,308,173,168,Style(Norm))),Highlight(Box(243,308,173,168,Style(High))),Select(Box(243,308,173,168,Style(Sel)),Use(typefaces)));
  26. Button(Normal(Box(4,308,235,168,Style(Norm))),Highlight(Box(4,308,235,168,Style(High))),Select(Box(4,308,235,168,Style(Sel)),Use(samplebox)));
  27. Button(Normal(Box(521,420,114,25,Style(Norm))),Highlight(Box(521,420,114,25,Style(High))),Select(Box(521,420,114,25,Style(Sel)),Use(okbutton)));
  28. Button(Normal(Box(521,450,114,25,Style(Norm))),Highlight(Box(521,450,114,25,Style(High))),Select(Box(521,450,114,25,Style(Sel)),Use(cancelbutton)));
  29. Wait();
  30. Sequence:
  31. Use(SetUp);
  32. Use(DrawBox);
  33. Resources:
  34. :infobutton
  35. {
  36. title="Information button";
  37. text[1]="Switches Scala into Help mode. ";
  38. descr=text[1];
  39. block=1;
  40. max=1;
  41. Use(SetPos);
  42. }
  43. :sizes
  44. {
  45. title="Size list box";
  46. text[1]="Displays the available font heights for a typeface, in pixels. Click on a size to select it.";
  47. descr=text[1];
  48. block=1;
  49. max=1;
  50. Use(SetPos);
  51. }
  52. :typefaces
  53. {
  54. title="Typeface list box";
  55. text[1]="Displays the available ScalaType typefaces. Click on a name to select it.";
  56. descr=text[1];
  57. block=1;
  58. max=1;
  59. Use(SetPos);
  60. }
  61. :samplebox
  62. {
  63. title="Sample box";
  64. text[1]="Displays text in the typeface and size selected. You can click on the default text and enter particular characters that you want to see in that font.";
  65. descr=text[1];
  66. block=1;
  67. max=1;
  68. Use(SetPos);
  69. }
  70. :okbutton
  71. {
  72. title="OK";
  73. text[1]="Accepts the selected font and size and closes the dialog. The font you chose is applied to any selected text, or to the next text you type.";
  74. descr=text[1];
  75. block=1;
  76. max=1;
  77. Use(SetPos);
  78. }
  79. :cancelbutton
  80. {
  81. title="Cancel";
  82. text[1]="Closes the Font dialog without changing the current font.";
  83. descr=text[1];
  84. block=1;
  85. max=1;
  86. Use(SetPos);
  87. }
  88. }
  89. Resources:
  90. }
  91.