home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / CPROG / DSIIC2.ZIP / READ.ME < prev    next >
Text File  |  1992-04-03  |  5KB  |  140 lines

  1.                            Source code
  2.  
  3.                 Designing Screen Interfaces in C
  4.  
  5.                    Yourdon Press/Prentice-Hall
  6.  
  7.  
  8. NOTE:
  9.  
  10. The source code, as it appeared in the book, was released under
  11. the name DSIIC.ZIP.  The modifications made in this release were done to
  12. make the code compatible with Borland C++.
  13.  
  14. If you have been using the first release (DSIIC.ZIP), you should note the
  15. following changes:
  16.  
  17. - The prototype for the function start is now:
  18.   int start(int argc, char *argv[]);
  19. - The function gotoxy() has been renamed goxy().
  20.  
  21. Microsoft C users should set the stack size to 4000 to avoid stack
  22. related errors.
  23.  
  24. PURPOSE OF THE BOOK:
  25.  
  26. The book "Designing Screen Interfaces in C" covers the process of
  27. creating a screen/window library. The screen/window library is then used
  28. to create various screen interfaces such as:
  29.  
  30. -Pop-up menus.
  31. -Moving light bar menus.
  32. -Multi-level moving light bar menus.
  33. -Pull-down menus.
  34. -Data input screens (with verification).
  35. -List selection (point & shoot /Hot key techniques).
  36. -Directory functions.
  37. -Context specific help screens.
  38. -Help screen builder.
  39.  
  40. These routines are coded so that they may easily be modified and
  41. used in your applications.
  42.  
  43. The full instructions for using this code are found in the book
  44. and will not be duplicated here.
  45.  
  46. If you have not read the book (shame on you), I have a few
  47. comments to help you get started.
  48.  
  49.  
  50. -This code will compile under all memory models of Borland Turbo C 2.0,
  51.  and Microsoft QuickC V2.5.  Borland C++ users may rename the source code
  52.  so it will compile as C++ code (rename *.c to *.cpp)
  53.  
  54.  To specify the compiler you are using, change the first
  55.  definition found in "mydef.h" to read:
  56.  
  57.       #define TURBOC
  58.            or
  59.       #define QUICKC
  60.  
  61.       TURBOC will compile for Turbo C and Borland C++.
  62.       QUICKC will compile for Microsoft QuickC and Microsoft C
  63.       compilers.
  64.  
  65.   Note: The default is "#define TURBOC"
  66.  
  67. -The file "mydef.h" contains all function prototypes and data
  68.  structures, and should be included in all your programs which use
  69.  the library functions.
  70.  
  71.  (ie: #include "mydef.h" )
  72.  
  73. -The source code for building the screen/window library are found
  74.  in the files having the specification "l_*.c".  These files may
  75.  be compiled and placed in a library called "mylib.lib " for
  76.  linkage with the sample code.
  77.  
  78.  I have precompiled three large model libraries for your immediate use:
  79.  
  80.  MYLIBTC.LIB   is for use with Borland Turbo.
  81.  MYLIBQC.LIB   is for use with Microsoft QuickC (and probably works with
  82.                the full Microsoft C compilers)
  83.  MYLIBCP.LIB   is for Borland C++.
  84.  
  85.  Chose the library appropriate for you, and rename it "MYLIB.LIB".
  86.  
  87. -The function main() is found in the library module l_main.c.  The
  88.  sample code, and any code you create, should have the function
  89.  start(), which will be called from main().  The function start()
  90.  is the entry point for your programs.
  91.  
  92. -I have not included make or project files for these programs,
  93.  due to the number of compilers supported.   The following list files
  94.  (*.lst) are provided for each sample program. These files contain lists
  95.  of the code modules which should be compiled and linked to produce the
  96.  executable files.:
  97.  
  98.  BARDEMO.LST       Sample moving light bar menu (Lotus 123 style).
  99.  BARDEMO2.LST      Multilevel moving light bar menu.
  100.  DIR-DEMO.LST      Directory window demo (point & shoot / Hot key).
  101.  HELPDEMO.LST      Context specific Help screen.
  102.  IN-DEMO.LST       Data input screen (with field editing).
  103.  LISTDEMO.LST      List selection demo (point & shoot / Hot key).
  104.  MAKEHELP.LST      Editor for creating help screens.
  105.  PANEL1.LST        Demonstrates nonoverlapping windows (panels).
  106.  PANEL2.LST        "
  107.  PD-DEMO.LST       Pull-down menu system.
  108.  POPDEMO.LST       Pop-up menu.
  109.  TWO-WAY.LST       Demonstrates full/partial menu selection.
  110.  WINDEMO.LST       Demonstration of window creation/movement.
  111.  
  112.  
  113.  NOTE:  When running all sample menus, select the option "Print",
  114.         Which opens up submenus.  The other options, except
  115.         for "Exit", do not have any real function.
  116.  
  117.  
  118.         If you have a CGA graphics card which does NOT display
  119.         "snow", you may use the 'n' (no snow) parameter to speed
  120.         up screen displays.
  121.  
  122.         ie: "windemo n".
  123.  
  124.  
  125.                    Copyright (c) Information.
  126. -----------------------------------------------------------------
  127.  
  128. You are free to use these programs in any software product you
  129. produce as long as:
  130.  
  131. -You include a credit line in your documentation or software.
  132. -You do not resell the screen/window library as a stand-alone
  133.  product. (You may however, charge a small processing fee for
  134.  distributing the code.)
  135.  
  136.  
  137. Jim Pinson 4/3/1992
  138.  
  139. CompuServe 73427,2424   or 73427.2424@compuserve.com
  140.