Sam Atkins
5f6dd87163
LibChess: Add and use Square::{file,rank}_char() methods
...
This saves us having to build and allocate a String, just to then use
one character of it.
2023-04-24 20:58:35 +02:00
Sam Atkins
c325a656ec
GamesSettings: Migrate to Directory::for_each_entry()
2023-03-05 20:23:42 +01:00
Sam Atkins
0f2936d8cd
Chess+GamesSettings: Give chess pieces some breathing room
...
Draw pieces around 80% of the size of a square, instead of 100%, so that
there is a nice gap around them. This feels more comfy, and makes it
actually possible to read the coordinates while a piece is on their
square.
2023-02-04 12:29:03 +01:00
Sam Atkins
7e4186de63
Chess+GamesSettings: Use the correct term for chess squares
...
"Square" is the technical term, so let's use it. :^)
Also, stop using size_t for pixel sizes, that's not what that means.
2023-02-04 12:29:03 +01:00
Sam Atkins
05913b853a
GamesSettings: Add chess settings :^)
...
This adds a tab for configuring the appearance of Chess, along with a
preview.
2023-02-02 14:52:21 +01:00