Changeset 179 for branches/highdpi/LocalPlayer/MessgEx.pas
- Timestamp:
- Jun 23, 2019, 9:12:54 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/LocalPlayer/MessgEx.pas
r178 r179 304 304 ImageOp_BCC(LogoBuffer, Templates, 0, 0, xb, yb, wb, hb, clCover, clPage); 305 305 306 BitBlt(ca.Handle, x, y, wb, hb, LogoBuffer.Canvas.Handle, 0, 0, SRCCOPY);306 DpiBitBlt(ca.Handle, x, y, wb, hb, LogoBuffer.Canvas.Handle, 0, 0, SRCCOPY); 307 307 end; 308 308 … … 328 328 with MyRO.EnemyModel[emix], Tribe[Owner].ModelPicture[mix] do 329 329 begin 330 BitBlt(Canvas.Handle, x, y, 64, 48, GrExt[HGr].Mask.Canvas.Handle,330 DpiBitBlt(Canvas.Handle, x, y, 64, 48, GrExt[HGr].Mask.Canvas.Handle, 331 331 pix mod 10 * 65 + 1, pix div 10 * 49 + 1, SRCAND); 332 BitBlt(Canvas.Handle, x, y, 64, 48, GrExt[HGr].Data.Canvas.Handle,332 DpiBitBlt(Canvas.Handle, x, y, 64, 48, GrExt[HGr].Data.Canvas.Handle, 333 333 pix mod 10 * 65 + 1, pix div 10 * 49 + 1, SRCPAINT); 334 334 end; … … 371 371 begin 372 372 p1 := MyRO.Wonder[IconIndex].EffectiveOwner; 373 BitBlt(Buffer.Canvas.Handle, 0, 0, xSizeBig + 2 * GlowRange,373 DpiBitBlt(Buffer.Canvas.Handle, 0, 0, xSizeBig + 2 * GlowRange, 374 374 ySizeBig + 2 * GlowRange, Canvas.Handle, 375 375 ClientWidth div 2 - (28 + GlowRange), 24 - GlowRange, SRCCOPY); 376 BitBlt(Buffer.Canvas.Handle, GlowRange, GlowRange, xSizeBig, ySizeBig,376 DpiBitBlt(Buffer.Canvas.Handle, GlowRange, GlowRange, xSizeBig, ySizeBig, 377 377 BigImp.Canvas.Handle, IconIndex mod 7 * xSizeBig, 378 378 (IconIndex + SystemIconLines * 7) div 7 * ySizeBig, SRCCOPY); … … 382 382 GlowFrame(Buffer, GlowRange, GlowRange, xSizeBig, ySizeBig, 383 383 Tribe[p1].Color); 384 BitBlt(Canvas.Handle, ClientWidth div 2 - (28 + GlowRange),384 DpiBitBlt(Canvas.Handle, ClientWidth div 2 - (28 + GlowRange), 385 385 24 - GlowRange, xSizeBig + 2 * GlowRange, ySizeBig + 2 * GlowRange, 386 386 Buffer.Canvas.Handle, 0, 0, SRCCOPY); … … 400 400 FrameImage(Canvas, BigImp, ClientWidth div 2 - 28, 24, xSizeBig, 401 401 ySizeBig, 0, 0); 402 BitBlt(Canvas.Handle, ClientWidth div 2 - 32, 20, 64, 44,402 DpiBitBlt(Canvas.Handle, ClientWidth div 2 - 32, 20, 64, 44, 403 403 GrExt[HGr].Mask.Canvas.Handle, pix mod 10 * 65 + 1, 404 404 pix div 10 * 49 + 1, SRCAND); 405 BitBlt(Canvas.Handle, ClientWidth div 2 - 32, 20, 64, 44,405 DpiBitBlt(Canvas.Handle, ClientWidth div 2 - 32, 20, 64, 44, 406 406 GrExt[HGr].Data.Canvas.Handle, pix mod 10 * 65 + 1, 407 407 pix div 10 * 49 + 1, SRCPAINT); … … 415 415 Frame(Canvas, ClientWidth div 2 - 32 - 1, 24 - 1, 416 416 ClientWidth div 2 + 32, 24 + 48, $000000, $000000); 417 BitBlt(Canvas.Handle, ClientWidth div 2 - 32, 24, 64, 48,417 DpiBitBlt(Canvas.Handle, ClientWidth div 2 - 32, 24, 64, 48, 418 418 GrExt[Tribe[IconIndex].faceHGr].Data.Canvas.Handle, 419 419 1 + Tribe[IconIndex].facepix mod 10 * 65, … … 432 432 (ClientWidth - 140) div 2, 24, SRCCOPY); 433 433 ImageOp_BCC(Buffer, Templates, 0, 0, 1, 279, 140, 120, 0, $FFFFFF); 434 BitBlt(Canvas.Handle, (ClientWidth - 140) div 2, 24, 140, 120,434 DpiBitBlt(Canvas.Handle, (ClientWidth - 140) div 2, 24, 140, 120, 435 435 Buffer.Canvas.Handle, 0, 0, SRCCOPY); 436 436 end;
Note:
See TracChangeset
for help on using the changeset viewer.