Changeset 352 for trunk/LocalPlayer/NatStat.pas
- Timestamp:
- Apr 6, 2021, 10:16:55 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/NatStat.pas
r350 r352 107 107 procedure TNatStatDlg.CheckAge; 108 108 begin 109 if MainTextureAge <> AgePrepared then 110 begin 111 AgePrepared := MainTextureAge; 109 if MainTexture.Age <> AgePrepared then begin 110 AgePrepared := MainTexture.Age; 112 111 BitBltCanvas(Back.Canvas, 0, 0, ClientWidth, ClientHeight, 113 MainTexture.Image.Canvas, ( wMainTexture- ClientWidth) div 2,114 ( hMainTexture- ClientHeight) div 2);112 MainTexture.Image.Canvas, (MainTexture.Width - ClientWidth) div 2, 113 (MainTexture.Height - ClientHeight) div 2); 115 114 ImageOp_B(Back, Template, 0, 0, 0, 0, ClientWidth, ClientHeight); 116 115 end; … … 358 357 with Canvas do 359 358 begin 360 Brush.Color := MainTexture. clBevelShade;359 Brush.Color := MainTexture.ColorBevelShade; 361 360 FillRect(Rect(xReport + wReport, yReport + PaperShade, 362 361 xReport + wReport + PaperShade, yReport + hReport + PaperShade));
Note:
See TracChangeset
for help on using the changeset viewer.