Changeset 462


Ignore:
Timestamp:
Nov 29, 2023, 10:23:29 AM (13 months ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Term.pas

    r460 r462  
    619619  DestinationMarkON: Boolean;
    620620  StartRunning: Boolean;
    621   StayOnTop_Ensured: Boolean;
    622621  Supervising: Boolean;
    623622  UnusedTribeFiles: TStringList;
     
    18141813  SoundPreloadDone := [];
    18151814  StartRunning := False;
    1816   StayOnTop_Ensured := False;
    18171815
    18181816  sb := TPVScrollbar.Create(Self);
     
    29012899        xw := 0;
    29022900        yw := ywcenter;
    2903         if not StayOnTop_Ensured then
    2904         begin
    2905           StayOnTop_Ensured := True;
    2906           //CityDlg.StayOnTop_Workaround;
    2907           //CityTypeDlg.StayOnTop_Workaround;
    2908           //DiaDlg.StayOnTop_Workaround;
    2909           //DraftDlg.StayOnTop_Workaround;
    2910           //EnhanceDlg.StayOnTop_Workaround;
    2911           //HelpDlg.StayOnTop_Workaround;
    2912           //NatStatDlg.StayOnTop_Workaround;
    2913           //NegoDlg.StayOnTop_Workaround;
    2914           //ModalSelectDlg.StayOnTop_Workaround;
    2915           //ListDlg.StayOnTop_Workaround;
    2916           //UnitStatDlg.StayOnTop_Workaround;
    2917           //WondersDlg.StayOnTop_Workaround;
    2918           //RatesDlg.StayOnTop_Workaround;
    2919         end;
    29202901      end;
    29212902
  • trunk/Packages/CevoComponents/ButtonB.pas

    r447 r462  
    5454        BitBltCanvas(Canvas, 0, 0, 25, 25, FGraphic.Canvas,
    5555          1 + FIndex mod 12 * 26, 337 + FIndex div 12 * 26, SRCPAINT);
    56       end
     56      end;
    5757    end else begin
    5858      Brush.Color := $0000FF;
  • trunk/Start.pas

    r459 r462  
    505505    DeleteObject(r1);
    506506    r1 := CreateRectRgn(QuitBtn.Left, QuitBtn.Top, QuitBtn.Left + QuitBtn.Width,
    507       QuitBtn.top + QuitBtn.Height);
     507      QuitBtn.Top + QuitBtn.Height);
    508508    CombineRgn(r0, r0, r1, RGN_OR);
    509509    DeleteObject(r1);
     
    512512  end else begin
    513513    BoundsRect := Bounds((Screen.Width - Width) div 2,
    514       (Screen.Height - Height) div 2, Width, Height)
     514      (Screen.Height - Height) div 2, Width, Height);
    515515  end;
    516516end;
Note: See TracChangeset for help on using the changeset viewer.