mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
tracks: Roughly double the thickness of the "no track" crosses
The default of 1/30 is rather thin, and probably wasn't chosen deliberately (since it was just inherited from the default 1-pixel line width, and the preferred tile size). Thicker crosses stand out more and make play easier. Use 1/16 since it's a rounder number than 1/15 :-). Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
This commit is contained in:

committed by
Simon Tatham

parent
9b0069b137
commit
05938e1f64
2
tracks.c
2
tracks.c
@ -1719,7 +1719,7 @@ static void game_changed_state(game_ui *ui, const game_state *oldstate,
|
||||
|
||||
#define BORDER (TILE_SIZE/8)
|
||||
#define BORDER_WIDTH (max(TILE_SIZE / 32, 1))
|
||||
#define LINE_THICK (TILE_SIZE/30)
|
||||
#define LINE_THICK (TILE_SIZE/16)
|
||||
|
||||
#define COORD(x) ( (x+1) * TILE_SIZE + BORDER )
|
||||
#define CENTERED_COORD(x) ( COORD(x) + TILE_SIZE/2 )
|
||||
|
Reference in New Issue
Block a user