new 33c0e9569b8825f53d773343cc90e4377118edca
[tagua/yd.git] / data / themes / pieces / XBoardTTF / theme_xboard.lua
blob04283c19d2d92c855363589b1c982fc67850a188
1 import("piece_theme.lua")
2 function fromGlyph(glyph)
3 return fromFontGlyph("XBoard.ttf", glyph, "black", "#ffffce")
4 end
6 theme.black_bishop = fromGlyph("0x0042")
7 theme.black_king = fromGlyph("0x004B")
8 theme.black_knight = fromGlyph("0x004E")
9 theme.black_pawn = fromGlyph("0x0050")
10 theme.black_queen = fromGlyph("0x0051")
11 theme.black_rook = fromGlyph("0x0052")
13 theme.white_bishop = fromGlyph("0x0062")
14 theme.white_king = fromGlyph("0x006B")
15 theme.white_knight = fromGlyph("0x006E")
16 theme.white_pawn = fromGlyph("0x0070")
17 theme.white_queen = fromGlyph("0x0071")
18 theme.white_rook = fromGlyph("0x0072")