Re: [Lazarus] LazIntfImage and OSX

2010-07-06 Thread Marc Weustink
Wolfram Söns wrote: Hi Marc, I access the pixel data directly via FPColor:=TLazIntfImage.Colors[x,y] Even if there is a difference in the internal layout, with using this function it should be correct anyway. Or am I missing something here? You're right. This should always return the correct

Re: [Lazarus] Some information please

2010-07-06 Thread Duncan Parsons
From: jjb [mailto:real...@gmail.com] Sent: 03 July 2010 13:59 I recently bought my 9 year old son this book The Game Maker's Apprentice http://www.amazon.com/Game-Makers-Apprentice-Development-Beginners/dp/1 590596153/ref=sr_1_1?ie=UTF8s=booksqid=1278161293sr=8-1 and he is working his way

Re: [Lazarus] LazIntfImage and OSX

2010-07-06 Thread Mark Morgan Lloyd
Marc Weustink wrote: I access the pixel data directly via FPColor:=TLazIntfImage.Colors[x,y] Even if there is a difference in the internal layout, with using this function it should be correct anyway. Or am I missing something here? You're right. This should always return the correct value.

Re: [Lazarus] LazIntfImage and OSX

2010-07-06 Thread Mattias Gaertner
On Tue, 06 Jul 2010 09:20:58 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Marc Weustink wrote: I access the pixel data directly via FPColor:=TLazIntfImage.Colors[x,y] Even if there is a difference in the internal layout, with using this function it should be correct

[Lazarus] Code Explorer synchronized with caret position

2010-07-06 Thread theo
Wouldn't it be useful, if the code explorer had a mode to highlight/expand the node which corresponds the current caret-position in the source editor? At least in mode Refresh on Idle / Source View. Or is there such an option and I just could not find it? For me, this would be more useful than

Re: [Lazarus] LazIntfImage and OSX

2010-07-06 Thread dmitry boyarintsev
On Tue, Jul 6, 2010 at 1:37 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: TLazIntfImage is a TFPCustomImageTFPImage and can handle a wide range of different memory images. Probably the carbon interface returned a wrong description. It does return wrong description, at least for Intel

Re: [Lazarus] Code Explorer synchronized with caret position

2010-07-06 Thread Mattias Gaertner
On Tue, 06 Jul 2010 11:57:55 +0200 theo x...@theo.ch wrote: Wouldn't it be useful, if the code explorer had a mode to highlight/expand the node which corresponds the current caret-position in the source editor? At least in mode Refresh on Idle / Source View. Or is there such an option and I

Re: [Lazarus] GPS Navigation Software develpment

2010-07-06 Thread Horacio Jamilis
1) I was not able to find any software that allow to create the route off-line on the PC and then transfer it to the GPS device (with or without cell phone) 2) I was not able to find any software that allow to assign to each point of the router a specific time frame... let say that in the first

Re: [Lazarus] GPS Navigation Software develpment

2010-07-06 Thread Michael Schnell
In fact we (company) have been thinking about doing GPS / GPRS software in Lazarus for some kind of Fleet Management system, too.But I would prefer Linux as CE seems to be dying with smart phones and similar mobile devices. -Michael -- ___ Lazarus

Re: [Lazarus] Code Explorer synchronized with caret position

2010-07-06 Thread theo
Thanks Mattias / Am I right, that the prerequisites for this feature are already there? / Yes. Hmm, I thought it would be relatively easy. I don't know anything about code explorer, but tried this: In CodeExplorer.pas: To get some event, I started here: procedure

Re: [Lazarus] Code Explorer synchronized with caret position

2010-07-06 Thread Hans-Peter Diettrich
theo schrieb: Wouldn't it be useful, if the code explorer had a mode to highlight/expand the node which corresponds the current caret-position in the source editor? At least in mode Refresh on Idle / Source View. IMO the code explorer should work (primarily) in the opposite direction, as a

Re: [Lazarus] Code Explorer synchronized with caret position

2010-07-06 Thread theo
@Dodi: Not sure if we're talking about the same thing. I wanted a relatively non-intrusive feature, which is selecting the item in code explorer which corresponds to the current caret-position-context in the source editor. Nothing more. I was, and still am, under the impression, that method

Re: [Lazarus] LazIntfImage and OSX

2010-07-06 Thread waldo kitty
On 7/6/2010 01:35, Wolfram Söns wrote: comparison in Windows vs Mac format... since it is hard to create a decent chart, this will be done in two lines for each one that is different with Windows first and then Mac... ByteOrder=riboLSBFirst ByteOrder=riboMSBFirst

Re: [Lazarus] Code Explorer synchronized with caret position

2010-07-06 Thread theo
@Mattias: If this helps: I looks like the seemingly unused method SelectSourceEditorNode was introduced by you in rev. 19201 Thanks Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Code Explorer synchronized with caret position

2010-07-06 Thread Martin
On 06/07/2010 15:02, theo wrote: There I'm calling SelectSourceEditorNode which looks as if it would do what I intend. Btw. This method is never called throughout the Project afaics. I don't know about that. But in order to hook the changes to the caret etc = look at fpdoc. it gets a

