Changeset 28 for trunk/Start.pas


Ignore:
Timestamp:
Jan 8, 2017, 7:14:56 PM (7 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Start.pas

    r20 r28  
    830830  SetMainTextureByAge(-1);
    831831  List.Font.Color := MainTexture.clMark;
     832  EmptyPicture.BeginUpdate;
     833
    832834  Fill(EmptyPicture.Canvas, 0, 0, 64, 64, (wMaintexture - 64) div 2,
    833835    (hMaintexture - 64) div 2);
     
    843845    end
    844846  end;
     847  EmptyPicture.EndUpdate;
    845848
    846849  Difficulty[0] := Diff0;
     
    10171020    Mini.width := MiniWidth * 2;
    10181021    Mini.height := MiniHeight;
     1022    Mini.BeginUpdate;
    10191023    for y := 0 to MiniHeight - 1 do
    10201024    begin
     
    10331037        end;
    10341038    end;
     1039    Mini.EndUpdate;
    10351040  end;
    10361041
     
    10531058    begin
    10541059      MiniLine := nil;
     1060      Mini.BeginUpdate;
    10551061      for y := 0 to MiniHeight - 1 do
    10561062      begin
     
    10881094            MiniLine[xm, 2] := cm and $FF;
    10891095          end;
    1090       end
     1096        Mini.EndUpdate;
     1097      end;
    10911098    end;
    10921099  end;
Note: See TracChangeset for help on using the changeset viewer.