Class TDSColorizeBitmap (unit dscbmp)

Inherits from

TGraphicControl

------------------------------------------------------------------------------ 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. ------------------------------------------------------------------------------

Constructors


constructor Create(AOwner: TComponent);



Functions

destructor Destroy;


procedure SetParams(Color, ForeColor: TColor; ForeDither: Boolean);


procedure Paint;


procedure CreateInternalBitmap;


procedure InvertBitmap(Bmp: TBitmap);


procedure SetBitmap(Value: TBitmap);


procedure SetColor(Value: TColor);


procedure SetForeColor(Value: TColor);


procedure SetForeDither(Value: Boolean);


Properties

property Align :


property Bitmap : TBitmap


property Color : TColor


property ForeColor : TColor


property ForeDither : Boolean


Events

event OnClick :


event OnDblClick :


event OnDragDrop :


event OnDragOver :


event OnEndDrag :


event OnMouseDown :


event OnMouseMove :


event OnMouseUp :


event OnStartDrag :


Variables

fBitmap : TBitmap;


fBmpMade : Boolean;


fColor : TColor;


fDrawBitmap : TBitmap;


fForeColor : TColor;


fForeDither : Boolean;


fSkipCreate : Boolean;



Constructors


constructor Create(AOwner: TComponent);


Functions


destructor Destroy;


procedure SetParams(Color, ForeColor: TColor; ForeDither: Boolean);


procedure Paint;


procedure CreateInternalBitmap;


procedure InvertBitmap(Bmp: TBitmap);


procedure SetBitmap(Value: TBitmap);


procedure SetColor(Value: TColor);


procedure SetForeColor(Value: TColor);


procedure SetForeDither(Value: Boolean);


Properties


property Align :


property Bitmap : TBitmap


property Color : TColor


property ForeColor : TColor


property ForeDither : Boolean


Events


event OnClick :


event OnDblClick :


event OnDragDrop :


event OnDragOver :


event OnEndDrag :


event OnMouseDown :


event OnMouseMove :


event OnMouseUp :


event OnStartDrag :


Variables


fBitmap : TBitmap;


fBmpMade : Boolean;


fColor : TColor;


fDrawBitmap : TBitmap;


fForeColor : TColor;


fForeDither : Boolean;


fSkipCreate : Boolean;