[Lazarus] Changes to Frame3D in Lazarus 0.9.31

Juha Manninen juha.manninen62 at gmail.com
Fri Aug 5 13:53:35 CEST 2011


2011/8/5 Frank Church <vfclists at gmail.com>

>
> // Wrapper function for TCanvas.Frame3D.
>> procedure Frame3D(ACanvas: TCanvas; var ARect: TRect;
>>   TopColor, BottomColor: TColor; const FrameWidth: integer);
>> begin
>>   ACanvas.Frame3D(ARect, TopColor, BottomColor, FrameWidth);
>> end;
>>
>
>
Hi
I added that version of Frame3D to LCL trunk.
There is another version of Frame3D with very different parameter signature.
It existed already earlier.



> Top and bottom colour are included and FrameWidth is ignored.
>
> Is there some other wrapper to make the old code compatible with this one,
> or does it have to forego the style property altogether, and fill in
> something for the colors?
>

Do you mean Delphi has other versions of Frame3D with different parameters?
Could you implement them and create a patch?

Regards,
Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110805/bc4a4804/attachment-0003.html>


More information about the Lazarus mailing list