Xboard bug with pixmaps

Discussions about the WinBoard protocol. Here you can also report bugs and request new features.

Moderators: hgm, Andres Valverde

Xboard bug with pixmaps

Postby Miguel A. Ballicora » 29 Jan 2011, 07:07

I think this picture is self explanatory (trying to use pixmaps).
In addition, If I remove -pixmap when I call xboard, it keeps doing the same thing. How do I indicated I do not want pixmaps anymore?
This is with the last development version.

http://postimage.org/image/20m29lytg

Miguel
PS: Posting images is not working. Looks like nothing is working for me tonight :evil:

Edit : I tried to fix the image, without success. It is probably because the link does not have an image file extension - Olivier
User avatar
Miguel A. Ballicora
 
Posts: 160
Joined: 03 Aug 2005, 02:24
Location: Chicago, IL, USA

Re: Xboard bug with pixmaps

Postby H.G.Muller » 29 Jan 2011, 23:11

-pixmapDirectory is a persistent option, and thus saved in the ini file. You can set it to an empty string to disable it.

It could be that you did not provide pixmaps for empty squares that corresponded to the background of the pixmaps of the pieces. XBoard makes piece masks for animation / dragging, which I now also use for pieces in nominal position with board textures, by XOR-ing the pieces with the empty-square pixmap. Everything that ends up zero after that is considered background. The picture suggests that nothing is background. When you drag the pieces, do you drag the square with them?
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL


Return to WinBoard development and bugfixing

Who is online

Users browsing this forum: No registered users and 3 guests