mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-12 00:20:08 +02:00
fixed compilation of EasyDockMgrDsgn package from Sven Barth (issue #18262)
git-svn-id: trunk@28792 -
This commit is contained in:
parent
91122360f5
commit
f79ad4f80c
@ -77,7 +77,7 @@ type
|
|||||||
public
|
public
|
||||||
constructor Create;
|
constructor Create;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
procedure MakeIDEWindowDockSite(AForm: TCustomForm); override;
|
procedure MakeIDEWindowDockSite(AForm: TCustomForm; ASides: TDockSides = [alBottom]); override;
|
||||||
procedure MakeIDEWindowDockable(AControl: TWinControl); override;
|
procedure MakeIDEWindowDockable(AControl: TWinControl); override;
|
||||||
function AddableInWindowMenu(AForm: TCustomForm): boolean; override;
|
function AddableInWindowMenu(AForm: TCustomForm): boolean; override;
|
||||||
function GetDefaultLayoutFilename: string;
|
function GetDefaultLayoutFilename: string;
|
||||||
@ -225,7 +225,8 @@ begin
|
|||||||
inherited Destroy;
|
inherited Destroy;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TIDEAnchorDockMaster.MakeIDEWindowDockSite(AForm: TCustomForm);
|
procedure TIDEAnchorDockMaster.MakeIDEWindowDockSite(AForm: TCustomForm;
|
||||||
|
ASides: TDockSides);
|
||||||
var
|
var
|
||||||
aManager: TAnchorDockManager;
|
aManager: TAnchorDockManager;
|
||||||
begin
|
begin
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
This source is only used to compile and install the package.
|
This source is only used to compile and install the package.
|
||||||
}
|
}
|
||||||
|
|
||||||
unit easydockmgrdsgn;
|
unit EasyDockMgrDsgn;
|
||||||
|
|
||||||
interface
|
interface
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ unit RegisterEasyDockMgr;
|
|||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
|
||||||
{.$DEFINE DockMaster} //must match IDE setting
|
{$DEFINE DockMaster} //must match IDE setting
|
||||||
|
|
||||||
interface
|
interface
|
||||||
|
|
||||||
@ -44,7 +44,6 @@ uses
|
|||||||
const
|
const
|
||||||
DefaultConfigFileName = 'easydocklayout.lyt';
|
DefaultConfigFileName = 'easydocklayout.lyt';
|
||||||
type
|
type
|
||||||
TDockSides = set of TAlign;
|
|
||||||
|
|
||||||
{ TIDEEasyDockMaster }
|
{ TIDEEasyDockMaster }
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{ This file was automatically created by Lazarus. do not edit!
|
{ This file was automatically created by Lazarus. Do not edit!
|
||||||
This source is only used to compile and install the package.
|
This source is only used to compile and install the package.
|
||||||
}
|
}
|
||||||
|
|
||||||
unit easydockmgr;
|
unit EasyDockMgr;
|
||||||
|
|
||||||
interface
|
interface
|
||||||
|
|
||||||
|
@ -337,12 +337,14 @@ var
|
|||||||
|
|
||||||
type
|
type
|
||||||
|
|
||||||
|
TDockSides = set of TAlign;
|
||||||
|
|
||||||
{ TIDEDockMaster }
|
{ TIDEDockMaster }
|
||||||
|
|
||||||
TIDEDockMaster = class
|
TIDEDockMaster = class
|
||||||
public
|
public
|
||||||
procedure MakeIDEWindowDockable(AControl: TWinControl); virtual; abstract; // make AControl dockable, it can be docked and other dockable windows can be docked to it, this does not make it visible
|
procedure MakeIDEWindowDockable(AControl: TWinControl); virtual; abstract; // make AControl dockable, it can be docked and other dockable windows can be docked to it, this does not make it visible
|
||||||
procedure MakeIDEWindowDockSite(AForm: TCustomForm); virtual; abstract; // make AForm a dock site, AForm can not be docked, its Parent must be kept nil, this does not make it visible
|
procedure MakeIDEWindowDockSite(AForm: TCustomForm; ASides: TDockSides = [alBottom]); virtual; abstract; // make AForm a dock site, AForm can not be docked, its Parent must be kept nil, this does not make it visible
|
||||||
procedure ShowForm(AForm: TCustomForm; BringToFront: boolean); virtual; abstract; // make a form visible, set BringToFront=true if form should be shown on active screen and on front of other windows, normally this focus the form
|
procedure ShowForm(AForm: TCustomForm; BringToFront: boolean); virtual; abstract; // make a form visible, set BringToFront=true if form should be shown on active screen and on front of other windows, normally this focus the form
|
||||||
function AddableInWindowMenu(AForm: TCustomForm): boolean; virtual;
|
function AddableInWindowMenu(AForm: TCustomForm): boolean; virtual;
|
||||||
procedure CloseAll; virtual; // close all forms, called after IDE has saved all and shuts down
|
procedure CloseAll; virtual; // close all forms, called after IDE has saved all and shuts down
|
||||||
|
Loading…
Reference in New Issue
Block a user