[Lazarus] Is Lazarus project in a downward spiral?

JoshyFun joshyfun at gmail.com
Sun Mar 7 23:09:26 CET 2010


Hello Lazarus-List,

Sunday, March 7, 2010, 10:20:33 PM, you wrote:

GG> Then take a look inside the XXXXwinapih.inc and see all the methods
GG> that must be implemented by each backend widgets. Those methods uses
GG> Win32 API types like HDC, WHND, HBITMAP, GDIObject, HGDIOBJ, HHOOK
GG> etc... All those types mean nothing to Qt, GTK1, GTK2, Cocoa, Carbon,
GG> fpGUI - yet we are expected to somehow make sense of those and
GG> translate them so something relevant in each of the other non-Windows
GG> toolkits. Absurd design.

That's just a bunch of names and defines, HANDLES in windows are
GObject in GTK or any other identifier. The winapi names are IMHO to
achieve two goals, one get a desired behavior compatible with delphi
and a behavior well documented in MSDN, so FillRect is well defined in
MSDN on how it should perform.

Do you really think that FillRectangleWithBrushAndPen function name is
better than "FillRect" ? It is the Lazarus graphic abstraction which
is more or less compatible with Windows abstraction.

-- 
Best regards,
 JoshyFun





More information about the Lazarus mailing list