Ignore:
Timestamp:
Feb 24, 2024, 8:04:26 PM (9 months ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/CityType.pas

    r468 r530  
    113113        xSwitch + 38 + I * 42, ySwitch + 22, MainTexture.ColorBevelLight,
    114114        MainTexture.ColorBevelShade);
    115     BitBltCanvas(Offscreen.Canvas, xSwitch + 2 + I * 42, ySwitch + 2,
    116       xSizeSmall, ySizeSmall, SmallImp.Canvas, (I + 3) * xSizeSmall, 0);
     115    BitBltBitmap(Offscreen, xSwitch + 2 + I * 42, ySwitch + 2,
     116      xSizeSmall, ySizeSmall, SmallImp, (I + 3) * xSizeSmall, 0);
    117117  end;
    118118  RisedTextOut(Offscreen.Canvas, 8, yList + 32 * nListRow + 2,
     
    147147      yList + 16 + ySizeSmall div 2 + I div nListCol * 32,
    148148      MainTexture.ColorBevelLight, MainTexture.ColorBevelShade);
    149     BitBltCanvas(Offscreen.Canvas, xList + 21 - xSizeSmall div 2 +
     149    BitBltBitmap(Offscreen, xList + 21 - xSizeSmall div 2 +
    150150      I mod nListCol * 42, yList + 16 - ySizeSmall div 2 + I div nListCol * 32,
    151       xSizeSmall, ySizeSmall, SmallImp.Canvas,
     151      xSizeSmall, ySizeSmall, SmallImp,
    152152      MyData.ImpOrder[ctype, I] mod 7 * xSizeSmall,
    153153      (MyData.ImpOrder[ctype, I] + SystemIconLines * 7) div 7 *
     
    170170        nPool div nPoolCol * 32, MainTexture.ColorBevelLight,
    171171        MainTexture.ColorBevelShade);
    172       BitBltCanvas(Offscreen.Canvas, xPool + 21 - xSizeSmall div 2 +
     172      BitBltBitmap(Offscreen, xPool + 21 - xSizeSmall div 2 +
    173173        nPool mod nPoolCol * 42, yPool + 16 - ySizeSmall div 2 +
    174         nPool div nPoolCol * 32, xSizeSmall, ySizeSmall, SmallImp.Canvas,
     174        nPool div nPoolCol * 32, xSizeSmall, ySizeSmall, SmallImp,
    175175        iix mod 7 * xSizeSmall, (iix + SystemIconLines * 7) div 7 *
    176176        ySizeSmall);
Note: See TracChangeset for help on using the changeset viewer.