bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] replacement for game list


From: Joern Thyssen
Subject: Re: [Bug-gnubg] replacement for game list
Date: Mon, 5 Jan 2004 10:16:53 +0000
User-agent: Mutt/1.4.1i

On Mon, Jan 05, 2004 at 12:04:18AM +0100, Øystein Johansen wrote
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Joern Thyssen wrote:
> | Hi,
> |
> | I've being trying to make a replacement for the game list, since the Gtk
> | CList is very poor, e.g., we can't color blunders and the current logic
> | to highlight the selected move is quite ugly.
> |
> | I've tried with gtk-extra, but it seems to have some problems with
> | updates of the widget when I insert new rows. Anyway, here's a teaser:
> |
> | <URL:http://jth.freeshell.org/whopper.png>
> |
> | Well, are there any other ideas out there?
> 
> What about using the GTK2 function GtkTree?
> 
> This is the replacement of GTKCList in gtk2, and I think maybe gtk2 for
> windows is mature enough to make windows builds on this as well.

I'm not 100% familiar with GtkTree, but one problem is that GtkTree
operates in "row" mode, i.e., you select a given row. We want to select
a given cell, which makes a spread-sheet-like approach better.

The alternative is to change the game list to be more snowie-like, i.e.,
instead of

1      65: 24/13                      31: 8/5 6/5
2      65: 24/13                      66: 24/18(2) 13/7(2)

we use 

1      65: 24/13
       31: 8/5 6/5
2      65: 24/13
       66: 24/18(2) 13/7(2)

The advantage of the snowie-like game list is that it's much much much
easier to implement (I can even add whoppers and colors to such a list).
The disadvantage is that it takes up more vertical space.

Jørn

Attachment: pgpNH1yLYNaJK.pgp
Description: PGP signature


reply via email to

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