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

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Rates.pas

    r496 r530  
    9393    GlowFrame(Offscreen, ClientWidth div 2 - xSizeBig div 2, 52, xSizeBig,
    9494      ySizeBig, Tribe[Me].Color);
    95     BitBltCanvas(Offscreen.Canvas, ClientWidth div 2 - xSizeBig div 2, 52,
    96       xSizeBig, ySizeBig, BigImp.Canvas, (woLiberty mod 7) * xSizeBig,
     95    BitBltBitmap(Offscreen, ClientWidth div 2 - xSizeBig div 2, 52,
     96      xSizeBig, ySizeBig, BigImp, (woLiberty mod 7) * xSizeBig,
    9797      (woLiberty div 7 + SystemIconLines) * ySizeBig);
    9898  end
     
    120120    begin
    121121      for I := 0 to current div 8 - 1 do
    122         BitBltCanvas(Offscreen.Canvas, X + Max - 8 - I * 8, Y, 8, 7,
    123           HGrSystem.Data.Canvas, 104, 9 + 8 * 2);
    124       BitBltCanvas(Offscreen.Canvas, X + Max - current, Y, current - 8 * (current div 8), 7,
    125         HGrSystem.Data.Canvas, 104, 9 + 8 * 2);
     122        BitBltBitmap(Offscreen, X + Max - 8 - I * 8, Y, 8, 7,
     123          HGrSystem.Data, 104, 9 + 8 * 2);
     124      BitBltBitmap(Offscreen, X + Max - current, Y, current - 8 * (current div 8), 7,
     125        HGrSystem.Data, 104, 9 + 8 * 2);
    126126      Brush.Color := $000000;
    127127      FillRect(Rect(X, Y, X + Max - current, Y + 7));
Note: See TracChangeset for help on using the changeset viewer.