Re: [Lazarus] Code Explorer synchronized with caret position

2010-07-06 Thread Mattias Gaertner
On Tue, 06 Jul 2010 19:31:02 +0200 theo x...@theo.ch wrote: Thank you Martin. But I think this is not the problem. The invervals I get in procedure TCodeExplorerView.Refresh(OnlyVisible: boolean); seem just right. Mattias answered yes, when I asked him if //the prerequisites for this

Re: [Lazarus] LazIntfImage and OSX

2010-07-06 Thread Wolfram Söns
Waldo, of course you are right; I saw this descriptions, too. But when I copy a TlazIntfImage back to an TImage (on a form) it looks completely identical on windows and mac. So I just expected that the values inside (when I get them pixel by pixel) are identical, too. I am not deep enough in

Re: [Lazarus] GPS Navigation Software develpment

2010-07-06 Thread Horacio Jamilis
One of the things I expect... from a Freepascal/Lazarus project is to be able to support other plataforms in the future... may be Android, IPhone, Symbian ... and any mobile device available out there and supported by FPC:-) This is why I expect to select the correct drawing option before start

Re: [Lazarus] LazIntfImage and OSX

2010-07-06 Thread waldo kitty
On 7/6/2010 13:47, Wolfram Söns wrote: Waldo, of course you are right; I saw this descriptions, too. But when I copy a TlazIntfImage back to an TImage (on a form) it looks completely identical on windows and mac. So I just expected that the values inside (when I get them pixel by pixel) are

Re: [Lazarus] LazIntfImage and OSX

2010-07-06 Thread Mark Morgan Lloyd
waldo kitty wrote: On 7/6/2010 01:35, Wolfram Söns wrote: comparison in Windows vs Mac format... since it is hard to create a decent chart, this will be done in two lines for each one that is different with Windows first and then Mac... ByteOrder=riboLSBFirst ByteOrder=riboMSBFirst

Re: [Lazarus] GPS Navigation Software develpment

2010-07-06 Thread Den Jean
On Tuesday 06 July 2010 15:40:07 John vd Waeter wrote: Interesting! Do you see possibilities to use Lazarus creating apps for e.g. the Maemo-phones? technically that is very well possible, but maybe the N900 3.5 inch screen is too small (same as older TomToms) --

Re: [Lazarus] Code Explorer synchronized with caret position

2010-07-06 Thread Mattias Gaertner
On Tue, 06 Jul 2010 19:31:02 +0200 theo x...@theo.ch wrote: Thank you Martin. But I think this is not the problem. The invervals I get in procedure TCodeExplorerView.Refresh(OnlyVisible: boolean); seem just right. Mattias answered yes, when I asked him if //the prerequisites for this

Re: [Lazarus] Code Explorer synchronized with caret position

2010-07-06 Thread theo
I implemented a simple follow cursor. YES! You ARE a hero! ;-) Works great. One could think about auto-expanding the corresponding var sections. But great! Thank you very much Best regards Theo -- ___ Lazarus mailing list

Re: [Lazarus] GPS Navigation Software develpment

2010-07-06 Thread John vd Waeter
Do you see possibilities to use Lazarus creating apps for e.g. the Maemo-phones? technically that is very well possible, but maybe the N900 3.5 inch screen is too small (same as older TomToms) Big enough I think, a matter of designing a user interface. Anyone got as far as a graphical

Re: [Lazarus] GPS Navigation Software develpment

2010-07-06 Thread Den Jean
On Tuesday 06 July 2010 21:29:35 John vd Waeter wrote: Anyone got as far as a graphical Hello World on the N900 using Lazarus? Lazarus Gtk : http://wiki.lazarus.freepascal.org/Setup_Cross_Compile_For_ARM Lazarus Qt: ===

Re: [Lazarus] GPS Navigation Software develpment

2010-07-06 Thread bobby
On 7/6/2010 8:31 PM, Horacio Jamilis wrote: One of the things I expect... from a Freepascal/Lazarus project is to be able to support other plataforms in the future... may be Android, IPhone, Symbian ... and any mobile device available out there and supported by FPC:-) This is why I expect to

Re: [Lazarus] GPS Navigation Software develpment

2010-07-06 Thread Kjow
2010/7/6 John vd Waeter j...@jvdw.nl: Big enough I think, a matter of designing a user interface. Anyone got as far as a graphical Hello World on the N900 using Lazarus? John I did it, but with GTK. No time for QT now, but there are already the libs for maemo-qt. I desire to try... damn

Re: [Lazarus] GPS Navigation Software develpment

2010-07-06 Thread Kjow
2010/7/6 Den Jean den.j...@telenet.be: On Tuesday 06 July 2010 21:29:35 John vd Waeter wrote: Anyone got as far as a graphical Hello World on the N900 using Lazarus? Lazarus Gtk : http://wiki.lazarus.freepascal.org/Setup_Cross_Compile_For_ARM Lazarus Qt: ===