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