home *** CD-ROM | disk | FTP | other *** search
- The examples and a brief description of each are as follows:
-
- clipdemo
-
- Demonstrates setup of a GWIN clipping window within an Amiga
- window.
-
-
- colormap2
-
- Demonstrates changing the colormap. Place cursor inside a
- triangle, depress left mouse button and move cursor around.
- The points of the triangles correspond to Red, Green and
- Blue. Distance from the center determines how much Red,
- Green or Blue.
-
-
- placeobject
-
- Demonstrates moving and placing a rectangle of various
- colors.
-
-
- rubberbandline
-
- Demonstrates a rubberband line. Simple demo intended only
- to illustrate how a rubberband line is generated. (Object
- code was deleted to make this all fit on one disk. You must
- recompile before running this program.)
-
-
- text
-
- Demonstrates use of font selection and various text display
- options. (Object code was deleted to make this all fit on
- one disk. You must recompile before running this program.)
-
-
- graph
-
- Accepts a list of numbers either from the keyboard or from
- standard input. The numbers are assumed to be Y
- coordinates. Integer X coordinates are automatically
- assigned. A graph is drawn. Menu options allow switching
- between line graph and bar graph modes. If you place a list
- of numbers in a file (say file1) then issue the command
- "graph <file1", the numbers will be graphed.
-
-
- request
-
- Shows how to use a requester to ask the user a yes/no
- question.
-
-
- screentypes
-
- Demonstrates all 10 types of screens supported by GWIN.
-
-
- three-d
-
- Allows construction of three-dimensional figures. You would
- need red/blue glasses to see the three-dimensional effect
- however. (Object code was deleted to make this all fit on
- one disk. You must recompile before running this program.)
-
-
- menu
-
- Demonstrates how to build and use menus in GWIN.
-
-
- rubberbandbox
-
- Demonstrates building boxes using a rubberband box.
-
-
- spiceplot
-
- For you Electrical Engineers who have access to some version
- of the "SPICE" program. Spiceplot reads a SPICE output file
- from standard input, i.e., type: "spiceplot <spiceoutput" to
- see it plot curves contained in the spiceoutput file. Note
- the format of the data in the spiceoutput file. Spiceplot
- is looking for the lists of node data. Depress the left
- mouse button and hold, drag, and release. A rubberband box
- will have appeared and the selected region will be expanded
- to fill the screen. Use the menu to restore the curves to
- their original scale. As the cursor moves, the coordinates
- are displayed.
-
-
- geomap
-
- A geographic mapping system. I'm only plotting grid lines
- so don't expect to see a world map. I used to have access
- to the almost 6,000,000 latitude/longitude points in World
- Data Bank II. I do not have it at the moment. If YOU have
- it and could send it or portions of it to me I would GREATLY
- appreciate it. Call me at home at (602) 897-7425. Geomap
- asks for latitude and longitude coordinates of where you
- wish the center of the map to be. I used some simple
- coordinate transformations that allow a lot of power without
- a lot of work. Note that the cursor reads latitude and
- longitude as it is moved. Note menu options. We have
- orthographic and Mercator projections available with the
- transverse Mercator projection thrown in for free. Note
- that the cursor also provides accurate latitude and
- longitude data when a transverse projection is displayed.
-
- The "ortho2" menu option simply draws the back side of the
- globe in blue and the front side in red. "Ortho" only draws
- the front side.
-
-
- speedy
-
- Demonstrates how Amiga calls can be used within a screen and
- window initiated by GWIN. GWIN saved all of the effort of
- bringing up a special screen and window while allowing full
- use of all standard Amiga graphics functions. Speedy makes
- use of direct Amiga graphics function calls to provide the
- fastest possible graphics operations. This means that for
- special purposes, it is possible to bypass the floating
- point world/screen coordinate transformations that are a
- part of normal GWIN operation. The function uigrina is
- provided to allow transformationless return of x and y
- cursor coordinates for greatest possible speed. The slowest
- thing in "speedy" is perhaps the call to the random number
- generator, "ran".
-