Changeset 315 for trunk/Start.pas
- Timestamp:
- Mar 18, 2021, 10:58:28 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Start.pas
r314 r315 5 5 6 6 uses 7 GameServer, Messg, ButtonBase, ButtonA, ButtonC, ButtonB, Area, 7 GameServer, Messg, ButtonBase, ButtonA, ButtonC, ButtonB, Area, Types, 8 8 LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, Forms, StdCtrls, 9 9 Menus, Registry, DrawDlg, fgl, Protocol; … … 671 671 AIBrains: TBrains; 672 672 I: Integer; 673 TextSize: TSize; 673 674 begin 674 675 AIBrains := TBrains.Create(False); … … 684 685 Font.Style := []; 685 686 Font.Color := $5FDBFF; 686 Textout(32 - TextWidth(FileName) div 2, 687 32 - TextHeight(FileName) div 2, FileName); 687 TextSize := TextExtent(FileName); 688 Textout(32 - TextSize.Width div 2, 689 32 - TextSize.Height div 2, FileName); 688 690 end; 689 691 end; … … 830 832 3 + 2 * integer(Tab <> tbMain)); 831 833 832 ImageOp_BCC(LogoBuffer, Templates , 0, 0, 145, 38, 36, 27, $BFBF20, $4040DF);834 ImageOp_BCC(LogoBuffer, Templates.Data, 0, 0, 145, 38, 36, 27, $BFBF20, $4040DF); 833 835 // logo part 1 834 ImageOp_BCC(LogoBuffer, Templates , 10, 27, 155, 38 + 27, 26, 9, $BFBF20,836 ImageOp_BCC(LogoBuffer, Templates.Data, 10, 27, 155, 38 + 27, 26, 9, $BFBF20, 835 837 $4040DF); // logo part 2 836 838 BitBltCanvas(Canvas, 6, 3 + 2 * integer(Tab <> tbMain), 36, 36, … … 879 881 BitBltCanvas(LogoBuffer.Canvas, 0, 0, 91, 25, Canvas, 880 882 xActionIcon, y + 2); 881 ImageOp_BCC(LogoBuffer, Templates , 0, 0, 1, 400, 91, 25, 0,883 ImageOp_BCC(LogoBuffer, Templates.Data, 0, 0, 1, 400, 91, 25, 0, 882 884 Colors.Canvas.Pixels[clkAge0 - 1, cliDimmedText]); 883 885 BitBltCanvas(Canvas, xActionIcon, y + 2, 91, 25,
Note:
See TracChangeset
for help on using the changeset viewer.