Felipe Monteiro de Carvalho het geskryf:
>> Win32 API types like HDC, WHND, HBITMAP, GDIObject, HGDIOBJ, HHOOK
>> etc... All those types mean nothing to Qt, GTK1, GTK2, Cocoa, Carbon,
>> fpGUI
> 
> You would need to map all those widgetsets to something anyway, so
> mapping a part of them to WinAPI routines is not a big difference.

The difference would be you would map widget types to some abstract LCL
type. Currently a Qt developer would now have to learn Win API to
understand how to translate that to Qt. Same for GTK, fpGUI, KOL etc backends.

Having a abstract LCL type for the interfaces means the backend wigetset
developers simply need to look at the LCL documentation. No need to learn
some other platform API (which they have no interest in).

This overly complicates things when it wasn't needed in the first place.

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to