Pascal Georges wrote:
Hi again!
> set tree(standardLines) {
> {}
> {1.c4}
> {1.c4 c5}
> {1.c4 c5 2.Nf3}
> }
>
>
> Why not simply use a PGN file or a base containing lines (in a single
> game as variants or in several games) for that ? Then the UI is already
> there and maintenance is easier for the user. I already added some menu
> entries in the Tree window for that.
I should add that my addition was never intended to have or get any GUI
(beyond vi). I'll also not want to code one. (It just "slipped into" the
cvs when I committed some new translations for Giorgios functions.) The
the existing GUI functions are sufficient, the only thing I'd think
about is also hooking up with the repertoir files.
Still, just from a design point of view, IMHO scid contains too much
"data", ie. things that should not be set as constants but read in from
files supplied.
It came to my mind: maybe we should consider to add such calls for
pulling in resources. Very simle example: if we would e.g. collect all
bitmaps used in one file, and just add some code like
if (-e $scidconfig/scid.res) { source $scidconfig/scid.res }
at the end of that single file theming scid is IMHO pretty easy by just
providing a suitable resource file. I did not check for side effects of
this, but I don't think there are any as long as scid supplies its
resources by default and the variables just get overwritten if an
external file exists and sets them.
--
Kind regards, / War is Peace.
| Freedom is Slavery.
Alexander Wagner | Ignorance is Strength.
|
| Theory : G. Orwell, "1984"
/ In practice: USA, since 2001
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users