You've already forked lazarus-ccr
* Move Alpha blend function to a intf dependent unit.
* Fix compilation of adv demo to adapt to this change git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1092 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -10,7 +10,7 @@ unit HeaderCustomDrawDemo;
|
||||
interface
|
||||
|
||||
uses
|
||||
LCLIntf, Types, SysUtils, Classes, Graphics, Controls, Forms,
|
||||
LCLIntf, VTGraphics, Types, SysUtils, Classes, Graphics, Controls, Forms,
|
||||
Dialogs, VirtualTrees, StdCtrls, ExtCtrls, LResources, LCLType, LCLProc;
|
||||
|
||||
type
|
||||
@ -190,7 +190,7 @@ var
|
||||
|
||||
begin
|
||||
R := Rect(0, 0, Bitmap.Width, Bitmap.Height);
|
||||
VirtualTrees.AlphaBlend(0, Bitmap.Canvas.Handle, R, Point(0, 0), bmConstantAlphaAndColor, Alpha,
|
||||
VTGraphics.AlphaBlend(0, Bitmap.Canvas.Handle, R, Point(0, 0), bmConstantAlphaAndColor, Alpha,
|
||||
ColorToRGB(clHighlight));
|
||||
with Bitmap do
|
||||
begin
|
||||
|
Reference in New Issue
Block a user