home *** CD-ROM | disk | FTP | other *** search
/ HomeWare 14 / HOMEWARE14.bin / os2 / gbmsrc.arj / GBMSRC.TXT next >
Text File  |  1994-03-22  |  2KB  |  60 lines

  1. Source for Generalised Bitmap Module
  2. ------------------------------------
  3.  
  4. I wrote this all in my spare time.
  5. I hereby place this source code in the public domain.
  6. Please feel free to use this source in any way you please.
  7. Do not try to exclude others from using this source.
  8. No guarantees provided, and support is in my scarce free time.
  9. I cannot guarantee not to infringe on any intellectual property.
  10.  
  11. Unzip with the -d option to make the following directories :-
  12.  
  13.     .
  14.         Bits from elsewhere, included to make source complete.
  15.         standard.h is a common header with just some standard typedefs.
  16.         scroll.* is a pre-built OS/2 2.x PM scroller control.
  17.  
  18.     .\gbm
  19.         Fully portable 32 bit C code that provides most of the
  20.         functionality. Has been compiled on OS/2 2.x, AIX and other
  21.         32 bit platforms. Provides librarys to perform file I/O,
  22.         error-diffusion, halftoning, colour reduction, reflecting,
  23.         rotating, transposing and cropping.
  24.  
  25.     .\gbmv
  26.         Simple OS/2 2.x PM bitmap viewer. Simply provides application
  27.         whose client displays a bitmap.
  28.  
  29.     .\gbmdlg
  30.         Provides a derivation of WinFileDlg, which is designed to
  31.         allow the user to specify the file for loading or saving.
  32.         Has additional entryfield for "Bitmap specific options".
  33.         Has "Bitmap", "GIF", "PCX" etc. in the Filetypes combo box.
  34.         Includes help source to generate accompanying help text.
  35.  
  36.     .\gbmv2
  37.         Sophisticated OS/2 2.x PM bitmap viewer with menu and dialogs
  38.         to give access to bitmap manipulation tools. Full help.
  39.  
  40. Each directory effectively defines one of my projects. They should be built in
  41. the order listed above, because later projects use headers/librarys etc. from
  42. the earlier ones.
  43.  
  44. If a makefile uses stuff from another directory, it accesses it via a make
  45. variable defined at the start. In this way, if I move a directory, I need only
  46. change a line at the top of a makefile.
  47.  
  48. In fact the source is supplied with makefiles that work on my machine.
  49. So you will need to edit the makefiles and change the following lines to :-
  50.  
  51.     COMMON =        to place where . directory unzipped to
  52.     SCROLL =        to place where . directory unzipped to
  53.     GBM =            to place where .\gbm directory unzipped to
  54.     GBMDLG =        to place where .\gbmdlg directory unzipped to
  55.  
  56. {{{ Andy Key
  57.  
  58. Internet: ak@vnet.ibm.com    # Contract valid until September 1994
  59. IBM-VNET: AKEY AT HVTVM5    # These addresses valid at least until then.
  60.