home *** CD-ROM | disk | FTP | other *** search
/ Fujiology Archive / fujiology_archive_v1_0.iso / !MAGS / !BONUS / COVERDSK / STFORMAT / STF40.ZIP / STF40A.MSA / AUTOZEST / README.DOC < prev   
Text File  |  2004-11-04  |  18KB  |  359 lines

  1.  
  2.                                  Auto ZeST
  3.                        ------------------------------
  4.                        GFA Interface Creation Utility
  5.  
  6.                         Copyright 1991, David Becker
  7.                          Compuserve mail 73030,3562
  8.                           GEnie mail to D.Becker8
  9.  
  10. Prologue 
  11. --------------------------------------------------> 
  12. Since the ZeST GFA interface code was introduced I have had many, many 
  13. letters and phone calls asking for more! As of this writing you can find:
  14.  
  15.                 CRISSCROSS  (othello/gomuku/go hybrid game)
  16.        ZeST DRAW POKER  (Draw poker, slot machine and high card game)
  17.                    POKER SQUARED  (Solitaire poker game)
  18.   and of course the ZeST DESKTOP (calendar, database, paint and typewriter)
  19.  
  20. on both of the major online services as well as many local BBS systems. 
  21.  
  22.  
  23. Introduction
  24. -------------------------------------------------> 
  25. Other software authors are at this moment developing programs that 
  26. incorporate the ZeST look and feel. Many have expanded the original simple 
  27. GFA source code and added their own bells and whistles. I even saw a 
  28. colour version at the last computer show! I encourage development and 
  29. enhancement of the original concept. ZeST was originally an experiment in 
  30. emulating the 'look and feel' of the NeXT computers graphic user interface.
  31.  
  32. The ZeST interface can provide a quick and easy 'front end' to your existing 
  33. code or act as a simple alternative to learning the complexities of GEM  
  34. dialogs, resources, windows, etc. Many new users to the ST may have basic 
  35. code left over from other computers. With a little conversion and the
  36. ZeST interface you can have your original creations up and running on
  37. the ST in hours!
  38.  
  39. The first GFA code listing included with the ZeST DESKTOP still required 
  40. patience together with trial and error to write the button_press routines
  41. and design the screen just right. I think I can relieve you of this burden.
  42.  
  43. Introducing AUTO ZeST, a utility that completely automates the 
  44. creation of ZeST screens, front ends, windows, buttons, boxes and sliders!
  45. Kind of like a poor man's NextStep in GFA. AUTO ZeST will save authentic GFA 
  46. code to disk that can then be merged right into the GFA editor.
  47.  
  48. AUTO ZeST will run on all ST platforms with a monochrome monitor. Please 
  49. disable the CPU cache on the MegaSTe and run at 8 or 16mhz. 
  50.  
  51.  
  52. What makes up a ZeST interface?
  53. ----------------------------------------------------> 
  54.  
  55. ZeST Windows...............not unlike a GEM window with a title bar at the top
  56.                            and a close button on the far upper left. ZeST
  57.                            windows cannot be moved but may contain any number
  58.                            of buttons, sliders, text boxes, etc. 
  59.  
  60. ZeST Buttons...............A 3D pushbutton that can be pressed with the left
  61.                            mouse and will in turn activate your own code. 
  62.                            You can add text right over top of a button. 
  63.  
  64. ZeST Text Boxes............Carved inset box with a white background for text
  65.                            or graphic output.
  66.  
  67. ZeST Info Boxes............Carved inset box with desktop background. Can be
  68.                            layered with other boxes or buttons for interesting
  69.                            three dimensional displays. 
  70.  
  71. ZeST Line Boxes............Thin carved inset line box for surrounding and
  72.                            highlighting other buttons, boxes and text. 
  73.  
  74. ZeST Lines.................Single horizontal or vertical carved lines. 
  75.  
  76. ZeST Sliders...............Not unlike GEM slider boxes with movable sliding
  77.                            buttons inside a carved slot. 
  78.  
  79. ZeST Platforms.............Raised platforms look like buttons but are usually
  80.                            much larger and are not active. They can contain
  81.                            buttons, boxes, sliders, etc. 
  82.  
  83.  
  84. Using Auto ZeST to create and edit a ZeST interface
  85. ----------------------------------------------------------->
  86.  
  87. When first run, you will be greeted with the information box. Press any key 
  88. or click the mouse to remove it (you can recall it later with the HELP key). 
  89. You are now in the EDIT screen which should be blank with the desktop 
  90. background. Clicking the RIGHT mouse button will call up the OPTION buttons 
  91. but first lets draw a window... 
  92.  
  93.                        ...(click CANCEL if you popped up the OPTION buttons)
  94.  
  95. Hold down the LEFT mouse button and with it depressed drag the mouse down and 
  96. to the right. The outline of the new box follows the arrow until you let go
  97. of the mouse button. The CHOICE buttons now appear on one side of the screen. 
  98. The box outline you have just drawn can now become a ZeST window with a
  99. title bar on the top and a close box to the left, a ZeST button that moves in 
  100. and out, a ZeST text box for displaying alphanumerics, an info box carved 
  101. into the desktop, a line box cut only at the border, a platform  or a ZeST
  102. slider. (We will talk about vertical and horizontal lines a bit later).
  103.  
  104. Click on the type of box you wish to create or click CANCEL and draw the
  105. outline box over again! You can continue adding buttons and boxes to your 
  106. screen until the cows come home. If you wish to create a row of buttons or
  107. boxes and have them line up side by side then use the ARROW keys. Every time
  108. you press an arrow key the outline of the previous box will appear in the 
  109. direction of the arrow and you will be asked what type should be created. 
  110. By alternately pressing the arrow keys and mouse button you can create some 
  111. pretty impressive button panels very quickly.
  112.  
  113. Another neat feature for creating multiple copies of anything is to draw a
  114. giant outline box and then when the choice buttons pop up press any number
  115. on the numeric keypad (far right side of your keyboard). A little indicator 
  116. box will appear showing the number of copies set and the direction they will 
  117. be created. You can change the creation direction from 'up-down' to
  118. 'left-right' by pressing the number again and again. Hit any other key to
  119. cancel the copies. With the copy indicator set, simply click on the type of
  120. button you want to create and the giant outline box will fill with the desired 
  121. number in the desired direction. 
  122.  
  123. Error checking is kept to a bare minimum throughout the program so don't
  124. create active buttons and sliders that overlap and please don't hang stuff
  125. off the edge of the screen.
  126.  
  127. Drawing a line is easy. Just make sure that the horizontal or
  128. vertical sides of your outline box are overlapping and then click the line 
  129. button. If you are new at using the mouse this may take a bit of practice.
  130.  
  131. You can create horizontal or vertical slider boxes simply by defining an 
  132. outline box and clicking the slider button. The sliding gadget will always
  133. default to 1/5 the length of the entire slider box. If you define a long 
  134. outline box up and down you will get a vertical slider and if you define a 
  135. long outline box side to side you will get a horizontal slider. Makes sense!
  136.  
  137. A safety buffer holds the last creation command and if you hit the UNDO 
  138. key you can cancel and remove your LAST creation.
  139.  
  140.  
  141.  
  142. Let's click the RIGHT mouse button and look at the OPTION buttons.
  143. --------------------------------------------------------------------->
  144.  
  145. Add text 
  146. --------> 
  147. You can add text anywhere on you screen by clicking the first option. Text
  148. is usually used to mark the tops of buttons. After activating text creation
  149. the mouse will disappear. Simply type your text using the keyboard and then
  150. you will be able to move it around with the mouse. ESC will clear the text.
  151. When you have the text centered on the button (or wherever) just press 
  152. the LEFT mouse to put it down. UNDO removes the LAST text placement 
  153. if you make a mistake. You can continue placing text on the screen
  154. until you click the RIGHT mouse button.
  155.  
  156. If you hold the ALTERNATE key when placing a text character down you will set 
  157. the "carbon copy" flag and another copy of the same character will appear at 
  158. the mouse position ready for placement in a different location. This is handy 
  159. when creating ruler displays for sliders or text boxes. 
  160.  
  161. If you hold down the CONTROL key when placing a text character down you will 
  162. set the "increment" flag and a copy of the next letter or number higher will 
  163. appear at the mouse position. Great for creating calendars or calculator 
  164. keypads! Hitting BACKSPACE or ESC clears either flag.
  165.  
  166. Save with ZeST code 
  167. -------------------> 
  168. The most important feature of Auto ZeST is the ability to save code to disk.
  169. The second option saves the entire ZeST interface code (all of the
  170. procedures that are needed to control the drawing and manipulation of boxes, 
  171. buttons and windows) along with the custom routines and procedures needed to
  172. reproduce and control your interface creation. Everything will be saved 
  173. in one tidy package. Just merge the listing into the GFA editor and run!
  174.  
  175. Save procedures only 
  176. --------------------> 
  177. The third option is to save only the procedure associated with your custom
  178. interface. With this option you can create secondary screens that can be 
  179. imported and called from your existing ZeST program. The procedure will take 
  180. on the name of the file chosen with the file_selector and includes both the
  181. draw and mouse control routines in one.
  182.  
  183. Save the ZeST logo 
  184. ------------------> 
  185. The fourth option saves the ZeST logo code to disk so that you can reproduce
  186. this graphic in your own program. The procedure contains an explanation
  187. on how to easily PUT the logo anywhere. In fact, all the code written by
  188. Auto ZeST is commented with remarks pointing to key variables and functions.
  189. I must however assume a basic understanding and a working knowledge of GFA3.
  190. The ZeST code will not teach you programming but will certainly make it easier.
  191.  
  192. Create a new screen 
  193. -------------------> 
  194. The option to create a new screen will destroy anything previously created, 
  195. use this option with caution. You don't have to press this button when Auto
  196. ZeST is first run. You are ready to create from the moment the EDITOR desktop 
  197. first appears. 
  198.  
  199. Toggle ruler on/off 
  200. -------------------> 
  201. The ruler will be toggled on and off with each press of this button.
  202. You may find the ruler helpful when lining up boxes on either side of the
  203. screen. While the ruler is on you will not have access to the very top or
  204. the far left of the screen, keep this in mind.
  205.  
  206. Test this interface 
  207. -------------------> 
  208. Option number seven allows you to physically manipulate the screen. Push 
  209. the buttons, try out the sliders, have some fun! The right mouse button exits 
  210. back to the edit screen. 
  211.  
  212. Scan this interface 
  213. -------------------> 
  214. Scan each piece of your interface with confirmation. As each element of your
  215. interface appears the ST will wait for either a left mouse button press to go 
  216. ahead or a right mouse button press to bypass and delete the displayed element.
  217. Just hit the 'Q' key to abort this "step by step scan" and continue as normal.
  218.  
  219. Load an interface
  220. -----------------> 
  221. Every time you save ZeST code to disk, Auto ZeST quietly saves a secondary
  222. file with the same name and the extension (.ZST). You can reload previously 
  223. saved interfaces by choosing this option and double clicking on any (.ZST) 
  224. file when the selector comes up. You will lose any work up to that point 
  225. when loading a new ZeST screen.
  226.  
  227. If you hold down the ALTERNATE key when selecting your (.ZST) file you can 
  228. scan each piece of the interface with confirmation just as you would using
  229. the "scan this interface" option explained above. (You only have to hold down
  230. ALT until the first box appears).
  231.  
  232. Quit to the desktop 
  233. -------------------> 
  234. You will be prompted to confirm that you wish to exit the program.
  235.  
  236. Cancel 
  237. ------> 
  238. Just in case you bring up the option menu by mistake. 
  239.  
  240. Help! 
  241. -----> 
  242. Pressing the HELP key while in the edit screen brings up a few 
  243. reminders that may come in handy.
  244.  
  245.  
  246. I hope Auto ZeST is just what you've been looking for. It is FREEWARE so 
  247. don't hesitate to copy it, use ZeST in your own programs, share it with
  248. friends, sell it through the user group or upload it to local BBS systems. 
  249. If you do use ZeST in one of your own programs I would appreciate a copy.
  250.  
  251.                                               Dave Becker
  252.                                               211-7291 Moffatt Road 
  253.                                               Richmond, British Columbia 
  254.                                               Canada, V6Y 1X9
  255.  
  256.                                               Compuserve 73030,3562 
  257.                                               GEnie D.Becker8 
  258.  
  259.  
  260. Hints and comments on version 1.0
  261. --------------------------------->
  262.  
  263. - the safety buffer is purged everytime you toggle the ruler on or off, 
  264.   begin creating a new outline box or when you exit the text editor.
  265.  
  266. - the mouse is shaped like a crosshair during edit, an arrow during button 
  267.   selection and a pointing hand during a screen test.
  268.  
  269. - if you define an outline box for multiple copies the last shape created is
  270.   sometimes slightly smaller or larger than the rest. This is because the 
  271.   number of copies did not divide evenly into the size of the outline box .
  272.  
  273. - save ONLY the (.ZST) file by using the extension .ZST instead of .LST when 
  274.   the file_selector appears.
  275.  
  276. - you can click the right mouse button a second time to CANCEL and remove 
  277.   either the OPTION or CHOICE buttons when they appear.
  278.  
  279. - ZeST buttons, sliders, platforms, windows, etc. are meant to be placed on 
  280.   the desktop background fill. They look crummy when placed on a stark 
  281.   white background. 
  282.  
  283.  
  284. Hints and comments on version 1.1
  285. --------------------------------->
  286.  
  287. - a new algorithm now calculates multiple copies more precisely. Even  
  288.   though multiple elements will now always be the same width it is possible
  289.   there will be a few pixels left over at the end of any outline box. 
  290.   Auto ZeST calculates the size of each copy as close as is possible and 
  291.   then throws away the extra few pixels at the end. It is unusual for these 
  292.   few empty pixels to be noticeable but if you wish to add the little fellas
  293.   to the last button (as Auto ZeST did in version 1.0) then hold down the
  294.   ALTERNATE key when clicking on the choice buttons.
  295.  
  296. - some cosmetic changes were made to centre the OPTION box buttons.
  297.  
  298. - the CHOICE buttons can now appear on either side of the edit screen 
  299.   depending on the location of your outline box. 
  300.  
  301. - the UNDO flag did not always reset, this has been fixed. 
  302.  
  303. - I've included a GFA listing with Auto ZeST called ENTRY.LST 
  304.   Simply merge this file into the GFA editor. It's a quick and simple
  305.   text entry box procedure for use with the ZeST interface.  
  306.  
  307. - I've also included a .ZST file called DEMO.ZST that you can load directly
  308.   into the Auto ZeST editor. It's kind of a graphic equalizer demo that I
  309.   thought you might get a kick out of! 
  310.  
  311.  
  312.  
  313. Check out my other programs online 
  314. ------------------------------------> 
  315.  
  316. Utilities 
  317. ---------> 
  318.          SmartDate ............. set your ST system date automatically
  319.          Dingbat! .............. use graphic characters to rename files
  320.          Inksaver .............. set your Deskjet to draft on bootup
  321.          FastFix  .............. turn of key click and fix screen dumps
  322.          Monitor Magic ......... green/amber colour screen emulator
  323.          System Sentry ......... protect your ST and hard drive
  324.           
  325. Applications 
  326. ------------> 
  327.          Fontswap .............. Postscript typeface substitution for DTP
  328.          OnSchedule ............ Create schedules and print shifts 3 ways
  329.          F11 ................... Function key template designer
  330.          Exchange Rate Printer.. Create custom currency exchange rate charts 
  331.          Jiffydraw ............. Quick and easy DEGAS mono paint program
  332.          Portfolio Partner ..... Portfolio/ST compatible address book
  333.          cdBASE ................ Simple and fun compact disk database
  334.          ZeST Desktop Demo ..... calendar, database, typewriter and paint 
  335.          AutoZeST .............. create ZeST interfaces automatically for GFA 
  336.          ScanMate .............. Organize & print frequencies for PRO scanners 
  337.  
  338. Entertainment 
  339. -------------> 
  340.          PaiGow Poker .......... Play against the ST or over the phone line 
  341.          Frustration! .......... Two player word search game 
  342.          Desktop Repeat ........ SIMON like desk accessory game 
  343.          CrissCross ............ Go/Othello/Gomuku hybrid game 
  344.          ZeST Draw Poker ....... High card, slot machine and draw poker 
  345.          Poker Squared ......... Poker solitaire, very addictive 
  346.          Online Backgammon ..... Play over the modem or against the computer 
  347.          Television Toonz ...... Guess these original themes from past shows
  348.          GridLock .............. This toy provides stress relief thru software.
  349.  
  350. Stay tuned 
  351. ----------> 
  352.          dbWriter .............. Full featured text processor with mail merge, 
  353.                                  spell check, page preview and more! 
  354.          Your History! ......... Print historical happenings, holidays and
  355.                                  famous events for any day (even your birthday!)
  356.  
  357.  
  358.  
  359.