Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] Re: (PR#7127) [FS] Screen design
Home

[Freeciv-Dev] Re: (PR#7127) [FS] Screen design

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#7127) [FS] Screen design
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Thu, 15 Jan 2004 08:21:39 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7127 >

On Wed, Jan 14, 2004 at 03:06:13PM -0800, Raimar Falke wrote:
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=7127 >
> 
> On Wed, Jan 14, 2004 at 02:05:58PM -0800, Raimar Falke wrote:
> > 
> > <URL: http://rt.freeciv.org/Ticket/Display.html?id=7127 >
> > 
> > On Thu, Jan 08, 2004 at 04:44:45AM -0800, Morgan Jones wrote:
> > > Main.png:  Same as the last one (Layout3.png) but with the 'Nation'
> > > page shown too.  This is an amalgam of the Tax, Trade, and
> > > Demographics dialogs.  I haven't changed the 'Map' page yet as I'm
> > > waiting to see what the best solution to the messages/chat problem is.
> > 
> > I have used this to create the screenshot:
> > http://freeciv.org/~rfalke/fs3_pics/screen-0066.png.
> 
> And another one with some of the text converted:
> http://freeciv.org/~rfalke/fs3_pics/screen-0007.png
> 
> Attached is what is left of the fake screen. The green is used to make
> sure that I have got the postion correct.

http://freeciv.org/~rfalke/fs3_pics/info_tooltip.png shows two new
features:
 - multiline text
 - tooltip infos

Previously you could define text infos. These are label widgets which
change when the freeciv client code says so. The labels "Esten",
"30.000", "282" and "2350 v. Chr." are such text infos.

With tooltip infos you can define an area and get a dynamic tooltip
for this area for just writing something like:

[info_tooltip_general]
x = 7
y = 330
width = 240
height = 35
tooltip-color="#000000"
tooltip-background="#f4ed8b"
tooltip-size=10
tooltip-font="verdana.ttf"
tooltip-antialias=0
tooltip-outline-width=0
tooltip-delay=1100

As you can see here I define the grey area where the other infos are
as "active area" for this tooltip info.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  Tank: So what do you need? Besides a miracle.
  Neo: Guns. Lots of guns.
    -- From The Matrix




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