Skip to content

Commit

Permalink
Merge pull request #53 from dvmorozov/#3
Browse files Browse the repository at this point in the history
Component demo was moved into separate application
  • Loading branch information
dvmorozov authored Nov 28, 2019
2 parents b85f214 + ef22bbe commit b744792
Show file tree
Hide file tree
Showing 15 changed files with 2,591 additions and 101 deletions.
15 changes: 15 additions & 0 deletions examples/TBoundingBoxComponentForm/bounding_box_component_demo.dpr
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
program bounding_box_server_demo;

uses
Vcl.Forms,
bounding_box_component_form in 'bounding_box_component_form.pas' {Form1},
downhill_simplex_handler in 'downhill_simplex_handler.pas';

{$R *.res}

begin
Application.Initialize;
Application.MainFormOnTaskbar := True;
Application.CreateForm(TBoundingBoxComponentForm, BoundingBoxComponentForm);
Application.Run;
end.
568 changes: 568 additions & 0 deletions examples/TBoundingBoxComponentForm/bounding_box_component_demo.dproj

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
97 changes: 97 additions & 0 deletions examples/TBoundingBoxComponentForm/bounding_box_component_demo.lpi
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<ProjectOptions>
<Version Value="10"/>
<PathDelim Value="\"/>
<General>
<SessionStorage Value="InProjectDir"/>
<MainUnit Value="0"/>
<Title Value="bounding_box_component_demo"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
<Icon Value="0"/>
</General>
<i18n>
<EnableI18N LFM="False"/>
</i18n>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>
</BuildModes>
<PublishOptions>
<Version Value="2"/>
</PublishOptions>
<RunParams>
<local>
<FormatVersion Value="1"/>
</local>
</RunParams>
<RequiredPackages Count="2">
<Item1>
<PackageName Value="FitMinimizers"/>
</Item1>
<Item2>
<PackageName Value="LCL"/>
</Item2>
</RequiredPackages>
<Units Count="3">
<Unit0>
<Filename Value="bounding_box_component_demo.lpr"/>
<IsPartOfProject Value="True"/>
</Unit0>
<Unit1>
<Filename Value="downhill_simplex_handler.pas"/>
<IsPartOfProject Value="True"/>
</Unit1>
<Unit2>
<Filename Value="bounding_box_component_form.pas"/>
<IsPartOfProject Value="True"/>
<ComponentName Value="BoundingBoxComponentForm"/>
<HasResources Value="True"/>
<ResourceBaseClass Value="Form"/>
</Unit2>
</Units>
</ProjectOptions>
<CompilerOptions>
<Version Value="11"/>
<PathDelim Value="\"/>
<Target>
<Filename Value="bounding_box_component_demo"/>
</Target>
<SearchPaths>
<IncludeFiles Value="$(ProjOutDir)"/>
<OtherUnitFiles Value=".."/>
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
</SearchPaths>
<Parsing>
<SyntaxOptions>
<SyntaxMode Value="Delphi"/>
</SyntaxOptions>
</Parsing>
<Linking>
<Options>
<Win32>
<GraphicApplication Value="True"/>
</Win32>
</Options>
</Linking>
<Other>
<CustomOptions Value="-dLazarus"/>
<OtherDefines Count="1">
<Define0 Value="Lazarus"/>
</OtherDefines>
</Other>
</CompilerOptions>
<Debugging>
<Exceptions Count="3">
<Item1>
<Name Value="EAbort"/>
</Item1>
<Item2>
<Name Value="ECodetoolError"/>
</Item2>
<Item3>
<Name Value="EFOpenError"/>
</Item3>
</Exceptions>
</Debugging>
</CONFIG>
17 changes: 17 additions & 0 deletions examples/TBoundingBoxComponentForm/bounding_box_component_demo.lpr
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
program bounding_box_component_demo;

{$mode objfpc}{$H+}

uses {$IFDEF UNIX} {$IFDEF UseCThreads}
cthreads, {$ENDIF} {$ENDIF}
Interfaces, // this includes the LCL widgetset
Forms, bounding_box_component_form;

{$R *.res}

begin
RequireDerivedFormResource := True;
Application.Initialize;
Application.CreateForm(TBoundingBoxComponentForm, BoundingBoxComponentForm);
Application.Run;
end.
Loading

0 comments on commit b744792

Please sign in to comment.