Changeset 565 for trunk/LocalPlayer
- Timestamp:
- May 1, 2024, 12:08:20 PM (8 months ago)
- Location:
- trunk/LocalPlayer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Battle.pas
r548 r565 229 229 FillRect(Rect(0, 0, ClientWidth, ClientHeight)); 230 230 Brush.Style := TBrushStyle.bsClear; 231 PaintBackground(Self, 3 + Border, 3 + Border, 232 ClientWidth - (6 + 2 * Border), ClientHeight - (6 + 2 * Border)); 231 PaintBackground(Canvas, 3 + Border, 3 + Border, 232 ClientWidth - (6 + 2 * Border), ClientHeight - (6 + 2 * Border), 233 ClientWidth, ClientHeight); 233 234 end; 234 235 Frame(Canvas, Border + 1, Border + 1, ClientWidth - (2 + Border), -
trunk/LocalPlayer/Rates.pas
r531 r565 21 21 procedure FormCreate(Sender: TObject); 22 22 procedure TaxLuxBtnClick(Sender: TObject); 23 protected 24 procedure OffscreenPaint; override; 23 25 public 24 procedure OffscreenPaint; override;25 26 procedure ShowNewContent(NewMode: TWindowMode); 26 27 end; … … 48 49 S, s1: string; 49 50 begin 50 if (OffscreenUser <> nil) and (OffscreenUser <> Self) then 51 OffscreenUser.Update; 52 // complete working with old owner to prevent rebound 53 OffscreenUser := Self; 51 inherited; 54 52 55 53 Fill(Offscreen.Canvas, 0, 0, ClientWidth, ClientHeight, -
trunk/LocalPlayer/Wonders.pas
r548 r565 27 27 procedure Glow(I, GlowColor: Integer); 28 28 procedure PaintBackgroundShape; 29 protected 30 procedure OffscreenPaint; override; 29 31 public 30 procedure OffscreenPaint; override;31 32 procedure ShowNewContent(NewMode: TWindowMode); 32 33 end; … … 193 194 S: string; 194 195 begin 195 if (OffscreenUser <> nil) and (OffscreenUser <> Self) then 196 OffscreenUser.Update; 197 // complete working with old owner to prevent rebound 198 OffscreenUser := Self; 196 inherited; 199 197 200 198 Fill(Offscreen.Canvas, 3, 3, ClientWidth - 6, ClientHeight - 6,
Note:
See TracChangeset
for help on using the changeset viewer.