Next: Adjudication Options, Previous: Load and Save options, Up: Options
You can select other sizes or vary other layout parameters by providing
a list of comma-separated values (with no spaces) as the argument.
You do not need to provide all the values; for any you omit from the
end of the list, defaults are taken from the nearest built-in size.
The value n1
gives the piece size, n2
the width of the
black border
between squares, n3
the desired size for the
clockFont, n4
the desired size for the coordFont,
n5
the desired size for the default font,
n6
the smallLayout flag (0 or 1),
and n7
the tinyLayout flag (0 or 1).
All dimensions are in pixels.
If the border between squares is eliminated (0 width), the various
highlight options will not work, as there is nowhere to draw the highlight.
If smallLayout is 1 and titleInWindow
is true,
the window layout is rearranged to make more room for the title.
If tinyLayout is 1, the labels on the menu bar are abbreviated
to one character each and the buttons in the button bar are made narrower.
coordFont
option specifies what font to use.
monoMode
; XBoard will determine if it is necessary.
flashCount
tells XBoard how many times to flash a piece after it
lands on its destination square.
flashRate
controls the rate of flashing (flashes/sec).
Abbreviations:
flash
sets flashCount to 3.
xflash
sets flashCount to 0.
Defaults: flashCount=0 (no flashing), flashRate=5.
showCoords
is true. If the option value is a pattern that does not specify
the font size, XBoard tries to choose an appropriate font for
the board size being used.
Default: -*-helvetica-bold-r-normal–*-*-*-*-*-*-*-*.
tol
pixels
or less from the desired size. A value of -1 will force
a scalable font to always be used if available; a value of 0 will
use a nonscalable font only if it is exactly the right size;
a large value (say 1000) will force a nonscalable font to always be
used if available. Default: 4.
If XBoard is configured and compiled on a system that includes libXpm,
the X pixmap library, the xpm pixmap pieces are compiled in as the
default. A different xpm piece set can be selected at runtime with
the pixmapDirectory
option, or a bitmap piece set can be selected
with the bitmapDirectory
option.
If XBoard is configured and compiled on a system that does not include
libXpm (or the --disable-xpm
option is given to the configure
program), the bitmap pieces are compiled in as the default. It is not
possible to use xpm pieces in this case, but pixmap pieces in another
format called "xim" can be used by giving the pixmapDirectory
option.
Or again, a different bitmap piece set can be selected with the
bitmapDirectory
option.
Files in the bitmapDirectory
must be named as follows:
The first character of a piece bitmap name gives the piece it
represents (‘p’, ‘n’, ‘b’, ‘r’, ‘q’, or ‘k’),
the next characters give the size in pixels, the
following character indicates whether the piece is
solid or outline (‘s’ or ‘o’),
and the extension is ‘.bm’.
For example, a solid 80x80 knight would be named n80s.bm.
The outline bitmaps are used only in monochrome mode.
If bitmap pieces are compiled in and the bitmapDirectory is missing
some files, the compiled in pieces are used instead.
If the bitmapDirectory option is given, it is also possible to replace xboard's icons and menu checkmark, by supplying files named icon_white.bm, icon_black.bm, and checkmark.bm.
For more information about pixmap pieces and how to get additional
sets, see zic2xpm below.
-whitePieceColor #FFFFCC -blackPieceColor #202020 -lightSquareColor #C8C365 -darkSquareColor #77A26D -highlightSquareColor #FFFF00 -premoveHighlightColor #FF0000 -lowTimeWarningColor #FF0000
On a grayscale monitor you might prefer:
-whitePieceColor gray100 -blackPieceColor gray0 -lightSquareColor gray80 -darkSquareColor gray60 -highlightSquareColor gray100 -premoveHighlightColor gray70 -lowTimeWarningColor gray70