Changeset 179 for branches/highdpi/LocalPlayer/Help.pas
- Timestamp:
- Jun 23, 2019, 9:12:54 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/LocalPlayer/Help.pas
r178 r179 315 315 ca.FrameRect(rect(x+1,i*24+1,x+24-1,i*24+24-1)); 316 316 ca.Brush.Style:=bsClear; } 317 BitBlt(ca.Handle, x, y - 4, 24, 24, GrExt[HGrSystem].Data.Canvas.Handle, 1,317 DpiBitBlt(ca.Handle, x, y - 4, 24, 24, GrExt[HGrSystem].Data.Canvas.Handle, 1, 318 318 146, SRCCOPY); 319 319 BiColorTextOut(ca, $FFFFFF, $7F007F, x + 10 - ca.Textwidth(s[1]) div 2, … … 456 456 if 4 + i * 24 + yl > InnerHeight then 457 457 yl := InnerHeight - (4 + i * 24); 458 BitBlt(Handle, 8, 4 + i * 24, ExtPic.Width, yl, ExtPic.Canvas.Handle,458 DpiBitBlt(Handle, 8, 4 + i * 24, ExtPic.Width, yl, ExtPic.Canvas.Handle, 459 459 0, 0, SRCCOPY); 460 460 end; … … 497 497 8 + xSizeSmall + x0[i], 2 + 20 + i * 24, $000000, $000000); 498 498 if HelpLineInfo.Picpix = imPalace then 499 BitBlt(OffScreen.Canvas.Handle, 8 + x0[i], 2 + i * 24,499 DpiBitBlt(OffScreen.Canvas.Handle, 8 + x0[i], 2 + i * 24, 500 500 xSizeSmall, ySizeSmall, SmallImp.Canvas.Handle, 501 501 0 * xSizeSmall, 1 * ySizeSmall, SRCCOPY) 502 502 else 503 BitBlt(OffScreen.Canvas.Handle, 8 + x0[i], 2 + i * 24,503 DpiBitBlt(OffScreen.Canvas.Handle, 8 + x0[i], 2 + i * 24, 504 504 xSizeSmall, ySizeSmall, SmallImp.Canvas.Handle, 505 505 HelpLineInfo.Picpix mod 7 * xSizeSmall, … … 564 564 $000000, $000000); 565 565 if AdvIcon[HelpLineInfo.Picpix] < 84 then 566 BitBlt(OffScreen.Canvas.Handle, 8 + x0[i], 2 + i * 24,566 DpiBitBlt(OffScreen.Canvas.Handle, 8 + x0[i], 2 + i * 24, 567 567 xSizeSmall, ySizeSmall, SmallImp.Canvas.Handle, 568 568 (AdvIcon[HelpLineInfo.Picpix] + SystemIconLines * 7) mod 7 * … … 574 574 295 + (AdvIcon[HelpLineInfo.Picpix] - 84) div 8 * 21); 575 575 j := AdvValue[HelpLineInfo.Picpix] div 1000; 576 BitBlt(Handle, x0[i] + 4, 4 + i * 24, 14, 14,576 DpiBitBlt(Handle, x0[i] + 4, 4 + i * 24, 14, 14, 577 577 GrExt[HGrSystem].Mask.Canvas.Handle, 127 + j * 15, 85, SRCAND); 578 578 Sprite(OffScreen, HGrSystem, x0[i] + 3, 3 + i * 24, 14, 14, … … 751 751 ScreenTools.Frame(OffScreen.Canvas, 8 - 1 + x0[i], 2 - 1 + i * 24, 752 752 8 + xSizeSmall + x0[i], 2 + 20 + i * 24, $000000, $000000); 753 BitBlt(OffScreen.Canvas.Handle, 8 + x0[i], 2 + i * 24, xSizeSmall,753 DpiBitBlt(OffScreen.Canvas.Handle, 8 + x0[i], 2 + i * 24, xSizeSmall, 754 754 ySizeSmall, SmallImp.Canvas.Handle, (HelpLineInfo.Picpix - 1) * 755 755 xSizeSmall, ySizeSmall, SRCCOPY);
Note:
See TracChangeset
for help on using the changeset viewer.