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

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Help.pas

    r529 r530  
    551551          if 4 + I * 24 + yl > InnerHeight then
    552552            yl := InnerHeight - (4 + I * 24);
    553           BitBltCanvas(OffScreen.Canvas, 8, 4 + I * 24, ExtPic.Width, yl, ExtPic.Canvas,
    554             0, 0);
     553          BitBltBitmap(OffScreen, 8, 4 + I * 24, ExtPic.Width, yl, ExtPic, 0, 0);
    555554        end;
    556555      end;
     
    592591                8 + xSizeSmall + x0[I], 2 + 20 + I * 24, $000000, $000000);
    593592              if HelpLineInfo.Picpix = imPalace then
    594                 BitBltCanvas(OffScreen.Canvas, 8 + x0[I], 2 + I * 24,
    595                   xSizeSmall, ySizeSmall, SmallImp.Canvas,
     593                BitBltBitmap(OffScreen, 8 + x0[I], 2 + I * 24,
     594                  xSizeSmall, ySizeSmall, SmallImp,
    596595                  0 * xSizeSmall, 1 * ySizeSmall)
    597596              else
    598                 BitBltCanvas(OffScreen.Canvas, 8 + x0[I], 2 + I * 24,
    599                   xSizeSmall, ySizeSmall, SmallImp.Canvas,
     597                BitBltBitmap(OffScreen, 8 + x0[I], 2 + I * 24,
     598                  xSizeSmall, ySizeSmall, SmallImp,
    600599                  HelpLineInfo.Picpix mod 7 * xSizeSmall,
    601600                  (HelpLineInfo.Picpix + SystemIconLines * 7) div 7 *
     
    659658                $000000, $000000);
    660659              if AdvIcon[HelpLineInfo.Picpix] < 84 then
    661                 BitBltCanvas(OffScreen.Canvas, 8 + x0[I], 2 + I * 24,
    662                   xSizeSmall, ySizeSmall, SmallImp.Canvas,
     660                BitBltBitmap(OffScreen, 8 + x0[I], 2 + I * 24,
     661                  xSizeSmall, ySizeSmall, SmallImp,
    663662                  (AdvIcon[HelpLineInfo.Picpix] + SystemIconLines * 7) mod 7 *
    664663                  xSizeSmall, (AdvIcon[HelpLineInfo.Picpix] + SystemIconLines *
     
    669668                  295 + (AdvIcon[HelpLineInfo.Picpix] - 84) div 8 * 21);
    670669              J := AdvValue[HelpLineInfo.Picpix] div 1000;
    671               BitBltCanvas(OffScreen.Canvas, x0[I] + 4, 4 + I * 24, 14, 14,
    672                 HGrSystem.Mask.Canvas, 127 + J * 15, 85, SRCAND);
     670              BitBltBitmap(OffScreen, x0[I] + 4, 4 + I * 24, 14, 14,
     671                HGrSystem.Mask, 127 + J * 15, 85, SRCAND);
    673672              Sprite(OffScreen, HGrSystem, x0[I] + 3, 3 + I * 24, 14, 14,
    674673                127 + J * 15, 85);
     
    846845              ScreenTools.Frame(OffScreen.Canvas, 8 - 1 + x0[I], 2 - 1 + I * 24,
    847846                8 + xSizeSmall + x0[I], 2 + 20 + I * 24, $000000, $000000);
    848               BitBltCanvas(OffScreen.Canvas, 8 + x0[I], 2 + I * 24, xSizeSmall,
    849                 ySizeSmall, SmallImp.Canvas, (HelpLineInfo.Picpix - 1) *
     847              BitBltBitmap(OffScreen, 8 + x0[I], 2 + I * 24, xSizeSmall,
     848                ySizeSmall, SmallImp, (HelpLineInfo.Picpix - 1) *
    850849                xSizeSmall, ySizeSmall);
    851850              x0[I] := x0[I] + (8 + 8 + 36);
Note: See TracChangeset for help on using the changeset viewer.