Changeset 466


Ignore:
Timestamp:
Nov 30, 2023, 10:26:23 PM (12 months ago)
Author:
chronos
Message:
  • Modified: Simplified DpiControls unit name without U prefix.
Location:
branches/highdpi
Files:
56 edited
1 copied
2 moved

Legend:

Unmodified
Added
Removed
  • branches/highdpi/Back.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, LCLIntf, LCLType, SysUtils, Classes, Graphics, Forms, Controls;
     7  DpiControls, LCLIntf, LCLType, SysUtils, Classes, Graphics, Forms, Controls;
    88
    99type
  • branches/highdpi/Brain.pas

    r465 r466  
    44
    55uses
    6   UDpiControls, Classes, SysUtils, Generics.Collections, Graphics, Protocol, LazFileUtils,
     6  DpiControls, Classes, SysUtils, Generics.Collections, Graphics, Protocol, LazFileUtils,
    77  dynlibs, Types;
    88
  • branches/highdpi/Direct.lfm

    r465 r466  
    1010  DesignTimePPI = 144
    1111  Font.Color = clWindowText
    12   Font.Height = -20
     12  Font.Height = -30
    1313  Font.Name = 'MS Sans Serif'
    1414  FormStyle = fsStayOnTop
  • branches/highdpi/Direct.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, Messg,
     7  DpiControls, Messg,
    88
    99  LCLIntf, LCLType, {$IFDEF UNIX}LMessages, {$ENDIF}Messages, SysUtils, Classes,
  • branches/highdpi/Inp.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, ScreenTools, LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, Forms,
     7  DpiControls, ScreenTools, LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, Forms,
    88  DrawDlg, ButtonA, StdCtrls;
    99
  • branches/highdpi/Integrated.lpr

    r465 r466  
    88  Forms, Interfaces, SysUtils, Protocol, GameServer, Direct, Start, Messg, Inp,
    99  Back, Log, LocalPlayer, ClientTools, Tribes, IsoEngine, Term, CityScreen, Nego,
    10   NoTerm, ScreenTools, Directories, UDpiControls;
     10  NoTerm, ScreenTools, Directories, DpiControls;
    1111
    1212{$if declared(UseHeapTrace)}
  • branches/highdpi/LocalPlayer/Battle.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, ScreenTools, Protocol, ButtonBase, ButtonA, Types, LCLIntf, LCLType,
     7  DpiControls, ScreenTools, Protocol, ButtonBase, ButtonA, Types, LCLIntf, LCLType,
    88  SysUtils, Classes, Graphics, Controls, Forms, DrawDlg, IsoEngine;
    99
  • branches/highdpi/LocalPlayer/CityScreen.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, {$IFDEF UNIX}LMessages,{$ENDIF}
     7  DpiControls, {$IFDEF UNIX}LMessages,{$ENDIF}
    88  Protocol, ClientTools, ScreenTools, IsoEngine, BaseWin, LCLIntf, LCLType,
    99  Messages, SysUtils, Classes, Graphics, Controls, Forms, ExtCtrls, ButtonA,
  • branches/highdpi/LocalPlayer/CityType.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, Protocol, ClientTools, ScreenTools, BaseWin, LCLIntf, LCLType,
     7  DpiControls, Protocol, ClientTools, ScreenTools, BaseWin, LCLIntf, LCLType,
    88  SysUtils, Classes, Graphics, Controls, Forms, ButtonB, ExtCtrls;
    99
  • branches/highdpi/LocalPlayer/Diagram.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, BaseWin, LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, Forms,
     7  DpiControls, BaseWin, LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, Forms,
    88  ButtonB, Menus;
    99
  • branches/highdpi/LocalPlayer/Draft.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, Protocol, ClientTools, ScreenTools, BaseWin, LCLIntf, LCLType, SysUtils,
     7  DpiControls, Protocol, ClientTools, ScreenTools, BaseWin, LCLIntf, LCLType, SysUtils,
    88  Classes, Graphics, Controls, Forms, ExtCtrls, ButtonA, ButtonB, Area;
    99
  • branches/highdpi/LocalPlayer/Enhance.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, ScreenTools, BaseWin, Protocol, ClientTools, LCLIntf, LCLType, SysUtils,
     7  DpiControls, ScreenTools, BaseWin, Protocol, ClientTools, LCLIntf, LCLType, SysUtils,
    88  Classes, Graphics, Controls, Forms, IsoEngine, ButtonB, ButtonC, Menus;
    99
  • branches/highdpi/LocalPlayer/Help.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, Protocol, ScreenTools, BaseWin, StringTables, Math, LCLIntf, LCLType,
     7  DpiControls, Protocol, ScreenTools, BaseWin, StringTables, Math, LCLIntf, LCLType,
    88  Messages, SysUtils, Classes, Graphics, Controls, Forms, ExtCtrls,
    99  ButtonB, PVSB, Types, Generics.Collections, IsoEngine;
  • branches/highdpi/LocalPlayer/IsoEngine.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, Protocol, ClientTools, ScreenTools, Tribes, LCLIntf, LCLType, SysUtils,
     7  DpiControls, Protocol, ClientTools, ScreenTools, Tribes, LCLIntf, LCLType, SysUtils,
    88  Classes, Graphics, PixelPointer, GraphicSet;
    99
  • branches/highdpi/LocalPlayer/LocalPlayer.pas

    r465 r466  
    1010
    1111uses
    12   UDpiControls, Term, CityScreen, Nego, BaseWin, Forms;
     12  DpiControls, Term, CityScreen, Nego, BaseWin, Forms;
    1313
    1414var
  • branches/highdpi/LocalPlayer/MessgEx.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, Messg, Protocol, ScreenTools, Platform, DateUtils, LCLIntf, LCLType, Messages,
     7  DpiControls, Messg, Protocol, ScreenTools, Platform, DateUtils, LCLIntf, LCLType, Messages,
    88  SysUtils, Classes, Graphics, Controls, Forms, ButtonA, ButtonB, StdCtrls,
    99  DrawDlg, Help;
  • branches/highdpi/LocalPlayer/NatStat.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, Protocol, ClientTools, ScreenTools, BaseWin, LCLIntf, LCLType, SysUtils,
     7  DpiControls, Protocol, ClientTools, ScreenTools, BaseWin, LCLIntf, LCLType, SysUtils,
    88  Classes, Graphics, Controls, Forms, ButtonB, ButtonC, Menus, EOTButton;
    99
  • branches/highdpi/LocalPlayer/Nego.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, ScreenTools, BaseWin, Protocol, LCLType, SysUtils, Classes, Graphics,
     7  DpiControls, ScreenTools, BaseWin, Protocol, LCLType, SysUtils, Classes, Graphics,
    88  Controls, Forms, ButtonA, ButtonB, ButtonN;
    99
  • branches/highdpi/LocalPlayer/PVSB.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, {$IFDEF WINDOWS}Windows,{$ENDIF}
     7  DpiControls, {$IFDEF WINDOWS}Windows,{$ENDIF}
    88  Classes, Controls, Forms, LCLIntf, LCLType, LMessages, Messages, SysUtils,
    99  StdCtrls, Math;
  • branches/highdpi/LocalPlayer/Rates.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, Protocol, ScreenTools, BaseWin, LCLIntf, LCLType, SysUtils, Classes, Graphics,
     7  DpiControls, Protocol, ScreenTools, BaseWin, LCLIntf, LCLType, SysUtils, Classes, Graphics,
    88  Controls, Forms, ButtonB, ButtonC;
    99
  • branches/highdpi/LocalPlayer/Select.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, Protocol, ClientTools, ScreenTools, PVSB, BaseWin,
     7  DpiControls, Protocol, ClientTools, ScreenTools, PVSB, BaseWin,
    88  LCLIntf, LCLType, Messages, SysUtils, Classes, Graphics, Controls, Forms,
    99  ExtCtrls, ButtonB, ButtonBase, Menus, Types;
  • branches/highdpi/LocalPlayer/TechTree.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, ScreenTools, LCLIntf, LCLType, SysUtils, Classes, Graphics,
     7  DpiControls, ScreenTools, LCLIntf, LCLType, SysUtils, Classes, Graphics,
    88  Controls, Forms, ButtonB, DrawDlg;
    99
  • branches/highdpi/LocalPlayer/Term.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, {$IFDEF WINDOWS}
     7  DpiControls, {$IFDEF WINDOWS}
    88  Windows,
    99{$ENDIF}
  • branches/highdpi/LocalPlayer/UnitStat.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, Protocol, ClientTools, ScreenTools, BaseWin, LCLIntf, LCLType, SysUtils,
     7  DpiControls, Protocol, ClientTools, ScreenTools, BaseWin, LCLIntf, LCLType, SysUtils,
    88  Classes, Graphics, Controls, Forms, ButtonB, ButtonC, IsoEngine;
    99
  • branches/highdpi/LocalPlayer/Wonders.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, ScreenTools, BaseWin, Protocol, LCLIntf, LCLType, SysUtils, Classes, Graphics,
     7  DpiControls, ScreenTools, BaseWin, Protocol, LCLIntf, LCLType, SysUtils, Classes, Graphics,
    88  Controls, Forms, ButtonB;
    99
  • branches/highdpi/Log.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, LCLIntf, LCLType, Messages, SysUtils, Classes, Graphics, Controls, Forms,
     7  DpiControls, LCLIntf, LCLType, Messages, SysUtils, Classes, Graphics, Controls, Forms,
    88  StdCtrls, Menus;
    99
  • branches/highdpi/MiniMap.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, Classes, SysUtils, Graphics, Protocol, ClientTools;
     7  DpiControls, Classes, SysUtils, Graphics, Protocol, ClientTools;
    88
    99type
  • branches/highdpi/NoTerm.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, ScreenTools, Protocol, Messg, LCLIntf, LCLType, dateutils, Platform,
     7  DpiControls, ScreenTools, Protocol, Messg, LCLIntf, LCLType, dateutils, Platform,
    88  SysUtils, Classes, Graphics, Controls, Forms, ButtonB, DrawDlg;
    99
  • branches/highdpi/Packages/CevoComponents/Area.pas

    r210 r466  
    44
    55uses
    6   UDpiControls, Classes, Graphics, Controls;
     6  DpiControls, Classes, Graphics, Controls;
    77
    88type
  • branches/highdpi/Packages/CevoComponents/BaseWin.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, ScreenTools, LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, Forms,
     6  DpiControls, ScreenTools, LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, Forms,
    77  DrawDlg;
    88
  • branches/highdpi/Packages/CevoComponents/ButtonA.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, ButtonBase, Classes, Graphics, LCLIntf, LCLType, ScreenTools, Types;
     6  DpiControls, ButtonBase, Classes, Graphics, LCLIntf, LCLType, ScreenTools, Types;
    77
    88type
  • branches/highdpi/Packages/CevoComponents/ButtonB.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, ButtonBase, Classes, Graphics, LCLIntf, LCLType;
     6  DpiControls, ButtonBase, Classes, Graphics, LCLIntf, LCLType;
    77
    88type
  • branches/highdpi/Packages/CevoComponents/ButtonBase.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, Classes, Graphics, Controls;
     6  DpiControls, Classes, Graphics, Controls;
    77
    88type
  • branches/highdpi/Packages/CevoComponents/ButtonC.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, ButtonBase, Classes, Graphics, LCLIntf, LCLType, ScreenTools;
     6  DpiControls, ButtonBase, Classes, Graphics, LCLIntf, LCLType, ScreenTools;
    77
    88type
  • branches/highdpi/Packages/CevoComponents/ButtonN.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, Classes, Graphics, Controls, LCLIntf, LCLType, ScreenTools;
     6  DpiControls, Classes, Graphics, Controls, LCLIntf, LCLType, ScreenTools;
    77
    88type
  • branches/highdpi/Packages/CevoComponents/DrawDlg.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, Classes, SysUtils, Forms, LCLIntf, LCLType, {$IFDEF UNIX}LMessages,{$ENDIF}
     6  DpiControls, Classes, SysUtils, Forms, LCLIntf, LCLType, {$IFDEF UNIX}LMessages,{$ENDIF}
    77  Messages, Graphics, Controls, ButtonBase, ButtonA, ButtonB, Area, ScreenTools
    88  {$IFDEF LCLGTK2}, Gtk2Globals{$ENDIF};
  • branches/highdpi/Packages/CevoComponents/EOTButton.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, ButtonBase, Classes, SysUtils, Graphics, LCLIntf, LCLType;
     6  DpiControls, ButtonBase, Classes, SysUtils, Graphics, LCLIntf, LCLType;
    77
    88const
  • branches/highdpi/Packages/CevoComponents/GraphicSet.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, Classes, SysUtils, Graphics, Generics.Collections, LCLType, DOM,
     6  DpiControls, Classes, SysUtils, Graphics, Generics.Collections, LCLType, DOM,
    77  XMLRead, XMLWrite, XML;
    88
  • branches/highdpi/Packages/CevoComponents/ScreenTools.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, {$IFDEF WINDOWS}
     6  DpiControls, {$IFDEF WINDOWS}
    77  Windows,
    88  {$ENDIF}
  • branches/highdpi/Packages/CevoComponents/Sound.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, SysUtils, Classes, Graphics, Controls, Forms, Generics.Collections, FileUtil,
     6  DpiControls, SysUtils, Classes, Graphics, Controls, Forms, Generics.Collections, FileUtil,
    77  StringTables, Directories, LCLType
    88  {$IFDEF WINDOWS}, MMSystem, Windows{$ENDIF}
  • branches/highdpi/Packages/CevoComponents/Texture.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, Classes, SysUtils, Graphics;
     6  DpiControls, Classes, SysUtils, Graphics;
    77
    88type
  • branches/highdpi/Packages/Common/ApplicationInfo.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, SysUtils, Classes, Forms, RegistryEx, Controls, Graphics, LCLType;
     6  DpiControls, SysUtils, Classes, Forms, RegistryEx, Controls, Graphics, LCLType;
    77
    88type
  • branches/highdpi/Packages/Common/FormAbout.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Menus,
     6  DpiControls, Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Menus,
    77  StdCtrls, ExtCtrls, ApplicationInfo, Common, Translator, Theme;
    88
  • branches/highdpi/Packages/Common/JobProgressView.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, SysUtils, Variants, Classes, Graphics, Controls, Forms, Syncobjs,
     6  DpiControls, SysUtils, Variants, Classes, Graphics, Controls, Forms, Syncobjs,
    77  Dialogs, ComCtrls, StdCtrls, ExtCtrls, Generics.Collections, Threading, Math,
    88  DateUtils;
  • branches/highdpi/Packages/Common/LastOpenedList.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, Classes, SysUtils, Registry, RegistryEx, Menus, XMLConf, DOM;
     6  DpiControls, Classes, SysUtils, Registry, RegistryEx, Menus, XMLConf, DOM;
    77
    88type
  • branches/highdpi/Packages/Common/ListViewSort.pas

    r463 r466  
    66
    77uses
    8   UDpiControls, {$IFDEF Windows}Windows, CommCtrl, LMessages, {$ENDIF}Classes, Graphics, ComCtrls, SysUtils,
     8  DpiControls, {$IFDEF Windows}Windows, CommCtrl, LMessages, {$ENDIF}Classes, Graphics, ComCtrls, SysUtils,
    99  Controls, DateUtils, Dialogs, Forms, Grids, StdCtrls, ExtCtrls,
    1010  LclIntf, LclType, LResources, Generics.Collections, Generics.Defaults;
  • branches/highdpi/Packages/Common/MetaCanvas.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, Classes, SysUtils, Graphics, Types, Generics.Collections;
     6  DpiControls, Classes, SysUtils, Graphics, Types, Generics.Collections;
    77
    88type
  • branches/highdpi/Packages/Common/PersistentForm.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, Classes, SysUtils, Forms, RegistryEx, LCLIntf, Registry, Controls, ComCtrls,
     6  DpiControls, Classes, SysUtils, Forms, RegistryEx, LCLIntf, Registry, Controls, ComCtrls,
    77  ExtCtrls, LCLType;
    88
  • branches/highdpi/Packages/Common/PixelPointer.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, Classes, SysUtils, Graphics;
     6  DpiControls, Classes, SysUtils, Graphics;
    77
    88type
  • branches/highdpi/Packages/Common/ScaleDPI.pas

    r463 r466  
    66
    77uses
    8   UDpiControls, Classes, Forms, Graphics, Controls, ComCtrls, LCLType, SysUtils,
     8  DpiControls, Classes, Forms, Graphics, Controls, ComCtrls, LCLType, SysUtils,
    99  Generics.Collections;
    1010
  • branches/highdpi/Packages/Common/Theme.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, Classes, SysUtils, Graphics, ComCtrls, Controls, ExtCtrls, Menus, StdCtrls,
     6  DpiControls, Classes, SysUtils, Graphics, ComCtrls, Controls, ExtCtrls, Menus, StdCtrls,
    77  Spin, Forms, Generics.Collections, Grids;
    88
  • branches/highdpi/Packages/Common/Threading.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, Classes, SysUtils, Forms, Generics.Collections, SyncObjs;
     6  DpiControls, Classes, SysUtils, Forms, Generics.Collections, SyncObjs;
    77
    88type
  • branches/highdpi/Packages/Common/Translator.pas

    r463 r466  
    44
    55uses
    6   UDpiControls, Classes, SysUtils, Forms, ExtCtrls, Controls, LazFileUtils, LazUTF8,
     6  DpiControls, Classes, SysUtils, Forms, ExtCtrls, Controls, LazFileUtils, LazUTF8,
    77  Translations, TypInfo, Dialogs, FileUtil, LCLProc, Languages, LCLType,
    88  LCLVersion, Generics.Collections;
  • branches/highdpi/Packages/DpiControls/DpiControls.lpk

    r465 r466  
    1919    <License Value="Copyleft, public domain"/>
    2020    <Version Minor="1"/>
    21     <Files Count="2">
     21    <Files Count="3">
    2222      <Item1>
    23         <Filename Value="UDpiControls.pas"/>
     23        <Filename Value="DpiControls.pas"/>
    2424        <HasRegisterProc Value="True"/>
    25         <UnitName Value="UDpiControls"/>
     25        <UnitName Value="DpiControls"/>
    2626      </Item1>
    2727      <Item2>
    28         <Filename Value="UPixelPointer2.pas"/>
    29         <UnitName Value="UPixelPointer2"/>
     28        <Filename Value="PixelPointer2.pas"/>
     29        <UnitName Value="PixelPointer2"/>
    3030      </Item2>
     31      <Item3>
     32        <Filename Value="DpiControlsPackage.pas"/>
     33        <Type Value="Main Unit"/>
     34        <UnitName Value="DpiControlsPackage"/>
     35      </Item3>
    3136    </Files>
    3237    <CompatibilityMode Value="True"/>
  • branches/highdpi/Packages/DpiControls/DpiControls.pas

    r465 r466  
    1 unit UDpiControls;
     1unit DpiControls;
    22
    33interface
     
    77  Generics.Collections, FormEditingIntf, ProjectIntf, Controls, StdCtrls, Graphics,
    88  ComCtrls, ExtCtrls, LCLType, GraphType, Types, CustApp, LMessages, LCLIntf,
    9   Menus, Math, UPixelPointer2, Grids, Spin;
     9  Menus, Math, PixelPointer2, Grids, Spin;
    1010
    1111const
  • branches/highdpi/Packages/DpiControls/DpiControlsPackage.pas

    r465 r466  
    33 }
    44
    5 unit DpiControls;
     5unit DpiControlsPackage;
    66
    77{$warn 5023 off : no warning about unused units}
     
    99
    1010uses
    11   UDpiControls, UPixelPointer2, LazarusPackageIntf;
     11  DpiControls, PixelPointer2, LazarusPackageIntf;
    1212
    1313implementation
     
    1515procedure Register;
    1616begin
    17   RegisterUnit('UDpiControls', @UDpiControls.Register);
     17  RegisterUnit('DpiControls', @DpiControls.Register);
    1818end;
    1919
  • branches/highdpi/Packages/DpiControls/PixelPointer2.pas

    r465 r466  
    1 unit UPixelPointer2;
     1unit PixelPointer2;
    22
    33interface
  • branches/highdpi/Settings.pas

    r465 r466  
    44
    55uses
    6   UDpiControls, Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
     6  DpiControls, Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
    77  LCLProc, ScreenTools, Messg, ButtonA, Directories, DrawDlg, ButtonC,
    88  KeyBindings, Languages;
  • branches/highdpi/Start.pas

    r465 r466  
    55
    66uses
    7   UDpiControls, GameServer, Messg, ButtonBase, ButtonA, ButtonC, ButtonB, Area, Types,
     7  DpiControls, GameServer, Messg, ButtonBase, ButtonA, ButtonC, ButtonB, Area, Types,
    88  LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, Forms, StdCtrls,
    99  Menus, Registry, DrawDlg, Generics.Collections, Protocol, MiniMap, Brain,
Note: See TracChangeset for help on using the changeset viewer.