Changeset 47 for trunk/UGame.pas
- Timestamp:
- Nov 2, 2019, 4:25:46 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UGame.pas
r38 r47 549 549 begin 550 550 TopBarHeight := ScaleY(24, 96); 551 TileMargin := Round(CanvasSize.X / Board.Size.X * 0.0 2);551 TileMargin := Round(CanvasSize.X / Board.Size.X * 0.015); 552 552 Canvas.Brush.Style := bsSolid; 553 553 Canvas.Brush.Color := clBlack; … … 666 666 TextSize: TSize; 667 667 begin 668 Canvas.FillRect(TileRect); 668 Canvas.Pen.Style := psClear; 669 Canvas.RoundRect(TileRect, ScaleX(TileRect.Width div 20, 96), ScaleY(TileRect.Height div 20, 96)); 669 670 if WithText and (Tile.Value <> 0) then begin 670 671 ValueStr := IntToStr(Tile.Value);
Note:
See TracChangeset
for help on using the changeset viewer.