home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / bitmap1.zip / READ.ME < prev    next >
Text File  |  1993-12-02  |  2KB  |  68 lines

  1. Demonstration OS/2 Bitmap C++ Classes
  2.  
  3. These files contain two C++ classes:
  4.  
  5.   bitmap        Creates a bitmap and provides member functions
  6.                 to draw the bitmap
  7.  
  8.   bitmapfile    Reads a .BMP file and provides member functions
  9.                 that you can call to create a bitmap (see above)
  10.                 from the file.
  11.  
  12.  
  13. I wrote these classes as a starting point for a future OS/2 product
  14. for animation. But, since I've found it useful whenever I needed
  15. to display a bitmap or create one from a .BMP file, I thought I'd
  16. upload them for others to see. Please note that I make no guarantee
  17. that the code is correct and error-free; in fact, I haven't spent
  18. any time "polishing" and thoroughly testing the code. For example,
  19. I didn't write any copy constructors or assignment operators for the
  20. classes (so don't try to copy one bitmap object to another!).
  21.  
  22. If you do find bugs, please let me know.
  23.  
  24. To develop the code, you need the IBM C Set++ compiler and the OS/2
  25. Programmer's Toolkit. Simply type:
  26.  
  27.    NMAKE                        -- to develop the program
  28.    APP1                         -- to run the program
  29.  
  30.  
  31. The test program (APP1.CPP) is quite rudimentary, and depends on finding
  32. two bitmap files in its current directory: TEST.BMP, which it creates
  33. as a resource bitmap, and TEST1.BMP which it reads as a file. You can
  34. use any two bitmaps you like.
  35.  
  36. Before you run the program, you will also need to ensure that the
  37. provided PRINTERR.DLL program is in your LIBPATH. I use a function in
  38. this DLL (printerr, which is called by the pmassert macro) for runtime
  39. error-checking.
  40.  
  41.  
  42.  
  43. If you have any questions or comments, please email me at:
  44.  
  45.   Joel Barnum
  46.   70047,442
  47.  
  48.  
  49. My company, Descriptor Systems, provides OS/2 and Windows programming
  50. workshops including:
  51.  
  52.  OS/2 Kernel Programming
  53.  PM Programming
  54.  Workplace Shell Programming
  55.  IBM User Interface Class Libraries Programming
  56.  
  57.  Windows 3.x Programming
  58.  Windows NT Programming
  59.  Windows and C++ Programming with Borland's OWL or Microsoft Foundation
  60.   Classes
  61.  
  62. If you have any interest in scheduling a class, send me email or call me
  63. at (319) 362-3906. Or send normal mail to:
  64.  
  65.  Descriptor Systems
  66.  PO Box 461
  67.  Marion, IA 52302
  68.