Changeset 508


Ignore:
Timestamp:
Dec 25, 2023, 12:08:11 PM (4 months ago)
Author:
chronos
Message:
Location:
trunk/LocalPlayer
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/PVSB.pas

    r506 r508  
    1717  private
    1818    FOnUpdate: TNotifyEvent;
    19     ScrollBar: TScrollBar;
    2019    FMax: Integer;
    2120    function GetMax: Integer;
     
    2726    procedure SetPosition(AValue: Integer);
    2827  public
     28    ScrollBar: TScrollBar;
    2929    constructor Create(Parent: TWinControl);
    3030    destructor Destroy; override;
  • trunk/LocalPlayer/Select.pas

    r496 r508  
    16241624  CaptionLeft := ToggleBtn.Left + ToggleBtn.Width;
    16251625  CaptionRight := CloseBtn.Left;
    1626   { TODO:
    16271626  SetWindowPos(ScrollBar.ScrollBar.Handle, 0, SideFrame + InnerWidth - GetSystemMetrics(SM_CXVSCROLL),
    16281627    TitleHeight, GetSystemMetrics(SM_CXVSCROLL), LineDistance * DispLines + 48,
    16291628    SWP_NOZORDER or SWP_NOREDRAW);
    1630   }
    16311629
    16321630  if WindowMode = wmModal then
  • trunk/LocalPlayer/Term.pas

    r507 r508  
    42474247  EOT.Left := Width - 62;
    42484248  sb.SetBorderSpacing(Height - yTroop - 24, Width - xRightPanel + 8, 8);
    4249   {TODO:
    42504249  SetWindowPos(sb.ScrollBar.Handle, 0, xRightPanel + 10 - 14 - GetSystemMetrics(SM_CXVSCROLL),
    42514250    Height - MidPanelHeight + 8, 0, 0, SWP_NOSIZE or SWP_NOZORDER);
    4252     }
    42534251  MapBtn0.Left := xMini + G.lx - 44;
    42544252  MapBtn0.Top := Height - 15;
Note: See TracChangeset for help on using the changeset viewer.