Changeset 361 for branches/highdpi/LocalPlayer/Wonders.pas
- Timestamp:
- Apr 9, 2021, 5:56:50 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/LocalPlayer/Wonders.pas
r349 r361 199 199 200 200 Fill(Offscreen.Canvas, 3, 3, ClientWidth - 6, ClientHeight - 6, 201 ( wMaintexture - ClientWidth) div 2, (hMaintexture- ClientHeight) div 2);201 (Maintexture.Width - ClientWidth) div 2, (Maintexture.Height - ClientHeight) div 2); 202 202 Frame(Offscreen.Canvas, 0, 0, ClientWidth - 1, ClientHeight - 1, 0, 0); 203 203 Frame(Offscreen.Canvas, 1, 1, ClientWidth - 2, ClientHeight - 2, 204 MainTexture. clBevelLight, MainTexture.clBevelShade);204 MainTexture.ColorBevelLight, MainTexture.ColorBevelShade); 205 205 Frame(Offscreen.Canvas, 2, 2, ClientWidth - 3, ClientHeight - 3, 206 MainTexture. clBevelLight, MainTexture.clBevelShade);206 MainTexture.ColorBevelLight, MainTexture.ColorBevelShade); 207 207 Corner(Offscreen.Canvas, 1, 1, 0, MainTexture); 208 208 Corner(Offscreen.Canvas, ClientWidth - 9, 1, 1, MainTexture); … … 230 230 Fill(Offscreen.Canvas, Center.X - xSizeBig div 2 + RingPosition[I].X - 3, 231 231 Center.Y - ySizeBig div 2 + RingPosition[I].Y - 3, xSizeBig + 6, 232 ySizeBig + 6, ( wMaintexture- ClientWidth) div 2,233 ( hMaintexture- ClientHeight) div 2);232 ySizeBig + 6, (Maintexture.Width - ClientWidth) div 2, 233 (Maintexture.Height - ClientHeight) div 2); 234 234 end; 235 235 WonderDestroyed: begin … … 308 308 begin 309 309 Fill(Canvas, 9, ClientHeight - 3 - 46, ClientWidth - 18, 44, 310 ( wMaintexture - ClientWidth) div 2, (hMaintexture- ClientHeight) div 2);310 (Maintexture.Width - ClientWidth) div 2, (Maintexture.Height - ClientHeight) div 2); 311 311 if Selection >= 0 then 312 312 begin … … 318 318 (ClientWidth-BiColorTextWidth(Canvas,S)) div 2+1, 319 319 ClientHeight-3-36+1, S); 320 Canvas.Font.Color:=MainTexture. clBevelLight;320 Canvas.Font.Color:=MainTexture.ColorBevelLight; 321 321 Canvas.TextOut( 322 322 (ClientWidth-BiColorTextWidth(Canvas,S)) div 2,
Note:
See TracChangeset
for help on using the changeset viewer.