Changeset 179 for branches/highdpi/LocalPlayer/CityScreen.pas
- Timestamp:
- Jun 23, 2019, 9:12:54 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.