home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-30 | 2.0 KB | 56 lines | [TEXT/KAHL] |
- /** "ColorBitMap.note" **/
-
-
-
- /*
- Hello ...
-
- The principal focus of the other files is to OVERRIDE the THINK Class
- Library's "CBitMap" and "CBitMapPane" classes to accomodate color,
- in short, pixMaps as well as bitMaps. I call them "CColorBitMap" and
- "CColorBitMapPane", respectively.
-
- The principal foundation of this work rests with Forrest Tanaka's
- Macintosh Technical Note #120. Other, though lesser, key points are:
-
- • it works when compiling with Symantec C++, as well as with THINK C.
- < I have NOT yet tested these new classes with the TCL, version 2.Ø >
-
- • every attempt has been made to avoid HLock-ing handles, although
- I have been unsuccessful in avoiding this with "macBits", one
- of several new instance variables of my CColorBitMap class.
- Please look at my source code VERY carefully to see if you can
- think of a way of letting "macBits" float. This problem
- centers within my SetupPixMap method in which I de-reference
- "macBits" and stuff the resultant Master Pointer into the
- pixMap's "baseAddr" field.
-
- • I have introduced a new instance variable of CBitMapPane in my
- CColorBitMapPane class which I call "bitsUnderPane". It becomes
- very useful when dragging objects around, vice having to take
- a "picture" of the entire window or screen as Symantec's
- Art Class demo does. I must admit, however, that I have not
- YET figured out how to update this "bitsUnderPane" CColorBitMap
- with a change in color depth, for example, when using the popular
- "Switch-A-Roo" FKEY. Please refer to my Update method for
- further insight. By the way, Update works just fine with
- "itsBitMap", the on-the-top CBitMap.
-
- • I have made much more prolific comments throughout the source.
- I truly hope that they are sufficient to guide you.
-
- Enjoy !!!
-
- John A. Love, III
- -----------------
- 6413 Wyngate Drive
- Springfield, VA. 22152
-
- America Online John Love
- (703) 569-2294 <your nickel>
- */
-
-
-
- /** end: "ColorBitMap.note" **/
-