mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 17:00:38 +02:00
remove csAlignment and one obsoleted file
git-svn-id: trunk@13471 -
This commit is contained in:
parent
3298b06f86
commit
21cb1c6901
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -2714,7 +2714,6 @@ lcl/images/lcl_edbtnimg.bat svneol=native#text/plain
|
||||
lcl/images/lcl_edbtnimg_list.txt svneol=native#text/plain
|
||||
lcl/imglist.pp svneol=native#text/pascal
|
||||
lcl/include/actionlink.inc svneol=native#text/pascal
|
||||
lcl/include/alignment.inc svneol=native#text/pascal
|
||||
lcl/include/application.inc svneol=native#text/pascal
|
||||
lcl/include/applicationproperties.inc svneol=native#text/pascal
|
||||
lcl/include/basedragcontrolobject.inc svneol=native#text/pascal
|
||||
|
@ -1,45 +0,0 @@
|
||||
{%MainUnit ../extctrls.pp}
|
||||
{
|
||||
*****************************************************************************
|
||||
* *
|
||||
* This file is part of the Lazarus Component Library (LCL) *
|
||||
* *
|
||||
* See the file COPYING.modifiedLGPL, included in this distribution, *
|
||||
* for details about the copyright. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
||||
* *
|
||||
*****************************************************************************
|
||||
}
|
||||
|
||||
{------------------------------------------------------------------------------}
|
||||
{ TAlignment Constructor }
|
||||
{------------------------------------------------------------------------------}
|
||||
constructor TAlignment.Create(AOwner : TComponent);
|
||||
begin
|
||||
//Assert(False, 'Trace:Inside of TAlignment Constructor');
|
||||
inherited Create(AOwner);
|
||||
//Assert(False, 'Trace:Call of inherited create in TAlignment Constructor Success');
|
||||
fCompStyle := csAlignMent;
|
||||
//Assert(False, 'Trace:Calling CreateComponent from TAlignment Constructor');
|
||||
|
||||
CreateComponent(AOwner);
|
||||
|
||||
Height := 20;
|
||||
Width := 100;
|
||||
Top := 100;
|
||||
Left := 1;
|
||||
|
||||
AddControl;
|
||||
Show;
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------}
|
||||
{ TAlignment Destructor }
|
||||
{------------------------------------------------------------------------------}
|
||||
destructor TAlignment.Destroy;
|
||||
begin
|
||||
inherited Destroy;
|
||||
end;
|
@ -4700,12 +4700,6 @@ begin
|
||||
Result := nil;
|
||||
|
||||
case ACompStyle of
|
||||
csAlignment :
|
||||
begin
|
||||
p := gtk_alignment_new(0.5,0.5,0,0);
|
||||
gtk_widget_show(p);
|
||||
end;
|
||||
|
||||
csColorDialog :
|
||||
begin
|
||||
P := gtk_color_selection_dialog_new(PChar(ACaption));
|
||||
|
@ -2362,7 +2362,7 @@ type
|
||||
|
||||
const
|
||||
csNone = 0;
|
||||
csAlignment = 1;
|
||||
// csAlignment = 1;
|
||||
// csBox = 2;
|
||||
csButton = 3;
|
||||
csComboBox = 4;
|
||||
@ -2652,10 +2652,11 @@ Begin
|
||||
Case CompStyle of
|
||||
csNone:
|
||||
Result := 'csNone';
|
||||
csAlignment:
|
||||
{ csAlignment:
|
||||
Result := 'csAlignment';
|
||||
// csBox:
|
||||
// Result := 'csBox';
|
||||
csBox:
|
||||
Result := 'csBox';
|
||||
}
|
||||
csButton:
|
||||
Result := 'csButton';
|
||||
csComboBox:
|
||||
|
Loading…
Reference in New Issue
Block a user