diff options
author | sekelsenmat <sekelsenmat@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-05-27 09:38:55 +0000 |
---|---|---|
committer | sekelsenmat <sekelsenmat@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-05-27 09:38:55 +0000 |
commit | 45dcaa3fda0029345f25136ed547f513bb50c9cb (patch) | |
tree | de34af842a4ce043dd961ab3db20b3ec446fa722 | |
parent | 41fd902e393efc9a057defc73fee1a1aef17d98f (diff) | |
download | fpGUI-45dcaa3fda0029345f25136ed547f513bb50c9cb.tar.xz |
Added a package for fpimg
-rw-r--r-- | examples/gfx/imgtest/imgtest.pas | 1 | ||||
-rw-r--r-- | examples/img/masktest/masktest.lpi | 53 | ||||
-rw-r--r-- | img/fpimgpackage.lpk | 51 | ||||
-rw-r--r-- | img/imageio.pas | 2 |
4 files changed, 104 insertions, 3 deletions
diff --git a/examples/gfx/imgtest/imgtest.pas b/examples/gfx/imgtest/imgtest.pas index 06b5b3f3..f1c39b22 100644 --- a/examples/gfx/imgtest/imgtest.pas +++ b/examples/gfx/imgtest/imgtest.pas @@ -76,7 +76,6 @@ end; var MainWindow: TMainWindow; - begin GFApplication.Initialize; MainWindow := TMainWindow.Create; diff --git a/examples/img/masktest/masktest.lpi b/examples/img/masktest/masktest.lpi new file mode 100644 index 00000000..6c574c2d --- /dev/null +++ b/examples/img/masktest/masktest.lpi @@ -0,0 +1,53 @@ +<?xml version="1.0"?>
+<CONFIG>
+ <ProjectOptions>
+ <PathDelim Value="\"/>
+ <Version Value="5"/>
+ <General>
+ <SessionStorage Value="InProjectDir"/>
+ <MainUnit Value="0"/>
+ <IconPath Value="./"/>
+ <TargetFileExt Value=".exe"/>
+ </General>
+ <VersionInfo>
+ <ProjectVersion Value=""/>
+ </VersionInfo>
+ <PublishOptions>
+ <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>
+ <RunParams>
+ <local>
+ <FormatVersion Value="1"/>
+ <LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
+ </local>
+ </RunParams>
+ <RequiredPackages Count="2">
+ <Item1>
+ <PackageName Value="fpimgpackage"/>
+ </Item1>
+ <Item2>
+ <PackageName Value="fpGFXPackage"/>
+ </Item2>
+ </RequiredPackages>
+ <Units Count="1">
+ <Unit0>
+ <Filename Value="masktest.pas"/>
+ <IsPartOfProject Value="True"/>
+ <UnitName Value="MaskTest"/>
+ </Unit0>
+ </Units>
+ </ProjectOptions>
+ <CompilerOptions>
+ <Version Value="5"/>
+ <PathDelim Value="\"/>
+ <CodeGeneration>
+ <Generate Value="Faster"/>
+ </CodeGeneration>
+ <Other>
+ <CompilerPath Value="$(CompPath)"/>
+ </Other>
+ </CompilerOptions>
+</CONFIG>
diff --git a/img/fpimgpackage.lpk b/img/fpimgpackage.lpk new file mode 100644 index 00000000..40a2df31 --- /dev/null +++ b/img/fpimgpackage.lpk @@ -0,0 +1,51 @@ +<?xml version="1.0"?>
+<CONFIG>
+ <Package Version="2">
+ <PathDelim Value="\"/>
+ <Name Value="fpimgpackage"/>
+ <CompilerOptions>
+ <Version Value="5"/>
+ <PathDelim Value="\"/>
+ <SearchPaths>
+ <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
+ </SearchPaths>
+ <CodeGeneration>
+ <Generate Value="Faster"/>
+ </CodeGeneration>
+ <Other>
+ <CompilerPath Value="$(CompPath)"/>
+ </Other>
+ </CompilerOptions>
+ <Files Count="3">
+ <Item1>
+ <Filename Value="fpimg.pas"/>
+ <UnitName Value="fpImg"/>
+ </Item1>
+ <Item2>
+ <Filename Value="imageio.pas"/>
+ <UnitName Value="ImageIO"/>
+ </Item2>
+ <Item3>
+ <Filename Value="bmpreader.pas"/>
+ <UnitName Value="BMPReader"/>
+ </Item3>
+ </Files>
+ <Type Value="RunAndDesignTime"/>
+ <RequiredPkgs Count="2">
+ <Item1>
+ <PackageName Value="fpGFXPackage"/>
+ </Item1>
+ <Item2>
+ <PackageName Value="FCL"/>
+ <MinVersion Major="1" Valid="True"/>
+ </Item2>
+ </RequiredPkgs>
+ <UsageOptions>
+ <UnitPath Value="$(PkgOutDir)"/>
+ </UsageOptions>
+ <PublishOptions>
+ <Version Value="2"/>
+ <IgnoreBinaries Value="False"/>
+ </PublishOptions>
+ </Package>
+</CONFIG>
diff --git a/img/imageio.pas b/img/imageio.pas index d28c9267..ead8ba4b 100644 --- a/img/imageio.pas +++ b/img/imageio.pas @@ -13,8 +13,6 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. } - - unit ImageIO; {$IFDEF Debug} |