Changeset 468 for trunk/LocalPlayer/NatStat.pas
- Timestamp:
- Dec 3, 2023, 11:28:08 AM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/NatStat.pas
r460 r468 6 6 uses 7 7 Protocol, ClientTools, ScreenTools, BaseWin, LCLIntf, LCLType, SysUtils, 8 Classes, Graphics, Controls, Forms, ButtonB, ButtonC, Menus, EOTButton; 8 Classes, ButtonB, ButtonC, EOTButton, 9 {$IFDEF DPI}Dpi.Graphics, Dpi.Controls, Dpi.Forms, Dpi.Menus{$ELSE} 10 Graphics, Controls, Forms, Menus{$ENDIF}; 9 11 10 12 type … … 86 88 87 89 Back := TBitmap.Create; 88 Back.PixelFormat := pf24bit;90 Back.PixelFormat := TPixelFormat.pf24bit; 89 91 Back.SetSize(Width, Height); 90 92 Back.Canvas.FillRect(0, 0, Back.Width, Back.Height); 91 93 Template := TBitmap.Create; 92 Template.PixelFormat := pf24bit;94 Template.PixelFormat := TPixelFormat.pf24bit; 93 95 LoadGraphicFile(Template, GetGraphicsDir + DirectorySeparator + 'Nation.png', 94 96 [gfNoGamma]); … … 359 361 FillRect(Rect(xReport + PaperShade, yReport + hReport, 360 362 xReport + wReport + PaperShade, yReport + hReport + PaperShade)); 361 Brush.Style := bsClear;363 Brush.Style := TBrushStyle.bsClear; 362 364 end; 363 365
Note:
See TracChangeset
for help on using the changeset viewer.