mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-17 13:06:04 +02:00
Tools/chmmaker: Fix compilation with FPC 3.2.x
This commit is contained in:
parent
ebf1009e3c
commit
1f695b9d3a
@ -1,32 +1,33 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<CONFIG>
|
<CONFIG>
|
||||||
<ProjectOptions>
|
<ProjectOptions>
|
||||||
<Version Value="9"/>
|
<Version Value="12"/>
|
||||||
<General>
|
<General>
|
||||||
<Flags>
|
<Flags>
|
||||||
<LRSInOutputDirectory Value="False"/>
|
<LRSInOutputDirectory Value="False"/>
|
||||||
|
<CompatibilityMode Value="True"/>
|
||||||
</Flags>
|
</Flags>
|
||||||
<SessionStorage Value="InIDEConfig"/>
|
<SessionStorage Value="InIDEConfig"/>
|
||||||
<MainUnit Value="0"/>
|
|
||||||
<ResourceType Value="res"/>
|
<ResourceType Value="res"/>
|
||||||
</General>
|
</General>
|
||||||
<VersionInfo>
|
|
||||||
<StringTable ProductVersion=""/>
|
|
||||||
</VersionInfo>
|
|
||||||
<BuildModes Count="1">
|
<BuildModes Count="1">
|
||||||
<Item1 Name="default" Default="True"/>
|
<Item1 Name="default" Default="True"/>
|
||||||
</BuildModes>
|
</BuildModes>
|
||||||
<PublishOptions>
|
<PublishOptions>
|
||||||
<Version Value="2"/>
|
<Version Value="2"/>
|
||||||
<IgnoreBinaries Value="False"/>
|
|
||||||
<IncludeFileFilter Value="*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml)"/>
|
|
||||||
<ExcludeFileFilter Value="*.(bak|ppu|ppw|o|so);*~;backup"/>
|
|
||||||
</PublishOptions>
|
</PublishOptions>
|
||||||
<RunParams>
|
<RunParams>
|
||||||
<local>
|
<local>
|
||||||
<FormatVersion Value="1"/>
|
|
||||||
<LaunchingApplication PathPlusParams=""/>
|
<LaunchingApplication PathPlusParams=""/>
|
||||||
</local>
|
</local>
|
||||||
|
<FormatVersion Value="2"/>
|
||||||
|
<Modes Count="1">
|
||||||
|
<Mode0 Name="default">
|
||||||
|
<local>
|
||||||
|
<LaunchingApplication PathPlusParams=""/>
|
||||||
|
</local>
|
||||||
|
</Mode0>
|
||||||
|
</Modes>
|
||||||
</RunParams>
|
</RunParams>
|
||||||
<RequiredPackages Count="3">
|
<RequiredPackages Count="3">
|
||||||
<Item1>
|
<Item1>
|
||||||
|
@ -8,30 +8,27 @@ object SitemapEditForm: TSitemapEditForm
|
|||||||
ClientHeight = 651
|
ClientHeight = 651
|
||||||
ClientWidth = 773
|
ClientWidth = 773
|
||||||
ShowInTaskBar = stAlways
|
ShowInTaskBar = stAlways
|
||||||
LCLVersion = '0.9.27'
|
LCLVersion = '2.3.0.0'
|
||||||
object Label3: TLabel
|
object Label3: TLabel
|
||||||
Left = 424
|
Left = 424
|
||||||
Height = 18
|
Height = 15
|
||||||
Top = 16
|
Top = 16
|
||||||
Width = 110
|
Width = 90
|
||||||
Caption = 'Global Properties'
|
Caption = 'Global Properties'
|
||||||
ParentColor = False
|
|
||||||
end
|
end
|
||||||
object Label4: TLabel
|
object Label4: TLabel
|
||||||
Left = 444
|
Left = 444
|
||||||
Height = 18
|
Height = 15
|
||||||
Top = 136
|
Top = 136
|
||||||
Width = 111
|
Width = 94
|
||||||
Caption = 'Foreground Color'
|
Caption = 'Foreground Color'
|
||||||
ParentColor = False
|
|
||||||
end
|
end
|
||||||
object Label5: TLabel
|
object Label5: TLabel
|
||||||
Left = 444
|
Left = 444
|
||||||
Height = 18
|
Height = 15
|
||||||
Top = 176
|
Top = 176
|
||||||
Width = 114
|
Width = 96
|
||||||
Caption = 'Background Color'
|
Caption = 'Background Color'
|
||||||
ParentColor = False
|
|
||||||
end
|
end
|
||||||
object ForegroundClrBtn: TColorButton
|
object ForegroundClrBtn: TColorButton
|
||||||
Left = 600
|
Left = 600
|
||||||
@ -41,7 +38,6 @@ object SitemapEditForm: TSitemapEditForm
|
|||||||
BorderWidth = 2
|
BorderWidth = 2
|
||||||
ButtonColorSize = 16
|
ButtonColorSize = 16
|
||||||
ButtonColor = clBlack
|
ButtonColor = clBlack
|
||||||
Color = clBtnFace
|
|
||||||
end
|
end
|
||||||
object BackgroundClrBtn: TColorButton
|
object BackgroundClrBtn: TColorButton
|
||||||
Left = 600
|
Left = 600
|
||||||
@ -51,7 +47,6 @@ object SitemapEditForm: TSitemapEditForm
|
|||||||
BorderWidth = 2
|
BorderWidth = 2
|
||||||
ButtonColorSize = 16
|
ButtonColorSize = 16
|
||||||
ButtonColor = clNone
|
ButtonColor = clNone
|
||||||
Color = clBtnFace
|
|
||||||
end
|
end
|
||||||
object GroupBox1: TGroupBox
|
object GroupBox1: TGroupBox
|
||||||
Left = 0
|
Left = 0
|
||||||
@ -60,25 +55,23 @@ object SitemapEditForm: TSitemapEditForm
|
|||||||
Width = 404
|
Width = 404
|
||||||
Align = alLeft
|
Align = alLeft
|
||||||
Caption = 'Sitemap Tree/List'
|
Caption = 'Sitemap Tree/List'
|
||||||
ClientHeight = 632
|
ClientHeight = 631
|
||||||
ClientWidth = 400
|
ClientWidth = 400
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
object Label1: TLabel
|
object Label1: TLabel
|
||||||
Left = 11
|
Left = 11
|
||||||
Height = 18
|
Height = 15
|
||||||
Top = 467
|
Top = 467
|
||||||
Width = 116
|
Width = 98
|
||||||
Caption = 'Local link (in chm)'
|
Caption = 'Local link (in chm)'
|
||||||
Enabled = False
|
Enabled = False
|
||||||
ParentColor = False
|
|
||||||
end
|
end
|
||||||
object Label2: TLabel
|
object Label2: TLabel
|
||||||
Left = 11
|
Left = 11
|
||||||
Height = 18
|
Height = 15
|
||||||
Top = 575
|
Top = 575
|
||||||
Width = 59
|
Width = 49
|
||||||
Caption = 'Add Item'
|
Caption = 'Add Item'
|
||||||
ParentColor = False
|
|
||||||
end
|
end
|
||||||
object SitemapTree: TTreeView
|
object SitemapTree: TTreeView
|
||||||
Left = 0
|
Left = 0
|
||||||
@ -86,7 +79,6 @@ object SitemapEditForm: TSitemapEditForm
|
|||||||
Top = 0
|
Top = 0
|
||||||
Width = 400
|
Width = 400
|
||||||
Align = alTop
|
Align = alTop
|
||||||
DefaultItemHeight = 19
|
|
||||||
ReadOnly = True
|
ReadOnly = True
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
OnCustomCreateItem = SitemapTreeCustomCreateItem
|
OnCustomCreateItem = SitemapTreeCustomCreateItem
|
||||||
@ -95,17 +87,12 @@ object SitemapEditForm: TSitemapEditForm
|
|||||||
end
|
end
|
||||||
object DescriptionEdit: TLabeledEdit
|
object DescriptionEdit: TLabeledEdit
|
||||||
Left = 11
|
Left = 11
|
||||||
Height = 25
|
Height = 23
|
||||||
Top = 435
|
Top = 435
|
||||||
Width = 292
|
Width = 292
|
||||||
EditLabel.AnchorSideLeft.Control = DescriptionEdit
|
EditLabel.Height = 15
|
||||||
EditLabel.AnchorSideBottom.Control = DescriptionEdit
|
EditLabel.Width = 292
|
||||||
EditLabel.Left = 11
|
|
||||||
EditLabel.Height = 18
|
|
||||||
EditLabel.Top = 414
|
|
||||||
EditLabel.Width = 73
|
|
||||||
EditLabel.Caption = 'Description'
|
EditLabel.Caption = 'Description'
|
||||||
EditLabel.ParentColor = False
|
|
||||||
Enabled = False
|
Enabled = False
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
OnChange = DescriptionEditChange
|
OnChange = DescriptionEditChange
|
||||||
@ -122,30 +109,23 @@ object SitemapEditForm: TSitemapEditForm
|
|||||||
end
|
end
|
||||||
object LocalCombo: TComboBox
|
object LocalCombo: TComboBox
|
||||||
Left = 11
|
Left = 11
|
||||||
Height = 29
|
Height = 23
|
||||||
Top = 487
|
Top = 487
|
||||||
Width = 375
|
Width = 375
|
||||||
AutoComplete = False
|
|
||||||
Enabled = False
|
Enabled = False
|
||||||
ItemHeight = 0
|
ItemHeight = 15
|
||||||
ItemWidth = 0
|
|
||||||
OnChange = LocalComboChange
|
OnChange = LocalComboChange
|
||||||
OnKeyUp = LocalComboKeyUp
|
OnKeyUp = LocalComboKeyUp
|
||||||
TabOrder = 3
|
TabOrder = 3
|
||||||
end
|
end
|
||||||
object URLEdit: TLabeledEdit
|
object URLEdit: TLabeledEdit
|
||||||
Left = 11
|
Left = 11
|
||||||
Height = 25
|
Height = 23
|
||||||
Top = 539
|
Top = 539
|
||||||
Width = 375
|
Width = 375
|
||||||
EditLabel.AnchorSideLeft.Control = URLEdit
|
EditLabel.Height = 15
|
||||||
EditLabel.AnchorSideBottom.Control = URLEdit
|
EditLabel.Width = 375
|
||||||
EditLabel.Left = 11
|
|
||||||
EditLabel.Height = 18
|
|
||||||
EditLabel.Top = 518
|
|
||||||
EditLabel.Width = 66
|
|
||||||
EditLabel.Caption = 'URL (http)'
|
EditLabel.Caption = 'URL (http)'
|
||||||
EditLabel.ParentColor = False
|
|
||||||
Enabled = False
|
Enabled = False
|
||||||
TabOrder = 4
|
TabOrder = 4
|
||||||
OnChange = URLEditChange
|
OnChange = URLEditChange
|
||||||
@ -195,24 +175,19 @@ object SitemapEditForm: TSitemapEditForm
|
|||||||
end
|
end
|
||||||
object FontEdit: TLabeledEdit
|
object FontEdit: TLabeledEdit
|
||||||
Left = 444
|
Left = 444
|
||||||
Height = 25
|
Height = 23
|
||||||
Top = 72
|
Top = 72
|
||||||
Width = 232
|
Width = 232
|
||||||
EditLabel.AnchorSideLeft.Control = FontEdit
|
EditLabel.Height = 15
|
||||||
EditLabel.AnchorSideBottom.Control = FontEdit
|
EditLabel.Width = 232
|
||||||
EditLabel.Left = 444
|
|
||||||
EditLabel.Height = 18
|
|
||||||
EditLabel.Top = 51
|
|
||||||
EditLabel.Width = 29
|
|
||||||
EditLabel.Caption = 'Font'
|
EditLabel.Caption = 'Font'
|
||||||
EditLabel.ParentColor = False
|
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
end
|
end
|
||||||
object FolderViewCheck: TCheckBox
|
object FolderViewCheck: TCheckBox
|
||||||
Left = 444
|
Left = 444
|
||||||
Height = 22
|
Height = 19
|
||||||
Top = 212
|
Top = 212
|
||||||
Width = 129
|
Width = 104
|
||||||
Caption = 'Use Folder Icons'
|
Caption = 'Use Folder Icons'
|
||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
end
|
end
|
||||||
|
@ -146,8 +146,8 @@ procedure TSitemapEditForm.SaveBtnClick(Sender: TObject);
|
|||||||
begin
|
begin
|
||||||
ChmItem := ChmItems.NewItem;
|
ChmItem := ChmItems.NewItem;
|
||||||
ChmItem.Text := TreeNode.Text;
|
ChmItem.Text := TreeNode.Text;
|
||||||
ChmItem.URL := TreeNode.URL;
|
ChmItem.AddURL(TreeNode.URL);
|
||||||
ChmItem.Local := TreeNode.Local;
|
ChmItem.AddLocal(TreeNode.Local);
|
||||||
for I := 0 to TreeNode.Count-1 do begin
|
for I := 0 to TreeNode.Count-1 do begin
|
||||||
AddItem(TChmTreeNode(TreeNode.Items[I]), ChmItem.Children);
|
AddItem(TChmTreeNode(TreeNode.Items[I]), ChmItem.Children);
|
||||||
end;
|
end;
|
||||||
@ -266,7 +266,7 @@ procedure TSitemapEditForm.LoadFromStream(AStream: TStream);
|
|||||||
ChmItem := Items.Item[I];
|
ChmItem := Items.Item[I];
|
||||||
TreeNode := TChmTreeNode(SitemapTree.Items.AddChild(ParentItem, ChmItem.Text));
|
TreeNode := TChmTreeNode(SitemapTree.Items.AddChild(ParentItem, ChmItem.Text));
|
||||||
TreeNode.Local := ChmItem.Local;
|
TreeNode.Local := ChmItem.Local;
|
||||||
TreeNode.URL := ChmItem.URL;
|
TreeNode.URL := ChmItem.SubItem[0].URL;
|
||||||
AddItems(ChmItem.Children, TreeNode);
|
AddItems(ChmItem.Children, TreeNode);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
@ -28,5 +28,6 @@
|
|||||||
<DefaultFont Value=""/>
|
<DefaultFont Value=""/>
|
||||||
<DefaultWindow Value=""/>
|
<DefaultWindow Value=""/>
|
||||||
<ScanHtmlContents Value="False"/>
|
<ScanHtmlContents Value="False"/>
|
||||||
|
<LocaleID Value="1033"/>
|
||||||
</Settings>
|
</Settings>
|
||||||
</CONFIG>
|
</CONFIG>
|
||||||
|
Loading…
Reference in New Issue
Block a user