I decided to add a section on my cheat page about how to create
application icons for the different platforms, as I'm not sure we
have any clear documentation on this in the FLTK docs or articles:
http://seriss.com/people/erco/fltk/#AppIcons

It's an oddball subject, because this has little to do with FLTK itself,
and is more an issue of GUI programming in general in a multiplatform
environment, the behavior being defined by the native window manager,
and being very different from platform to platform.

This is not a strong subject for me, so if there are better ways
to do this, I'm all ears. Quoting my page above, in general the way
icons work on each platform:

  o In Windows the icon is linked into the executable.

  o In OSX the icon becomes part of the .app bundle.

  o In Linux the icon is a separate file that is added into
    a directory where the window manager looks for app icons
    based on a match in the executable's filename.

More details at the above link, which includes steps to create icons
and associate them with your app.


_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to