Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2006:
[Freeciv-Dev] Re: (PR#15807) Freeciv icon
Home

[Freeciv-Dev] Re: (PR#15807) Freeciv icon

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: himasaram@xxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#15807) Freeciv icon
From: "Christian Prochaska" <cp.ml.freeciv.dev.bz@xxxxxxxxxxxxxx>
Date: Wed, 8 Mar 2006 22:10:51 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=15807 >

On 3/9/06, Jason Short <jdorje@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=15807 >
>
> The win32/*.ico files already provide icons (in the obnoxious .ico
> format) for use on win32.  The data/misc/*icon* files provide icons used
> *internally* by Freeciv to tell the window manager what icons to use for
> the task bark (there isn't one for the server, naturally).
>
> These icons should clearly be merged into one location.  The icon shown
> in the taskbar should be the same one shown on the disk.  Where should
> they be located?

how about data/icons?

>  And what else is needed to get them to work on all
> platforms?
>

On the win32 platform the icon can be compiled into the executable.
Needed is the icon in .ico format and a "resource file" (example for
the client icon attached). The .rc file needs to be compiled to an
object file using the windres command:

windres -o clienticon.o clienticon.rc

and then this object file needs to be linked to the executable
together with the other object files.

Attachment: clienticon.rc
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]