Changeset 188 for trunk/LocalPlayer/Draft.pas
- Timestamp:
- May 6, 2020, 11:21:12 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Draft.pas
r104 r188 239 239 // assemble background from 2 texture tiles 240 240 begin 241 bitblt (Back.Canvas.Handle, 0, 0, ClientWidth, 64,242 MainTexture.Image.Canvas .Handle, (wMainTexture - ClientWidth) div 2,243 hMainTexture - 64 , SRCCOPY);244 bitblt (Back.Canvas.Handle, 0, 64, ClientWidth, ClientHeight - 64,245 MainTexture.Image.Canvas .Handle, (wMainTexture - ClientWidth) div 2,246 0 , SRCCOPY);241 bitbltCanvas(Back.Canvas, 0, 0, ClientWidth, 64, 242 MainTexture.Image.Canvas, (wMainTexture - ClientWidth) div 2, 243 hMainTexture - 64); 244 bitbltCanvas(Back.Canvas, 0, 64, ClientWidth, ClientHeight - 64, 245 MainTexture.Image.Canvas, (wMainTexture - ClientWidth) div 2, 246 0); 247 247 end 248 248 else 249 bitblt (Back.Canvas.Handle, 0, 0, ClientWidth, ClientHeight,250 MainTexture.Image.Canvas .Handle, (wMainTexture - ClientWidth) div 2,251 (hMainTexture - ClientHeight) div 2 , SRCCOPY);249 bitbltCanvas(Back.Canvas, 0, 0, ClientWidth, ClientHeight, 250 MainTexture.Image.Canvas, (wMainTexture - ClientWidth) div 2, 251 (hMainTexture - ClientHeight) div 2); 252 252 ImageOp_B(Back, Template, 0, 0, 0, 0, Template.Width, 64); 253 253 ImageOp_B(Back, Template, 0, 64, 0, 64 + Cut, Template.Width, 254 254 Template.Height - 64 - Cut); 255 255 256 bitblt (offscreen.Canvas.Handle, 0, 0, ClientWidth, ClientHeight,257 Back.Canvas .Handle, 0, 0, SRCCOPY);256 bitbltCanvas(offscreen.Canvas, 0, 0, ClientWidth, ClientHeight, 257 Back.Canvas, 0, 0); 258 258 259 259 offscreen.Canvas.Font.Assign(UniFont[ftCaption]);
Note:
See TracChangeset
for help on using the changeset viewer.