On 1/19/06, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > For the life of me, I cannot find any information on how to add a main > program icon to a app compiled in Lazarus. Can or must it really be > this difficult? Can we have a option in the Project Options to select > a icon (something like Delphi)?
Take a look how I did with the magnifier: http://sourceforge.net/projects/magnifier I created a .rc file which includes a .ico file. I then compile the file into a .res file with the help of a .bat script that calls windres. Then I include the .res file into my software with {$R resource.res} > Does Linux support app icons? Yes it does. There are probably other ways, but it looks on the default icon directories for program icons. If you program is called USB, then he will look into /usr/share/icons or similar for a USB.xmp file. Recently, support for {R$ } directive on linux was added to the compiler. I don“t know how this helps, however. -- Felipe Monteiro de Carvalho _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
