[Lazarus] Is Lazarus project in a downward spiral?

Zaher Dirkey parmaja at gmail.com
Sun Mar 7 23:21:00 CET 2010


On Mon, Mar 8, 2010 at 12:12 AM, Felipe Monteiro de Carvalho <
felipemonteiro.carvalho at gmail.com> wrote:

> On Sun, Mar 7, 2010 at 9:21 AM, Michael Van Canneyt
> <michael at freepascal.org> wrote:
> > It has always pained me to see lazarus' LCL re-introducing the Windows
> API
> > to such an extent.
> >
> > If I was planning Lazarus' future (for clarity: I am not), I would lay
> out
> > for the LCL:
>
> People need those routines to port component packages mostly. The
> Windows API routines are not an end in themselves and they are also
> not to be removed (without generating a lot of trouble for people that
> need them). The solution is much simpler and elegant: simply provide
> as well a native LCL class or extension of existing classes to also
> implement the functionality natively in the LCL as well. This can
> internally refer to the WinAPI routines, so we don't need 2
> implementations of the same thing while exposing 2 APIs for it.
>
> Yes that help me to port many component to Lazarus.
But it can make spicial unit only for those porting components, and for who
have more time can replace the function taht call API function to call LCL
function

API     FillRect(DC: HDC;....
to
LCL     FillRect(Canvas: TCanvas;....
to
Object   Canvas.FillRect(R:TR...)


Ok i am very slow writing in english :)

-- 
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20100308/37d84c31/attachment-0004.html>


More information about the Lazarus mailing list