Forum > Lazarus

LCL-CustomDrawn substitutes LCL-Android

(1/17) > >>

felipemdc:
Hello,

Porting the LCL for Android has been a quite hard task, so I started with an architecture which proved itself a bad choice and now I changed it radically to a much better solution. So LCL-CustomDrawn-Android is the new architecture which is here to stay for porting the LCL to Android and other smartphones and the old LCL-Android is obsolete and will be removed.

The new architecture has the following features:
*Backends for X11, Android and Windows and a partially working one for Cocoa, more can be added in the future
*Painting is done completely inside Lazarus without any interference from the native libraries except for text drawing. This assures a complete perfection of the executed drawings in all platforms and a uniform level of supported features
*Only 1 native window is utilized for each form, in the Android backend at the moment this is 1 native window for the entire application
*Utilizes the Lazarus Custom Drawn Controls for implementing the LCL standard controls
*Utilizes as it's painting engine the lcl parts: TLazIntfImage, TRawImage, lazcanvas and lazregions

For more details about LCL-CustomDrawn-Android see:

http://wiki.lazarus.freepascal.org/Custom_Drawn_Interface/Android

Leledumbo:
Nice idea, Felipe. I also agree with this. Android seems has different point of view regarding GUI architecture (activity vs form, etc.) and that's contradictive with current LCL approach. I'll try as soon as possible.

herux:
Cool  8), I will try it soon

mschnell:

--- Quote from: felipemdc on November 30, 2011, 10:03:23 pm ---*Backends for X11, Android and Windows and a partially working one for Cocoa, more can be added in the future
*Painting is done completely inside Lazarus without any interference from the native libraries except for text drawing. This assures a complete perfection of the executed drawings in all platforms and a uniform level of supported features
--- End quote ---

This sounds a lot like the fpGUI LCLWidgetType. How is same related ?

-Michael

felipemdc:

--- Quote from: mschnell on December 01, 2011, 02:04:47 pm ---This sounds a lot like the fpGUI LCLWidgetType. How is same related ?
--- End quote ---

http://wiki.lazarus.freepascal.org/Custom_Drawn_Interface#Comparison_of_LCL-CustomDrawn_and_LCL-fpGUI

Navigation

[0] Message Index

[#] Next page

Go to full version