TDSColorizeBitmap Component Version 1.2
By Jacob Copsey
Copyright  1997 Jacob Copsey.
All rights reserved.
------------------------------------------------------------------------------
Visit the Digital Solutions web page at:
    http://www.cloudnet.com/~jcop/
------------------------------------------------------------------------------
Use of this component is free for use in freeware and shareware applications.
Please contact us by e-mail (jcop@cloudnet.com) for permission to use this
component in any commercial applications. Use this component at your own risk.
------------------------------------------------------------------------------


TDSColorizeBitmap takes a monochrome bitmap and displays it using the colors
specified by the Color and ForeColor properties. Great for window or toolbar
backgrounds that you want to use the user's system color settings. You can
use TDSColorizeBitmap to reproduce appearance of the Microsoft Internet
Explorer 3 toolbar background.


------------------------------------------------------------------------------
Properties:

BITMAP      The bitmap that will be used to draw the component. Make sure you
            only assign monochrome bitmaps to this property.

COLOR       The color to use to replace all occurances of white in the source
            bitmap.

FORECOLOR   The color to use to replace all occurances of black in the source
            bitmap.

FOREDITHER  If set to TRUE then all occurances of black in the source bitmap
            will be replaced with a 50% dither of COLOR and FORECOLOR.


------------------------------------------------------------------------------
Methods:

SETPARAMS   The SetParams method allows you to set the values of the COLOR,
            FORECOLOR, and FOREDITHER properties simultaneously. Each time one
            of these properties is set the display image is regenerated. By
            setting them all at once using this function it will decrease the
            amount of time it takes to set the properties. Example:
               DSColorizeBitmap1.SetParams(clBtnFace, clBtnHighlight, True);


------------------------------------------------------------------------------
VERSION HISTORY

Version 1.2    * Fixed a bug that was causing the wrong colors to be displayed
                 in certain circumstances. Also fixed the dithering of the
                 foreground color when FOREDITHER is set to TRUE. An example
                 of this bug could be found if you changed the BITMAP property
                 of the component at runtime.
               * Add the SetParams method so that the COLOR, FORECOLOR, and
                 FOREDITHER properties can all be set at the same time.

Version 1.1    * First public release.
