bug-xboard
[Top][All Lists]
Advanced

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

[Bug-XBoard] [bug #27715] 2 (minor) graphic issues


From: anonymous
Subject: [Bug-XBoard] [bug #27715] 2 (minor) graphic issues
Date: Thu, 22 Oct 2009 14:08:49 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB6; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

Follow-up Comment #15, bug #27715 (project xboard):

I see in my enthusiasm, I regressed something. VariantSwitch should force a
full redraw of the current board (boards[currentMove]), not of the initial
position (what InitPosition(TRUE) would do.)

To prevent the flicker when giving an smoves command by hand, it would be
better to leave Reset(FALSE, ...) in the mentioned position, and force it
after the full move list has been read in stead (slightly after
FeedMovesToProgram() is used to send the moves to the program):

                    if (gameMode == IcsObserving && ics_gamenum == -1) {
                        /* Moves came from oldmoves or moves command
                           while we weren't doing anything else.
                           */
                        currentMove = forwardMostMove;
                        ClearHighlights();/*!!could figure this out*/
                        flipView = appData.flipView;
                        DrawPosition(TRUE, boards[currentMove]);
                        DisplayBothClocks();

I will change it accordingly.

H.G. Muller

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27715>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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