Changeset 530 for trunk/LocalPlayer/Draft.pas
- Timestamp:
- Feb 24, 2024, 8:04:26 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Draft.pas
r471 r530 238 238 // assemble background from 2 texture tiles 239 239 begin 240 BitBlt Canvas(Back.Canvas, 0, 0, ClientWidth, 64,241 MainTexture.Image .Canvas, (MainTexture.Width - ClientWidth) div 2,240 BitBltBitmap(Back, 0, 0, ClientWidth, 64, 241 MainTexture.Image, (MainTexture.Width - ClientWidth) div 2, 242 242 MainTexture.Height - 64); 243 BitBlt Canvas(Back.Canvas, 0, 64, ClientWidth, ClientHeight - 64,244 MainTexture.Image .Canvas, (MainTexture.Width - ClientWidth) div 2,243 BitBltBitmap(Back, 0, 64, ClientWidth, ClientHeight - 64, 244 MainTexture.Image, (MainTexture.Width - ClientWidth) div 2, 245 245 0); 246 246 end 247 247 else 248 BitBlt Canvas(Back.Canvas, 0, 0, ClientWidth, ClientHeight,249 MainTexture.Image .Canvas, (MainTexture.Width - ClientWidth) div 2,248 BitBltBitmap(Back, 0, 0, ClientWidth, ClientHeight, 249 MainTexture.Image, (MainTexture.Width - ClientWidth) div 2, 250 250 (MainTexture.Height - ClientHeight) div 2); 251 251 ImageOp_B(Back, Template, 0, 0, 0, 0, Template.Width, 64); … … 253 253 Template.Height - 64 - Cut); 254 254 255 BitBltCanvas(Offscreen.Canvas, 0, 0, ClientWidth, ClientHeight, 256 Back.Canvas, 0, 0); 255 BitBltBitmap(Offscreen, 0, 0, ClientWidth, ClientHeight, Back, 0, 0); 257 256 258 257 Offscreen.Canvas.Font.Assign(UniFont[ftCaption]);
Note:
See TracChangeset
for help on using the changeset viewer.