Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-18 Thread Graeme Geldenhuys
Hi, yes please, and if it works please fix the code on git. I will also look at the issue with frames around labels etc Good news, the fixes seem to work well on my Garmin. I fixed some memory leaks and drawing improvements for the examples/corelib/helloworld/ demo too. I'll commit the

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-18 Thread Paul Breneman
Graeme, Good news, the fixes seem to work well on my Garmin. I fixed some memory leaks and drawing improvements for the examples/corelib/helloworld/ demo too. I'll commit the code tomorrow - I ran out of time today. @Paul Thanks again for your FPC+fpGUI starter compiler setup - it makes

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-18 Thread Jonas Maebe
On 18 Mar 2010, at 16:24, Paul Breneman wrote: For the benefit of others reading this message thread I would like to mention that I have posted a minimal FreePascal and fpGUI distribution for cross-compiling WinCE applications near the bottom of this page:

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-18 Thread Paul Breneman
Jonas Maebe wrote: On 18 Mar 2010, at 16:24, Paul Breneman wrote: For the benefit of others reading this message thread I would like to mention that I have posted a minimal FreePascal and fpGUI distribution for cross-compiling WinCE applications near the bottom of this page:

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-17 Thread Adrian Veith
Paul, yes I agree with you, that fpGUI is very nice for embedded GUI systems - and I think it has potential for more. The next thing I will look at, is why it draws a frame around labels etc. in WinCE - do you have the same issue ? Should be a minor problem. Adrian. Am 16.03.2010 17:59, schrieb

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-17 Thread Adrian Veith
Am 16.03.2010 16:11, schrieb Graeme Geldenhuys: On 16 March 2010 15:03, Adrian Veith adr...@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

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-16 Thread Adrian Veith
Am 15.03.2010 16:20, schrieb Graeme Geldenhuys: WinCE is experimental, so expect some issue. But that is no excuse. ;-) I can duplicate the slow down on my Garmin iQue M5, so will try and resolve the issue before the final v0.7 release. Thanks for bringing this to my attention. Ok - I

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-16 Thread Matt Emson
Adrian Veith wrote: //pcol^ := Plongword(p)^; -- changed pcol^ := (LongWord(p[3]) shl 24) + (LongWord(p[2]) shl 16) + (LongWord(p[1]) shl 8) + LongWord(p[0]); This looks like an endian issue. Aren't Bitmaps in Little Endian format (as per the usual endianess of the Intel x86

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-16 Thread Matt Emson
Adrian Veith wrote: ..the bitmaps look scrambled and have different colors. I haven't found the solution for this yet. Ignore that last message. It seems WinCE is only ever little endian. So it is probably more to do with DIB vs general device dependent Bitmaps. Have you tried converting the

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-16 Thread Adrian Veith
Am 16.03.2010 10:45, schrieb Matt Emson: Adrian Veith wrote: ..the bitmaps look scrambled and have different colors. I haven't found the solution for this yet. Ignore that last message. It seems WinCE is only ever little endian. So it is probably more to do with DIB vs general device

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-16 Thread Adrian Veith
Am 16.03.2010 11:22, schrieb Adrian Veith: Am 16.03.2010 10:45, schrieb Matt Emson: Adrian Veith wrote: ..the bitmaps look scrambled and have different colors. I haven't found the solution for this yet. Ignore that last message. It seems WinCE is only ever little endian. So

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-16 Thread Adrian Veith
Am 16.03.2010 13:17, schrieb Adrian Veith: Am 16.03.2010 11:22, schrieb Adrian Veith: Am 16.03.2010 10:45, schrieb Matt Emson: Adrian Veith wrote: ..the bitmaps look scrambled and have different colors. I haven't found the solution for this yet.

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-16 Thread Graeme Geldenhuys
On 16 March 2010 11:16, Adrian Veith adr...@veith-system.de wrote: Ok - I got another issue with reading and painting bitmaps. The original code throws an error when reading a bitmap file in ReadImage_BMP for 32 bit depths images. A known problem. I suspect a endian issue. I am currently

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-16 Thread Graeme Geldenhuys
On 16 March 2010 15:03, Adrian Veith adr...@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. -- Regards, - Graeme - ___ fpGUI - a cross-platform

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-16 Thread Paul Breneman
Adrian, Thank you *very* much for getting fpGUI working better on WinCE. A few months ago I spent quite a bit of time doing the initial work but as you've seen in the comments I only had a Motorola Symbol MC1000 barcode scanner to work with and that just has a 240x240 monochrome display. I

[fpc-pascal] fpGUI Toolkit on WinCE

2010-03-15 Thread Adrian Veith
Am 09.03.2010 14:16, schrieb Graeme Geldenhuys: fpGUI v0.7-rc1 is available --- Hi, this is the first time I looked at fpGUI. Very nice work ! I tried to cross compile some examples for WinCE and it worked so far - looks like my search is over and I found a nice

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-15 Thread Graeme Geldenhuys
Adrian Veith het geskryf: One thing I found is, that when a fpGUI application is running on my WinCE phone (even when it is in the background), the phone will slow down dramatically. I guess there is an event loop which is too busy - any idea ? WinCE is experimental, so expect some issue.

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-15 Thread Paul Breneman
Hi Adrian, Hi, this is the first time I looked at fpGUI. Very nice work ! I tried to cross compile some examples for WinCE and it worked so far - looks like my search is over and I found a nice little GUI framework for that platform. I was not satisfied with LCL (much too big), KOL (too weird)