home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 12 / CD_ASCQ_12_0294.iso / news / 563 / omenu / omenu.txt < prev    next >
Text File  |  1993-11-29  |  3KB  |  77 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.           Author:        John J. Faubion
  8.                          139 Eastern Avenue
  9.                          Plainfield, Indiana 46168
  10.                          Phone (thru January 1994)  317-839-1268
  11.                          Compuserve:  72763,200
  12.  
  13.           Title:         Omenup.pas     Demo program for OMenu unit
  14.                     Omenu.pas TPU with all required routines using BGI
  15.                     Omenu.fg  TPU, as above, compiled using FASTGRAPH(c)
  16.  
  17.  
  18.  
  19.           Purpose:  I have long wanted to have a simple, easy-to-use
  20.           dropdown menu system like Windows and TurboVision provide,
  21.           without all the headaches that accompany the use of the two
  22.           latter environments.  I do a lot of programming in Chinese
  23.           characters, and these require that I do my work in graphics.  So,
  24.           I have written these routines for the purpose.  What you get is a
  25.           standard horizontal bar menu, with dropdown vertical menus.  It
  26.           is mainly objects, with a couple more routines to initialize and
  27.           de-initialize the graphics environment.
  28.  
  29.                     In order to have access to a complete hidden page, I
  30.           have written these routines to work in a 640x350 pixel
  31.           environment.  That's EGA mode 16.  Going to other modes is no big
  32.           deal.  Just means changing the Textheight constant to 16 pixels
  33.           (for VGA) instead of 14, then making the mode changes in the
  34.           unit.
  35.  
  36.           Description: OMenu is an unit containing three objects.  The
  37.           objects provide a simple, clean way of using a basic dropdown
  38.           menu system on a GRAPHICS environment.
  39.  
  40.                     Object 1:      OHMenu, a horizontal bar menu
  41.                     Object 2:      OVMenu, a vertical bar menu
  42.                     Object 3:      OHVMenu, a horizontal/vertical menu.  A
  43.           combination of the first two types.
  44.  
  45.                   The program OMENUP, as provided, pretty well documents
  46.           how to the menu system.  Additionally, two different versions of
  47.           the unit are supplied.  One uses the FASTGRAPH routines from Ted
  48.           Gruber Software (faster than the BGI routines), and the other
  49.           uses the straight BGI routines.  This is accomplished through a
  50.           {$DEF FGI} compiler directive in the unit.
  51.  
  52.                   Source is available.  I'll have to work out a
  53.           registration if anyone is interested.
  54.  
  55.                   The Routines are supplied, AS-IS for all to use without
  56.           modification except for making your own object extensions.  No
  57.           liability, express or implied, is assumed by the author, and the
  58.           user assumes all responsibility for their use and implementation.
  59.  
  60.  
  61.                Please don't phone me unless it's absolutely necessary.
  62.           Better to leave me EMail on Compuserve.  I will be moving back to
  63.           China in January or so, and if you cannot reach me on Compuserve
  64.           or by phone, then please address me at
  65.  
  66.                        Binary International Marketing
  67.                        Box 36, Asian Games Village Post Office
  68.                        Beijing, CHINA  100101
  69.  
  70.                Alternatively, you can address me at my USA forwarding
  71.           address:
  72.  
  73.                     Jay Faubion
  74.                     139 Eastern Avenue
  75.                     Plainfield, IN  46168
  76.  
  77.           End.