Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2001:
[Freeciv-Dev] Re: [Patch] Gold Sort order (12 < 2)? (PR#949)
Home

[Freeciv-Dev] Re: [Patch] Gold Sort order (12 < 2)? (PR#949)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxxxxxxx
Cc: Freeciv Developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [Patch] Gold Sort order (12 < 2)? (PR#949)
From: Paul Zastoupil <paulz@xxxxxxxxxxxx>
Date: Mon, 17 Sep 2001 10:03:42 -0700

On Sun, Sep 16, 2001 at 12:24:40AM +0200, Raimar Falke wrote:
> On Wed, Sep 12, 2001 at 01:44:41PM -0700, Paul Zastoupil wrote:
> > On Wed, Sep 12, 2001 at 10:45:04PM +0200, Raimar Falke wrote:
> > > On Wed, Sep 12, 2001 at 01:30:11PM -0700, Paul Zastoupil wrote:
> > > > On Wed, Sep 12, 2001 at 09:45:05PM +0200, Raimar Falke wrote:
> > > > > On Tue, Sep 11, 2001 at 08:23:51PM +0200, Christian Knoke wrote:
> > > > > > Am Montag, 10. September 2001 20:40 schrieb Raimar Falke:
> > > > > > 
> > > > > > >
> > > > > > > Known problem. The attached patch should fix this. The sorting is
> > > > > > > also improved:
> > > > > > >  - 1st click on the Economy column: gold ascending
> > > > > > >  - 2nd click: gold descending
> > > > > > >  - 3rd click: luxury ascending
> > > > > > >  - 4th click: luxury descending
> > > > > > >  - 5th click: science ascending
> > > > > > >  - 6th click: science descending
> > > > > > >  - 7th click: gold ascending
> > > > > > >
> > > > > > > You get the idea. This also works with any other column. Fields 
> > > > > > > are
> > > > > > > separated by / or (.
> > > > > > 
> > > > > > Yes, a quite good idea. Indeed, it is on my personal wishlist for 
> > > > > > long.
> > > > > > Of course it is not usefull yet, because it is hard to see
> > > > > > what is sorted and how. One possibility is maybe, put all numbers
> > > > > > in different columns (without parting line inbetween?), and
> > > > > > highlightning the header which determines the actual sort order.
> > > > > > There is enough room for this. Maybe it is possible to have
> > > > > > split column headers (e.g.:
> > > > > > 
> > > > > >      |   Surplus   |   Economy  |
> > > > > >      |  F | P | T  |  G | L | S |
> > > > > > 
> > > > > > ), too.
> > > > > 
> > > > > Second version. Works no also with the english translation. Comments?
> > > > > 
> > > > 
> > > > It seems a little bulky with the 'asc' 'desc'.
> > > > 
> > > > I think Christian Knoke meant that there should actually be an 
> > > > individual
> > > > column for each item.  i.e. one column for Food, one for Production and
> > > > one for Trade.  This would be rather more involved.
> > > 
> > > This may be nice. But how do you construct the column titles?
> > 
> > Actually I just reread Christian's message, he was suggesting hiliting the 
> > letter that it
> > was sorted by.
> > 
> > Maybe just a little arrow next to the letter?
> > 
> > Something like:
> > 
> >  Fv| P | T
> >  F^| P | T
> >  F | Pv| T
> >  F | P^| T
> 
> You can try the attached patch. However I still think that the
> previous one with the extra line was more clear.

I really like this. To me its more clear and 'cleaner' than the extra line.
But that of course is just my opinion.  What do other people think?

It would probably look better with real arrows rather than characters,
Probably more/less important depending on your font.  But this is a great
proof of concept.

-- 
Paul Zastoupil


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