home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Think Class Libraries / CColorBitMap / ColorBitMap.note next >
Encoding:
Text File  |  1994-11-30  |  2.0 KB  |  56 lines  |  [TEXT/KAHL]

  1. /** "ColorBitMap.note" **/
  2.  
  3.  
  4.  
  5. /*
  6.     Hello ...
  7.     
  8.     The principal focus of the other files is to OVERRIDE the THINK Class
  9.     Library's "CBitMap" and "CBitMapPane" classes to accomodate color,
  10.     in short, pixMaps as well as bitMaps.  I call them "CColorBitMap" and
  11.     "CColorBitMapPane", respectively.
  12.     
  13.     The principal foundation of this work rests with Forrest Tanaka's
  14.     Macintosh Technical Note #120.  Other, though lesser, key points are:
  15.     
  16.         • it works when compiling with Symantec C++, as well as with THINK C.
  17.           < I have NOT yet tested these new classes with the TCL, version 2.Ø >
  18.         
  19.         • every attempt has been made to avoid HLock-ing handles, although
  20.           I have been unsuccessful in avoiding this with "macBits", one
  21.           of several new instance variables of my CColorBitMap class.
  22.           Please look at my source code VERY carefully to see if you can
  23.           think of a way of letting "macBits" float.  This problem
  24.           centers within my SetupPixMap method in which I de-reference
  25.           "macBits" and stuff the resultant Master Pointer into the
  26.           pixMap's "baseAddr" field.
  27.           
  28.         • I have introduced a new instance variable of CBitMapPane in my
  29.           CColorBitMapPane class which I call "bitsUnderPane".  It becomes
  30.           very useful when dragging objects around, vice having to take
  31.           a "picture" of the entire window or screen as Symantec's
  32.           Art Class demo does.  I must admit, however, that I have not
  33.           YET figured out how to update this "bitsUnderPane" CColorBitMap
  34.           with a change in color depth, for example, when using the popular
  35.           "Switch-A-Roo" FKEY.  Please refer to my Update method for
  36.           further insight.  By the way, Update works just fine with
  37.           "itsBitMap", the on-the-top CBitMap.
  38.           
  39.         • I have made much more prolific comments throughout the source.
  40.           I truly hope that they are sufficient to guide you.
  41.           
  42.     Enjoy !!!
  43.     
  44.                                     John A. Love, III
  45.                                     -----------------
  46.                                     6413 Wyngate Drive
  47.                                     Springfield, VA.   22152
  48.                                     
  49.                                     America Online  John Love
  50.                                     (703) 569-2294  <your nickel>
  51. */
  52.  
  53.  
  54.  
  55. /** end: "ColorBitMap.note" **/
  56.