Changeset 505 for trunk/Start.pas


Ignore:
Timestamp:
Dec 24, 2023, 11:24:57 PM (5 months ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Start.pas

    r496 r505  
    649649
    650650  if Page = pgMain then begin
    651     if SelectedAction <> maNone then // mark selected action
     651   if SelectedAction <> maNone then // mark selected action
    652652      for I := 0 to (ClientWidth - 2 * ActionSideBorder) div wBuffer + 1 do
    653653      begin
     
    714714      for I := 12 to 19 do
    715715        if (I < 13) or (I > 17) then begin
    716           BitBltCanvas(Canvas, 9 + I * 27, yLogo - 2, Ornament.Width, Ornament.Height,
    717             HGrSystem2.Mask.Canvas, Ornament.Left, Ornament.Top, SRCAND);
    718           BitBltCanvas(Canvas, 9 + I * 27, yLogo - 2, Ornament.Width, Ornament.Height,
    719             HGrSystem2.Data.Canvas, Ornament.Left, Ornament.Top, SRCPAINT);
     716          Sprite(Canvas, 9 + I * 27, yLogo - 2, Ornament);
    720717        end;
    721718      PaintLogo(Canvas, 69 + 11 * 27, yLogo, MainTexture.ColorBevelLight,
     
    796793      S := Phrases.Lookup('AUTODIFF', AutoDiff - 1);
    797794      RisedTextOut(Canvas, 272 - BiColorTextWidth(Canvas, S), y0Mini + 61, S);
    798 
    799795      for I := 0 to 19 do
    800796        if (I < 2) or (I > 6) then begin
    801           BitBltCanvas(Canvas, 9 + I * 27, yLogo - 2, Ornament.Width, Ornament.Height,
    802             HGrSystem2.Mask.Canvas, Ornament.Left, Ornament.Top, SRCAND);
    803           BitBltCanvas(Canvas, 9 + I * 27, yLogo - 2, Ornament.Width, Ornament.Height,
    804             HGrSystem2.Data.Canvas, Ornament.Left, Ornament.Top, SRCPAINT);
     797          Sprite(Canvas, 9 + I * 27, yLogo - 2, Ornament);
    805798        end;
    806799      PaintLogo(Canvas, 69, yLogo, MainTexture.ColorBevelLight,
Note: See TracChangeset for help on using the changeset viewer.