Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2005:
[Freeciv-Dev] (PR#12611) An overlay on the mapview
Home

[Freeciv-Dev] (PR#12611) An overlay on the mapview

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12611) An overlay on the mapview
From: "James Canete" <use_less@xxxxxxxxxxx>
Date: Wed, 23 Mar 2005 17:46:14 -0800
Reply-to: bugs@xxxxxxxxxxx

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

This patch is a demonstation of putting an overlay on top of the
mapview, which can be used for requesters, windows, popup menus, etc.

It's based on a structure called an element, which contains text,
graphic, and an n-tree of other elements, which are drawn afterwards.

Presently this code is very very ugly.  Not to mention the fact that the
gentree implementation contained within isn't just ugly, but is
inherently evil. :) No type checking, and will probably break on some
compilers.

It's written as mostly client common code, with hooks to gui-win32 to
draw it on top whenever the mapview is refreshed.

-James Canete

Attachment: element-files.tar.gz
Description: application/unix-tar

Attachment: elementdemo-3.diff
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#12611) An overlay on the mapview, James Canete <=