Changeset 179 for branches/highdpi/LocalPlayer
- Timestamp:
- Jun 23, 2019, 9:12:54 PM (6 years ago)
- Location:
- branches/highdpi/LocalPlayer
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/LocalPlayer/Battle.pas
r178 r179 107 107 VLightGradient(ca, xm - 8, ym + 8 + LABaseDamage, LADamage - LABaseDamage, 108 108 FanaticColor); 109 BitBlt(ca.Handle, xm - 12, ym - 12, 24, 24,109 DpiBitBlt(ca.Handle, xm - 12, ym - 12, 24, 24, 110 110 GrExt[HGrSystem].Mask.Canvas.Handle, 26, 146, SRCAND); 111 BitBlt(ca.Handle, xm - 12, ym - 12, 24, 24,111 DpiBitBlt(ca.Handle, xm - 12, ym - 12, 24, 24, 112 112 GrExt[HGrSystem].Data.Canvas.Handle, 26, 146, SRCPAINT); 113 113 … … 132 132 if Forecast.EndHealthDef <= 0 then 133 133 begin 134 BitBlt(ca.Handle, xm + 9 + LDDamage - 7, ym - 6, 14, 17,134 DpiBitBlt(ca.Handle, xm + 9 + LDDamage - 7, ym - 6, 14, 17, 135 135 GrExt[HGrSystem].Mask.Canvas.Handle, 51, 153, SRCAND); 136 BitBlt(ca.Handle, xm + 8 + LDDamage - 7, ym - 7, 14, 17,136 DpiBitBlt(ca.Handle, xm + 8 + LDDamage - 7, ym - 7, 14, 17, 137 137 GrExt[HGrSystem].Mask.Canvas.Handle, 51, 153, SRCAND); 138 BitBlt(ca.Handle, xm + 8 + LDDamage - 7, ym - 7, 14, 17,138 DpiBitBlt(ca.Handle, xm + 8 + LDDamage - 7, ym - 7, 14, 17, 139 139 GrExt[HGrSystem].Data.Canvas.Handle, 51, 153, SRCPAINT); 140 140 end; … … 152 152 if Forecast.EndHealthAtt <= 0 then 153 153 begin 154 BitBlt(ca.Handle, xm - 6, ym + 9 + LADamage - 7, 14, 17,154 DpiBitBlt(ca.Handle, xm - 6, ym + 9 + LADamage - 7, 14, 17, 155 155 GrExt[HGrSystem].Mask.Canvas.Handle, 51, 153, SRCAND); 156 BitBlt(ca.Handle, xm - 7, ym + 8 + LADamage - 7, 14, 17,156 DpiBitBlt(ca.Handle, xm - 7, ym + 8 + LADamage - 7, 14, 17, 157 157 GrExt[HGrSystem].Mask.Canvas.Handle, 51, 153, SRCAND); 158 BitBlt(ca.Handle, xm - 7, ym + 8 + LADamage - 7, 14, 17,158 DpiBitBlt(ca.Handle, xm - 7, ym + 8 + LADamage - 7, 14, 17, 159 159 GrExt[HGrSystem].Data.Canvas.Handle, 51, 153, SRCPAINT); 160 160 end; … … 173 173 174 174 NoMap.SetOutput(Buffer); 175 BitBlt(Buffer.Canvas.Handle, 0, 0, 66, 48, ca.Handle, xm + 8 + 4,175 DpiBitBlt(Buffer.Canvas.Handle, 0, 0, 66, 48, ca.Handle, xm + 8 + 4, 176 176 ym - 8 - 12 - 48, SRCCOPY); 177 177 { if TerrType<fForest then … … 185 185 end; } 186 186 NoMap.PaintUnit(1, 0, UnitInfo, 0); 187 BitBlt(ca.Handle, xm + 8 + 4, ym - 8 - 12 - 48, 66, 48, Buffer.Canvas.Handle,187 DpiBitBlt(ca.Handle, xm + 8 + 4, ym - 8 - 12 - 48, 66, 48, Buffer.Canvas.Handle, 188 188 0, 0, SRCCOPY); 189 189 190 BitBlt(Buffer.Canvas.Handle, 0, 0, 66, 48, ca.Handle, xm - 8 - 4 - 66,190 DpiBitBlt(Buffer.Canvas.Handle, 0, 0, 66, 48, ca.Handle, xm - 8 - 4 - 66, 191 191 ym + 8 + 12, SRCCOPY); 192 192 MakeUnitInfo(me, MyUn[uix], UnitInfo); 193 193 UnitInfo.Flags := UnitInfo.Flags and not unFortified; 194 194 NoMap.PaintUnit(1, 0, UnitInfo, 0); 195 BitBlt(ca.Handle, xm - 8 - 4 - 66, ym + 8 + 12, 66, 48, Buffer.Canvas.Handle,195 DpiBitBlt(ca.Handle, xm - 8 - 4 - 66, ym + 8 + 12, 66, 48, Buffer.Canvas.Handle, 196 196 0, 0, SRCCOPY); 197 197 end; { PaintBattleOutcome } -
branches/highdpi/LocalPlayer/CityScreen.pas
r178 r179 260 260 Back.Canvas.FillRect(0, 0, ClientWidth, ClientHeight); 261 261 262 bitblt(Back.Canvas.Handle, 0, 0, ClientWidth, ClientHeight,262 Dpibitblt(Back.Canvas.Handle, 0, 0, ClientWidth, ClientHeight, 263 263 MainTexture.Image.Canvas.Handle, 0, 0, SRCCOPY); 264 264 ImageOp_B(Back, Template, 0, 0, 0, 0, ClientWidth, ClientHeight); … … 291 291 Color2 := Colors.Canvas.Pixels[clkAge0 + Age, cliHouse]; 292 292 SmallCityMap.Canvas.FillRect(0, 0, SmallCityMap.Width, SmallCityMap.Height); 293 bitblt(SmallCityMap.Canvas.Handle, 0, 0, 83, hSmallMap,293 Dpibitblt(SmallCityMap.Canvas.Handle, 0, 0, 83, hSmallMap, 294 294 SmallCityMapTemplate.Canvas.Handle, 83 * SizeClass, 0, SRCCOPY); 295 295 if IsPort then 296 296 begin 297 bitblt(SmallCityMap.Canvas.Handle, 83, 0, 15, hSmallMap,297 Dpibitblt(SmallCityMap.Canvas.Handle, 83, 0, 15, hSmallMap, 298 298 SmallCityMapTemplate.Canvas.Handle, 332 + 15, 0, SRCCOPY); 299 299 ImageOp_CCC(SmallCityMap, 0, 0, 83, hSmallMap, Color0, Color1, Color2); … … 303 303 else 304 304 begin 305 bitblt(SmallCityMap.Canvas.Handle, 83, 0, 15, hSmallMap,305 Dpibitblt(SmallCityMap.Canvas.Handle, 83, 0, 15, hSmallMap, 306 306 SmallCityMapTemplate.Canvas.Handle, 332, 0, SRCCOPY); 307 307 ImageOp_CCC(SmallCityMap, 0, 0, wSmallMap, hSmallMap, Color0, … … 359 359 ZoomCityMap.Canvas.FillRect(0, 0, ZoomCityMap.Width, ZoomCityMap.Height); 360 360 361 bitblt(ZoomCityMap.Canvas.Handle, 0, 0, wZoomMap, hZoomMap,361 Dpibitblt(ZoomCityMap.Canvas.Handle, 0, 0, wZoomMap, hZoomMap, 362 362 Back.Canvas.Handle, xZoomMap, yZoomMap, SRCCOPY); 363 363 if Mode = mImp then begin … … 542 542 RedTex.clTextShade := $0000FF; 543 543 544 bitblt(offscreen.Canvas.Handle, 0, 0, 640, 480, Back.Canvas.Handle, 0,544 Dpibitblt(offscreen.Canvas.Handle, 0, 0, 640, 480, Back.Canvas.Handle, 0, 545 545 0, SRCCOPY); 546 546 … … 614 614 false, AllowChange and IsCityAlive and 615 615 (c.Status and csResourceWeightsMask = 0)); 616 bitblt(offscreen.Canvas.Handle, xmArea + 102, 42, 90, 33, Back.Canvas.Handle,616 Dpibitblt(offscreen.Canvas.Handle, xmArea + 102, 42, 90, 33, Back.Canvas.Handle, 617 617 xmArea + 102, 42, SRCCOPY); 618 618 … … 645 645 else 646 646 xGr := 141; 647 bitblt(offscreen.Canvas.Handle, xmArea - 192 + 5 + i * d, ymArea - 96 - 29,647 Dpibitblt(offscreen.Canvas.Handle, xmArea - 192 + 5 + i * d, ymArea - 96 - 29, 648 648 27, 30, GrExt[HGrSystem].Mask.Canvas.Handle, xGr, 171, SRCAND); { shadow } 649 649 Sprite(offscreen, HGrSystem, xmArea - 192 + 4 + i * d, ymArea - 96 - 30, 27, … … 657 657 begin 658 658 xGr := 1 + 112; 659 bitblt(offscreen.Canvas.Handle, xmArea + 192 - 27 + 1 - i * d, 29 + 1, 27,659 Dpibitblt(offscreen.Canvas.Handle, xmArea + 192 - 27 + 1 - i * d, 29 + 1, 27, 660 660 30, GrExt[HGrSystem].Mask.Canvas.Handle, xGr, 171, SRCAND); { shadow } 661 661 Sprite(offscreen, HGrSystem, xmArea + 192 - 27 - i * d, 29, 27, 30, … … 803 803 804 804 // small map 805 bitblt(offscreen.Canvas.Handle, xSmallMap, ySmallMap, wSmallMap, hSmallMap,805 Dpibitblt(offscreen.Canvas.Handle, xSmallMap, ySmallMap, wSmallMap, hSmallMap, 806 806 SmallCityMap.Canvas.Handle, 0, 0, SRCCOPY); 807 807 if Mode = mImp then … … 831 831 Sprite(offscreen, HGrSystem, x + 6, y - 5, 10, 10, 154, 126); 832 832 833 bitblt(offscreen.Canvas.Handle, xZoomMap, yZoomMap, wZoomMap, hZoomMap,833 Dpibitblt(offscreen.Canvas.Handle, xZoomMap, yZoomMap, wZoomMap, hZoomMap, 834 834 ZoomCityMap.Canvas.Handle, 0, 0, SRCCOPY); 835 835 … … 1620 1620 with Canvas do 1621 1621 begin 1622 bitblt(Canvas.Handle, xView + 5, yView + 1, 64, 2, Back.Canvas.Handle,1622 Dpibitblt(Canvas.Handle, xView + 5, yView + 1, 64, 2, Back.Canvas.Handle, 1623 1623 xView + 5, yView + 1, SRCCOPY); 1624 bitblt(Canvas.Handle, xView + 5, yView + 3, 2, 42, Back.Canvas.Handle,1624 Dpibitblt(Canvas.Handle, xView + 5, yView + 3, 2, 42, Back.Canvas.Handle, 1625 1625 xView + 5, yView + 3, SRCCOPY); 1626 bitblt(Canvas.Handle, xView + 5 + 62, yView + 3, 2, 42,1626 Dpibitblt(Canvas.Handle, xView + 5 + 62, yView + 3, 2, 42, 1627 1627 Back.Canvas.Handle, xView + 5 + 62, yView + 3, SRCCOPY); 1628 1628 ScreenTools.Frame(Canvas, xView + 9 - 1, yView + 5 - 1, xView + 9 + xSizeBig, … … 1644 1644 else if c.Project and cpImp = 0 then 1645 1645 begin // project is unit 1646 bitblt(Canvas.Handle, xView + 9, yView + 5, xSizeBig, ySizeBig,1646 Dpibitblt(Canvas.Handle, xView + 9, yView + 5, xSizeBig, ySizeBig, 1647 1647 bigimp.Canvas.Handle, 0, 0, SRCCOPY); 1648 1648 with Tribe[cOwner].ModelPicture[c.Project and cpIndex] do -
branches/highdpi/LocalPlayer/CityType.pas
r57 r179 39 39 CityTypeDlg: TCityTypeDlg; 40 40 41 41 42 implementation 42 43 43 uses Help; 44 uses 45 Help, UDpiControls; 44 46 45 47 {$R *.lfm} … … 114 116 xSwitch + 38 + i * 42, ySwitch + 22, MainTexture.clBevelLight, 115 117 MainTexture.clBevelShade); 116 BitBlt(offscreen.Canvas.Handle, xSwitch + 2 + i * 42, ySwitch + 2,118 DpiBitBlt(offscreen.Canvas.Handle, xSwitch + 2 + i * 42, ySwitch + 2, 117 119 xSizeSmall, ySizeSmall, SmallImp.Canvas.Handle, (i + 3) * xSizeSmall, 118 120 0, SRCCOPY) … … 149 151 yList + 16 + ySizeSmall div 2 + i div nListCol * 32, 150 152 MainTexture.clBevelLight, MainTexture.clBevelShade); 151 BitBlt(offscreen.Canvas.Handle, xList + 21 - xSizeSmall div 2 +153 DpiBitBlt(offscreen.Canvas.Handle, xList + 21 - xSizeSmall div 2 + 152 154 i mod nListCol * 42, yList + 16 - ySizeSmall div 2 + i div nListCol * 32, 153 155 xSizeSmall, ySizeSmall, SmallImp.Canvas.Handle, … … 172 174 nPool div nPoolCol * 32, MainTexture.clBevelLight, 173 175 MainTexture.clBevelShade); 174 BitBlt(offscreen.Canvas.Handle, xPool + 21 - xSizeSmall div 2 +176 DpiBitBlt(offscreen.Canvas.Handle, xPool + 21 - xSizeSmall div 2 + 175 177 nPool mod nPoolCol * 42, yPool + 16 - ySizeSmall div 2 + 176 178 nPool div nPoolCol * 32, xSizeSmall, ySizeSmall, SmallImp.Canvas.Handle, -
branches/highdpi/LocalPlayer/Draft.pas
r178 r179 238 238 // assemble background from 2 texture tiles 239 239 begin 240 bitblt(Back.Canvas.Handle, 0, 0, ClientWidth, 64,240 Dpibitblt(Back.Canvas.Handle, 0, 0, ClientWidth, 64, 241 241 MainTexture.Image.Canvas.Handle, (wMainTexture - ClientWidth) div 2, 242 242 hMainTexture - 64, SRCCOPY); 243 bitblt(Back.Canvas.Handle, 0, 64, ClientWidth, ClientHeight - 64,243 Dpibitblt(Back.Canvas.Handle, 0, 64, ClientWidth, ClientHeight - 64, 244 244 MainTexture.Image.Canvas.Handle, (wMainTexture - ClientWidth) div 2, 245 245 0, SRCCOPY); 246 246 end 247 247 else 248 bitblt(Back.Canvas.Handle, 0, 0, ClientWidth, ClientHeight,248 Dpibitblt(Back.Canvas.Handle, 0, 0, ClientWidth, ClientHeight, 249 249 MainTexture.Image.Canvas.Handle, (wMainTexture - ClientWidth) div 2, 250 250 (hMainTexture - ClientHeight) div 2, SRCCOPY); … … 253 253 Template.Height - 64 - Cut); 254 254 255 bitblt(offscreen.Canvas.Handle, 0, 0, ClientWidth, ClientHeight,255 Dpibitblt(offscreen.Canvas.Handle, 0, 0, ClientWidth, ClientHeight, 256 256 Back.Canvas.Handle, 0, 0, SRCCOPY); 257 257 -
branches/highdpi/LocalPlayer/Enhance.pas
r57 r179 45 45 EnhanceDlg: TEnhanceDlg; 46 46 47 47 48 implementation 48 49 49 uses Help; 50 uses 51 Help, UDpiControls; 50 52 51 53 {$R *.lfm} … … 96 98 for i := 0 to ControlCount - 1 do 97 99 if Controls[i] is TButtonC then 98 BitBlt(Canvas.Handle, Controls[i].Left + 2, Controls[i].Top - 11, 8, 8,100 DpiBitBlt(Canvas.Handle, Controls[i].Left + 2, Controls[i].Top - 11, 8, 8, 99 101 GrExt[HGrSystem].Data.Canvas.Handle, 121 + Controls[i].Tag mod 7 * 9, 100 102 1 + Controls[i].Tag div 7 * 9, SRCCOPY); -
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); -
branches/highdpi/LocalPlayer/IsoEngine.pas
r178 r179 521 521 exit; 522 522 523 LCLIntf.BitBlt(FOutput.Canvas.Handle, x, y, Width, Height, Src.Canvas.Handle,523 DpiBitBlt(FOutput.Canvas.Handle, x, y, Width, Height, Src.Canvas.Handle, 524 524 xSrc, ySrc, Rop); 525 525 end; … … 561 561 exit; 562 562 563 LCLIntf.BitBlt(FOutput.Canvas.Handle, xDst, yDst, Width, Height, MaskDC, xSrc, ySrc, SRCAND);563 DpiBitBlt(FOutput.Canvas.Handle, xDst, yDst, Width, Height, MaskDC, xSrc, ySrc, SRCAND); 564 564 if not PureBlack then 565 LCLIntf.BitBlt(FOutput.Canvas.Handle, xDst, yDst, Width, Height, DataDC, xSrc, ySrc,565 DpiBitBlt(FOutput.Canvas.Handle, xDst, yDst, Width, Height, DataDC, xSrc, ySrc, 566 566 SRCPAINT); 567 567 end; … … 1011 1011 Borders.Canvas.FillRect(Bounds(0, p1 * (yyt * 2), xxt * 2, yyt * 2)); 1012 1012 1013 LCLIntf.BitBlt(Borders.Canvas.Handle, 0, p1 * (yyt * 2), xxt * 2,1013 DpiBitBlt(Borders.Canvas.Handle, 0, p1 * (yyt * 2), xxt * 2, 1014 1014 yyt * 2, GrExt[HGrTerrain].Data.Canvas.Handle, 1015 1015 1 + 8 * (xxt * 2 + 1), 1 + yyt + 16 * (yyt * 3 + 1), SRCCOPY); -
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; -
branches/highdpi/LocalPlayer/NatStat.pas
r178 r179 108 108 begin 109 109 AgePrepared := MainTextureAge; 110 bitblt(Back.Canvas.Handle, 0, 0, ClientWidth, ClientHeight,110 Dpibitblt(Back.Canvas.Handle, 0, 0, ClientWidth, ClientHeight, 111 111 MainTexture.Image.Canvas.Handle, (wMainTexture - ClientWidth) div 2, 112 112 (hMainTexture - ClientHeight) div 2, SRCCOPY); … … 263 263 Extinct := 1 shl pView and MyRO.Alive = 0; 264 264 265 bitblt(offscreen.Canvas.Handle, 0, 0, ClientWidth, ClientHeight,265 Dpibitblt(offscreen.Canvas.Handle, 0, 0, ClientWidth, ClientHeight, 266 266 Back.Canvas.Handle, 0, 0, SRCCOPY); 267 267 -
branches/highdpi/LocalPlayer/Rates.pas
r61 r179 29 29 RatesDlg: TRatesDlg; 30 30 31 31 32 implementation 32 33 33 34 uses 34 ClientTools, Term, Tribes ;35 ClientTools, Term, Tribes, UDpiControls; 35 36 36 37 {$R *.lfm} … … 95 96 GlowFrame(Offscreen, ClientWidth div 2 - xSizeBig div 2, 52, xSizeBig, 96 97 ySizeBig, Tribe[me].Color); 97 BitBlt(Offscreen.Canvas.Handle, ClientWidth div 2 - xSizeBig div 2, 52,98 DpiBitBlt(Offscreen.Canvas.Handle, ClientWidth div 2 - xSizeBig div 2, 52, 98 99 xSizeBig, ySizeBig, BigImp.Canvas.Handle, (woLiberty mod 7) * xSizeBig, 99 100 (woLiberty div 7 + SystemIconLines) * ySizeBig, SRCCOPY); … … 122 123 begin 123 124 for i := 0 to current div 8 - 1 do 124 BitBlt(Handle, x + max - 8 - i * 8, y, 8, 7,125 DpiBitBlt(Handle, x + max - 8 - i * 8, y, 8, 7, 125 126 GrExt[HGrSystem].Data.Canvas.Handle, 104, 9 + 8 * 2, SRCCOPY); 126 BitBlt(Handle, x + max - current, y, current - 8 * (current div 8), 7,127 DpiBitBlt(Handle, x + max - current, y, current - 8 * (current div 8), 7, 127 128 GrExt[HGrSystem].Data.Canvas.Handle, 104, 9 + 8 * 2, SRCCOPY); 128 129 Brush.Color := $000000; -
branches/highdpi/LocalPlayer/Select.pas
r178 r179 196 196 if pix and cpType = 0 then 197 197 if (pix and cpIndex = imPalace) and (MyRO.Government <> gAnarchy) then 198 BitBlt(offscreen.Canvas.Handle, x + 16, y + (16 - 1), xSizeSmall,198 DpiBitBlt(offscreen.Canvas.Handle, x + 16, y + (16 - 1), xSizeSmall, 199 199 ySizeSmall, SmallImp.Canvas.Handle, (MyRO.Government - 1) * 200 200 xSizeSmall, ySizeSmall, SRCCOPY) 201 201 else 202 BitBlt(offscreen.Canvas.Handle, x + 16, y + (16 - 1), xSizeSmall,202 DpiBitBlt(offscreen.Canvas.Handle, x + 16, y + (16 - 1), xSizeSmall, 203 203 ySizeSmall, SmallImp.Canvas.Handle, pix and cpIndex mod 7 * 204 204 xSizeSmall, (pix and cpIndex + SystemIconLines * 7) div 7 * 205 205 ySizeSmall, SRCCOPY) 206 206 else 207 BitBlt(offscreen.Canvas.Handle, x + 16, y + (16 - 1), xSizeSmall,207 DpiBitBlt(offscreen.Canvas.Handle, x + 16, y + (16 - 1), xSizeSmall, 208 208 ySizeSmall, SmallImp.Canvas.Handle, (3 + pix and cpIndex) * 209 209 xSizeSmall, 0, SRCCOPY) … … 567 567 MainTexture.clBevelLight, MainTexture.clBevelShade); 568 568 if AdvIcon[lix] < 84 then 569 BitBlt(offscreen.Canvas.Handle, (8 + 16), y0, xSizeSmall,569 DpiBitBlt(offscreen.Canvas.Handle, (8 + 16), y0, xSizeSmall, 570 570 ySizeSmall, SmallImp.Canvas.Handle, 571 571 (AdvIcon[lix] + SystemIconLines * 7) mod 7 * xSizeSmall, … … 577 577 295 + (AdvIcon[lix] - 84) div 8 * 21); 578 578 j := AdvValue[lix] div 1000; 579 BitBlt(Handle, (8 + 16 - 4), y0 + 2, 14, 14,579 DpiBitBlt(Handle, (8 + 16 - 4), y0 + 2, 14, 14, 580 580 GrExt[HGrSystem].Mask.Canvas.Handle, 127 + j * 15, 581 581 85, SRCAND); … … 672 672 8 + 16 + xSizeSmall, y0 - 15 + (16 - 1 + ySizeSmall), 673 673 MainTexture.clBevelLight, MainTexture.clBevelShade); 674 BitBlt(offscreen.Canvas.Handle, 8 + 16, y0 - 15 + (16 - 1),674 DpiBitBlt(offscreen.Canvas.Handle, 8 + 16, y0 - 15 + (16 - 1), 675 675 xSizeSmall, ySizeSmall, SmallImp.Canvas.Handle, 676 676 (lix - 1) * xSizeSmall, ySizeSmall, SRCCOPY); … … 819 819 ImageOp_BCC(ScienceNationDot, Templates, 0, 0, 114, 211, 17, 17, 820 820 MainTexture.clBevelShade, Tribe[ScienceNation].Color); 821 BitBlt(Canvas.Handle, xScreen - 10, ClientHeight - 27, 17, 17,821 DpiBitBlt(Canvas.Handle, xScreen - 10, ClientHeight - 27, 17, 17, 822 822 ScienceNationDot.Canvas.Handle, 0, 0, SRCCOPY); 823 823 end; -
branches/highdpi/LocalPlayer/TechTree.pas
r178 r179 107 107 -BlackBorder - yOffset, Paper); 108 108 end; 109 BitBlt(Canvas.Handle, max(BlackBorder, BlackBorder + xOffset),109 DpiBitBlt(Canvas.Handle, max(BlackBorder, BlackBorder + xOffset), 110 110 max(BlackBorder, BlackBorder + yOffset), 111 111 min(Image.width, min(Image.width + xOffset, -
branches/highdpi/LocalPlayer/Term.pas
r178 r179 2746 2746 begin 2747 2747 if AILogo[pLogo] <> nil then 2748 BitBlt(Canvas.Handle, (xRightPanel + 10) - (16 + 64),2748 DpiBitBlt(Canvas.Handle, (xRightPanel + 10) - (16 + 64), 2749 2749 ClientHeight - PanelHeight, 64, 64, AILogo[pLogo].Canvas.Handle, 2750 2750 0, 0, SRCCOPY); … … 4042 4042 begin 4043 4043 if xMap < 0 then 4044 BitBlt(Canvas.Handle, MapOffset, TopBarHeight, width + xMap,4044 DpiBitBlt(Canvas.Handle, MapOffset, TopBarHeight, width + xMap, 4045 4045 height + yMap, Buffer.Canvas.Handle, -xMap, -yMap, SRCCOPY) 4046 4046 else 4047 BitBlt(Canvas.Handle, xMap + MapOffset, TopBarHeight, width,4047 DpiBitBlt(Canvas.Handle, xMap + MapOffset, TopBarHeight, width, 4048 4048 height + yMap, Buffer.Canvas.Handle, 0, -yMap, SRCCOPY) 4049 4049 end … … 4051 4051 begin 4052 4052 if xMap < 0 then 4053 BitBlt(Canvas.Handle, MapOffset, TopBarHeight + yMap, width + xMap,4053 DpiBitBlt(Canvas.Handle, MapOffset, TopBarHeight + yMap, width + xMap, 4054 4054 height, Buffer.Canvas.Handle, -xMap, 0, SRCCOPY) 4055 4055 else 4056 BitBlt(Canvas.Handle, xMap + MapOffset, TopBarHeight + yMap, width,4056 DpiBitBlt(Canvas.Handle, xMap + MapOffset, TopBarHeight + yMap, width, 4057 4057 height, Buffer.Canvas.Handle, 0, 0, SRCCOPY); 4058 4058 end … … 4325 4325 procedure TMainScreen.CopyMiniToPanel; 4326 4326 begin 4327 BitBlt(Panel.Canvas.Handle, xMini + 2, yMini + 2, G.lx * 2, G.ly,4327 DpiBitBlt(Panel.Canvas.Handle, xMini + 2, yMini + 2, G.lx * 2, G.ly, 4328 4328 Mini.Canvas.Handle, 0, 0, SRCCOPY); 4329 4329 if MarkCityLoc >= 0 then … … 4414 4414 ClientWidth - xPalace + xSizeBig + 1, yPalace + ySizeBig + 1, 4415 4415 $FFFFFF, $B0B0B0); 4416 BitBlt(Panel.Canvas.Handle, ClientWidth - xPalace, yPalace, xSizeBig,4416 DpiBitBlt(Panel.Canvas.Handle, ClientWidth - xPalace, yPalace, xSizeBig, 4417 4417 ySizeBig, GrExt[HGrSystem2].Data.Canvas.Handle, 70, 123, SRCCOPY); 4418 4418 end … … 5272 5272 PaintLoc(MouseLoc, 2); 5273 5273 MiniPaint; 5274 BitBlt(Panel.Canvas.Handle, xMini + 2, yMini + 2, G.lx * 2, G.ly,5274 DpiBitBlt(Panel.Canvas.Handle, xMini + 2, yMini + 2, G.lx * 2, G.ly, 5275 5275 Mini.Canvas.Handle, 0, 0, SRCCOPY); 5276 5276 if ywmax <= 0 then … … 6096 6096 for Step := 0 to abs(Step1 - Step0) do 6097 6097 begin 6098 BitBlt(Buffer.Canvas.Handle, 0, 0, xRange, yRange,6098 DpiBitBlt(Buffer.Canvas.Handle, 0, 0, xRange, yRange, 6099 6099 offscreen.Canvas.Handle, xMin, yMin, SRCCOPY); 6100 6100 if Step1 <> Step0 then … … 6138 6138 if Restore then 6139 6139 begin 6140 BitBlt(Buffer.Canvas.Handle, 0, 0, xRange, yRange, offscreen.Canvas.Handle,6140 DpiBitBlt(Buffer.Canvas.Handle, 0, 0, xRange, yRange, offscreen.Canvas.Handle, 6141 6141 xMin, yMin, SRCCOPY); 6142 6142 PaintBufferToScreen(xMin, yMin, xRange, yRange); … … 7489 7489 InitPopup(Popup); 7490 7490 if FullScreen then 7491 Popup.Popup(Left + T Control(Sender).Left, Top + TControl(Sender).Top)7491 Popup.Popup(Left + TDpiControl(Sender).Left, Top + TDpiControl(Sender).Top) 7492 7492 else 7493 Popup.Popup(Left + T Control(Sender).Left + 4, Top + TControl(Sender).Top +7493 Popup.Popup(Left + TDpiControl(Sender).Left + 4, Top + TDpiControl(Sender).Top + 7494 7494 GetSystemMetrics(SM_CYCAPTION) + 4); 7495 7495 end; … … 7553 7553 yw := ywmax; 7554 7554 end; 7555 BitBlt(Buffer.Canvas.Handle, 0, 0, G.lx * 2, G.ly, Mini.Canvas.Handle, 0,7555 DpiBitBlt(Buffer.Canvas.Handle, 0, 0, G.lx * 2, G.ly, Mini.Canvas.Handle, 0, 7556 7556 0, SRCCOPY); 7557 7557 if ywmax <= 0 then … … 7563 7563 x - xMini - 2 + MapWidth div (xxt * 2) - 1, yw + MapHeight div yyt - 7564 7564 2, MainTexture.clMark, MainTexture.clMark); 7565 BitBlt(Panel.Canvas.Handle, xMini + 2, yMini + 2, G.lx * 2, G.ly,7565 DpiBitBlt(Panel.Canvas.Handle, xMini + 2, yMini + 2, G.lx * 2, G.ly, 7566 7566 Buffer.Canvas.Handle, 0, 0, SRCCOPY); 7567 7567 MainOffscreenPaint; … … 7715 7715 Brush.Style := bsClear; 7716 7716 end; 7717 BitBlt(Canvas.Handle, MapOffset, TopBarHeight, MapWidth, MapHeight - overlap,7717 DpiBitBlt(Canvas.Handle, MapOffset, TopBarHeight, MapWidth, MapHeight - overlap, 7718 7718 offscreen.Canvas.Handle, 0, 0, SRCCOPY); 7719 BitBlt(Canvas.Handle, 0, 0, ClientWidth, TopBarHeight, TopBar.Canvas.Handle,7719 DpiBitBlt(Canvas.Handle, 0, 0, ClientWidth, TopBarHeight, TopBar.Canvas.Handle, 7720 7720 0, 0, SRCCOPY); 7721 7721 if xMidPanel > MapOffset then 7722 BitBlt(Canvas.Handle, xMidPanel, TopBarHeight + MapHeight - overlap,7722 DpiBitBlt(Canvas.Handle, xMidPanel, TopBarHeight + MapHeight - overlap, 7723 7723 ClientWidth div 2 - xMidPanel, overlap, offscreen.Canvas.Handle, 7724 7724 xMidPanel - MapOffset, MapHeight - overlap, SRCCOPY) 7725 7725 else 7726 BitBlt(Canvas.Handle, MapOffset, TopBarHeight + MapHeight - overlap,7726 DpiBitBlt(Canvas.Handle, MapOffset, TopBarHeight + MapHeight - overlap, 7727 7727 ClientWidth div 2 - MapOffset, overlap, offscreen.Canvas.Handle, 0, 7728 7728 MapHeight - overlap, SRCCOPY); 7729 7729 if xRightPanel < MapOffset + MapWidth then 7730 BitBlt(Canvas.Handle, ClientWidth div 2, TopBarHeight + MapHeight - overlap,7730 DpiBitBlt(Canvas.Handle, ClientWidth div 2, TopBarHeight + MapHeight - overlap, 7731 7731 xRightPanel - ClientWidth div 2, overlap, offscreen.Canvas.Handle, 7732 7732 ClientWidth div 2 - MapOffset, MapHeight - overlap, SRCCOPY) 7733 7733 else 7734 BitBlt(Canvas.Handle, ClientWidth div 2, TopBarHeight + MapHeight - overlap,7734 DpiBitBlt(Canvas.Handle, ClientWidth div 2, TopBarHeight + MapHeight - overlap, 7735 7735 MapOffset + MapWidth - ClientWidth div 2, overlap, 7736 7736 offscreen.Canvas.Handle, ClientWidth div 2 - MapOffset, 7737 7737 MapHeight - overlap, SRCCOPY); 7738 BitBlt(Canvas.Handle, 0, TopBarHeight + MapHeight - overlap, xMidPanel,7738 DpiBitBlt(Canvas.Handle, 0, TopBarHeight + MapHeight - overlap, xMidPanel, 7739 7739 overlap, Panel.Canvas.Handle, 0, 0, SRCCOPY); 7740 BitBlt(Canvas.Handle, xRightPanel, TopBarHeight + MapHeight - overlap,7740 DpiBitBlt(Canvas.Handle, xRightPanel, TopBarHeight + MapHeight - overlap, 7741 7741 Panel.width - xRightPanel, overlap, Panel.Canvas.Handle, xRightPanel, 7742 7742 0, SRCCOPY); 7743 BitBlt(Canvas.Handle, 0, TopBarHeight + MapHeight, Panel.width,7743 DpiBitBlt(Canvas.Handle, 0, TopBarHeight + MapHeight, Panel.width, 7744 7744 PanelHeight - overlap, Panel.Canvas.Handle, 0, overlap, SRCCOPY); 7745 7745 if (pLogo >= 0) and (G.RO[pLogo] = nil) and (AILogo[pLogo] <> nil) then 7746 BitBlt(Canvas.Handle, xRightPanel + 10 - (16 + 64),7746 DpiBitBlt(Canvas.Handle, xRightPanel + 10 - (16 + 64), 7747 7747 ClientHeight - PanelHeight, 64, 64, AILogo[pLogo].Canvas.Handle, 0, 7748 7748 0, SRCCOPY); … … 7753 7753 r0: HRgn; 7754 7754 begin 7755 r0 := CreateRectRgn(Left, Top, Rigth, Bottom);7755 r0 := DpiCreateRectRgn(Left, Top, Rigth, Bottom); 7756 7756 InvalidateRgn(Handle, r0, false); 7757 7757 DeleteObject(r0); … … 7763 7763 r0, r1: HRgn; 7764 7764 begin 7765 r0 := CreateRectRgn(Left, Top, Rigth, Bottom);7765 r0 := DpiCreateRectRgn(Left, Top, Rigth, Bottom); 7766 7766 for i := 0 to ControlCount - 1 do 7767 7767 if not(Controls[i] is TArea) and Controls[i].Visible then 7768 7768 begin 7769 7769 with Controls[i].BoundsRect do 7770 r1 := CreateRectRgn(Left, Top, Right, Bottom);7770 r1 := DpiCreateRectRgn(Left, Top, Right, Bottom); 7771 7771 CombineRgn(r0, r0, r1, RGN_DIFF); 7772 7772 DeleteObject(r1); -
branches/highdpi/LocalPlayer/UnitStat.pas
r178 r179 97 97 begin 98 98 AgePrepared := MainTextureAge; 99 bitblt(Back.Canvas.Handle, 0, 0, wCommon, hOwnModel,99 Dpibitblt(Back.Canvas.Handle, 0, 0, wCommon, hOwnModel, 100 100 MainTexture.Image.Canvas.Handle, (wMainTexture - wCommon) div 2, 101 101 (hMainTexture - hOwnModel) div 2, SRCCOPY); 102 bitblt(Back.Canvas.Handle, wCommon, 0, wCommon, hEnemyModel,102 Dpibitblt(Back.Canvas.Handle, wCommon, 0, wCommon, hEnemyModel, 103 103 MainTexture.Image.Canvas.Handle, (wMainTexture - wCommon) div 2, 104 104 (hMainTexture - hEnemyModel) div 2, SRCCOPY); 105 bitblt(Back.Canvas.Handle, 2 * wCommon, 0, wCommon, hEnemyUnit,105 Dpibitblt(Back.Canvas.Handle, 2 * wCommon, 0, wCommon, hEnemyUnit, 106 106 MainTexture.Image.Canvas.Handle, (wMainTexture - wCommon) div 2, 107 107 (hMainTexture - hEnemyUnit) div 2, SRCCOPY); 108 bitblt(Back.Canvas.Handle, 3 * wCommon, 0, wCommon, hEnemyCityDefense,108 Dpibitblt(Back.Canvas.Handle, 3 * wCommon, 0, wCommon, hEnemyCityDefense, 109 109 MainTexture.Image.Canvas.Handle, (wMainTexture - wCommon) div 2, 110 110 (hMainTexture - hEnemyCityDefense) div 2, SRCCOPY); 111 bitblt(Back.Canvas.Handle, 4 * wCommon, 0, wCommon, hEnemyCity,111 Dpibitblt(Back.Canvas.Handle, 4 * wCommon, 0, wCommon, hEnemyCity, 112 112 MainTexture.Image.Canvas.Handle, (wMainTexture - wCommon) div 2, 113 113 (hMainTexture - hEnemyCity) div 2, SRCCOPY); … … 387 387 dkOwnModel: 388 388 begin 389 bitblt(offscreen.Canvas.Handle, 0, 0, wCommon, hOwnModel,389 Dpibitblt(offscreen.Canvas.Handle, 0, 0, wCommon, hOwnModel, 390 390 Back.Canvas.Handle, 0, 0, SRCCOPY); 391 391 yView := 13; … … 394 394 dkEnemyModel: 395 395 begin 396 bitblt(offscreen.Canvas.Handle, 0, 0, wCommon, hEnemyModel,396 Dpibitblt(offscreen.Canvas.Handle, 0, 0, wCommon, hEnemyModel, 397 397 Back.Canvas.Handle, wCommon, 0, SRCCOPY); 398 398 yView := 13; … … 401 401 dkEnemyUnit, dkOwnUnit: 402 402 begin 403 bitblt(offscreen.Canvas.Handle, 0, 0, wCommon, hEnemyUnit,403 Dpibitblt(offscreen.Canvas.Handle, 0, 0, wCommon, hEnemyUnit, 404 404 Back.Canvas.Handle, 2 * wCommon, 0, SRCCOPY); 405 405 yView := 13; … … 408 408 dkEnemyCityDefense: 409 409 begin 410 bitblt(offscreen.Canvas.Handle, 0, 0, wCommon, hEnemyCityDefense,410 Dpibitblt(offscreen.Canvas.Handle, 0, 0, wCommon, hEnemyCityDefense, 411 411 Back.Canvas.Handle, 3 * wCommon, 0, SRCCOPY); 412 412 yView := 171; … … 415 415 dkEnemyCity: 416 416 begin 417 bitblt(offscreen.Canvas.Handle, 0, 0, wCommon, hEnemyCity,417 Dpibitblt(offscreen.Canvas.Handle, 0, 0, wCommon, hEnemyCity, 418 418 Back.Canvas.Handle, 4 * wCommon, 0, SRCCOPY); 419 419 end; … … 445 445 yImp + ySizeSmall, MainTexture.clBevelLight, 446 446 MainTexture.clBevelShade); 447 bitblt(offscreen.Canvas.Handle, x, yImp, xSizeSmall, ySizeSmall,447 Dpibitblt(offscreen.Canvas.Handle, x, yImp, xSizeSmall, ySizeSmall, 448 448 SmallImp.Canvas.Handle, j mod 7 * xSizeSmall, 449 449 (j + SystemIconLines * 7) div 7 * ySizeSmall, SRCCOPY); … … 564 564 * (yyt * 3 + 1)); 565 565 end; 566 bitblt(offscreen.Canvas.Handle, xView, yView + 16, 64, 32,566 Dpibitblt(offscreen.Canvas.Handle, xView, yView + 16, 64, 32, 567 567 Buffer.Canvas.Handle, 1, 0, SRCCOPY); 568 568 -
branches/highdpi/LocalPlayer/Wonders.pas
r178 r179 38 38 39 39 uses 40 Term, ClientTools, Help, Tribes ;40 Term, ClientTools, Help, Tribes, UDpiControls; 41 41 42 42 {$R *.lfm} … … 249 249 begin 250 250 HaveWonder := True; 251 BitBlt(Offscreen.Canvas.Handle,251 DpiBitBlt(Offscreen.Canvas.Handle, 252 252 Center.X - xSizeBig div 2 + RingPosition[I].X, 253 253 Center.Y - ySizeBig div 2 + RingPosition[I].Y, xSizeBig, … … 258 258 begin 259 259 HaveWonder := True; 260 BitBlt(Offscreen.Canvas.Handle,260 DpiBitBlt(Offscreen.Canvas.Handle, 261 261 Center.X - xSizeBig div 2 + RingPosition[I].X, 262 262 Center.Y - ySizeBig div 2 + RingPosition[I].Y, xSizeBig, ySizeBig,
Note:
See TracChangeset
for help on using the changeset viewer.