Changeset 629 for trunk


Ignore:
Timestamp:
Oct 4, 2024, 2:55:11 PM (7 weeks ago)
Author:
chronos
Message:
  • Fixed: Log and AI turnament windows were not shown correctly.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Database.pas

    r618 r629  
    77
    88uses
    9   SysUtils, Protocol, CmdList, Map;
     9  SysUtils, Protocol, CmdList;
    1010
    1111const
  • trunk/Log.lfm

    r232 r629  
    11object LogDlg: TLogDlg
    22  Left = 256
     3  Width = 339
    34  Top = 187
     5  Height = 280
    46  BorderIcons = [biSystemMenu]
    57  Caption = 'Log'
  • trunk/NoTerm.lfm

    • Property svn:mime-type deleted
  • trunk/Packages/DpiControls/Dpi.Forms.pas

    r622 r629  
    8686    function GetRestoredTop: Integer;
    8787    function GetRestoredWidth: Integer;
     88    function GetScaled: Boolean;
    8889    function GetShowInTaskbar: TShowInTaskbar;
    8990    function GetWindowState: TWindowState;
     
    104105    procedure FormMessageHandler(var TheMessage: TLMessage);
    105106    procedure SetPosition(AValue: TPosition);
     107    procedure SetScaled(AValue: Boolean);
    106108    procedure SetShowInTaskBar(AValue: TShowInTaskbar);
    107109    procedure SetWindowState(AValue: TWindowState);
     
    159161    property ShowInTaskBar: TShowInTaskbar read GetShowInTaskbar write SetShowInTaskBar
    160162                                        default stDefault;
     163    property Scaled: Boolean read GetScaled write SetScaled default True;
    161164  end;
    162165
     
    624627end;
    625628
     629function TForm.GetScaled: Boolean;
     630begin
     631  Result := GetNativeForm.Scaled;
     632end;
     633
    626634function TForm.GetShowInTaskbar: TShowInTaskbar;
    627635begin
     
    713721begin
    714722  GetNativeForm.Position := AValue;
     723end;
     724
     725procedure TForm.SetScaled(AValue: Boolean);
     726begin
     727  GetNativeForm.Scaled := AValue;
    715728end;
    716729
Note: See TracChangeset for help on using the changeset viewer.