new 990aace9276b9b070a7fbae82fa73469c6d99ec2
[tagua/yd.git] / data / themes / pieces / XBoardTTF / theme_jose.lua
blobe82add1e2c4b0b6dd998c50fc5804ef1996aa579
1 import("piece_theme.lua")
2 shadow = 7
3 shadow_color = "#404050"
4 shadow_offset_x = 3
5 shadow_offset_y = 3
6 shadow_grow = 6
8 function fromGlyph(glyph)
9 return fromFontGlyph("XBoard.ttf", glyph, "black", "white", 6.0)
10 end
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")