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