BS> The "XOR value" is presumably determined by the colour of the text
BS> that you BitBlt with. If it is white text on black background, the
BS> background XOR with $0 does nothing, and the foreground presumably
BS> XOR's with the 4-bit colour white, or $F - that's the way it
BS> behaves. So I guess I can change the colour of the sprite by
BS> juggling the colour of the text that I blit with. Will try it out,
BS> thanks for your suggestion.
Well, I tried it, and the result was not as expected. Putting text onto a
memory context with a black background and either a clWhite or clYellow
foreground, then BitBlt-ing that memory context text onto a clNavy canvas
using SRCINVERT, produced clYellow sprite text. Any colour of foreground
other than clWhite or clYellow produced an invisible sprite. Beats me.
--- PPoint 2.00
---------------
* Origin: Kingston, Canada (1:249/109.11)
|