[fpc-pascal] fpGUI Toolkit on WinCE

Adrian Veith adrian at veith-system.de
Wed Mar 17 08:35:40 CET 2010


Am 16.03.2010 16:11, schrieb Graeme Geldenhuys:
> On 16 March 2010 15:03, Adrian Veith <adrian at veith-system.de> wrote:
>   
>>>>         
>> Now my second solution works:
>>     
>
> Thank you very much. I'll take a look at the code and test on my
> Garmin in the next day or two.
>   

yes please,  and if it works please fix the code on git. I will also
look at the issue with frames around labels etc

I have read, that you mentioned to think about AggPas as a target for
fpGUI.  For me it would be very interesting to combine both (I fixed
already the code of AggPas to compile for ARM, but there is a problem,
that the demo applications don't start - I guess its a missing system
call).

I would like to have a small widget set (pure pascal, so that it can be
easy ported to all the platforms fpc can target) with very mighty
drawing capabilities, which can be styled like HTML and CSS.

For example: why do we need widgets like Panel and Button and Bitmap
Button (if I look at my Delphi installation, which is still my main
developing environment - I have about 50 different Button widgets and
about 20 Panels). In fact all are rectangular areas which are drawn with
different styles and borders, some are transparent, some contain images,
some are for toolbars, some can contain styled text. If I look at HTML
you have a <div> with different styles and depending if you have events
attached to it or not, it behaves like a button or a panel. That kind of
simplicity and flexibility is what I want - separate code from layout
and design, but with mighty design possibilities.

That's why I look at fpGUI. fpGUI has very straight forward design and
is easy to change and runs on all platforms. If we bring the amazing
drawing capabilities of AggPas to fpGUI and have a (to be written) style
engine a la CSS - et voila we could have a little gemstone, which is far
beyond existing frameworks - ok. I am dreaming now ;-).

Adrian.









More information about the fpc-pascal mailing list