Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2004:
[Freeciv-Dev] Re: (PR#7446) center_on_something fails
Home

[Freeciv-Dev] Re: (PR#7446) center_on_something fails

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx, per@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#7446) center_on_something fails
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Tue, 13 Apr 2004 11:25:34 -0700
Reply-to: rt@xxxxxxxxxxx

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

On Tue, 13 Apr 2004, Raimar Falke wrote:
> On Tue, Apr 13, 2004 at 08:09:28AM -0700, Vasco Alexandre da Silva Costa 
> wrote:

> > Xaw and GTK+ 1.2 are broken, they mix the resize handling with the expose
> > handling, this makes no sense and is stupid. There was no reason to break
> > GTK+ 2.2 as well just to use common code.
>
> I may also agree here. It was the way in GTK1 and Xaw since they don't
> offer this configure callback. Or does they?

AFAIK GTK+ 1.2 also has that event. So it should work if it was reimplemented
in the same fashion as it is in GTK+ 2.x.
The reason why the GTK+ 1.2 client is like that today is due to mere
historical reasons. The GTK+ 1.2 code was written based on the Xaw client,
which implemented it in this horrible way.

There still remain some kludges I dislike hooked up to the expose handler
like the intro graphics handling, but I never got around to doing those
properly.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa




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