1 import("piece_theme.lua")
3 shadow_color
= "#404050"
8 function fromGlyph(glyph
)
9 return fromFontGlyph("XBoard.ttf", glyph
, "black", "white", 6.0)
12 theme
.black_bishop
= fromGlyph("0x0042")
13 theme
.black_king
= fromGlyph("0x004B")
14 theme
.black_knight
= fromGlyph("0x004E")
15 theme
.black_pawn
= fromGlyph("0x0050")
16 theme
.black_queen
= fromGlyph("0x0051")
17 theme
.black_rook
= fromGlyph("0x0052")
19 theme
.white_bishop
= fromGlyph("0x0062")
20 theme
.white_king
= fromGlyph("0x006B")
21 theme
.white_knight
= fromGlyph("0x006E")
22 theme
.white_pawn
= fromGlyph("0x0070")
23 theme
.white_queen
= fromGlyph("0x0071")
24 theme
.white_rook
= fromGlyph("0x0072")