imgviewer example: fix compilation after removal of the lazarus jpeg package

git-svn-id: trunk@13578 -
This commit is contained in:
vincents 2008-01-02 09:45:59 +00:00
parent 2db37e8ee3
commit 7e5dbd0350
2 changed files with 23 additions and 35 deletions

View File

@ -25,9 +25,9 @@ unit frmmain;
interface
uses
LCLIntf,SysUtils, Types, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ImgList, ComCtrls, ExtCtrls, ActnList, Menus,
ToolWin, LResources;
LCLIntf,SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, ExtCtrls, ActnList, Menus,
LResources, LCLType;
type
TMainForm = class(TForm)
@ -118,9 +118,6 @@ var
implementation
uses filectrl,lazjpeg,lcltype;
Const
ImageTypes = '.jpg.jpeg.bmp.xpm.png';

View File

@ -1,43 +1,19 @@
<?xml version="1.0"?>
<CONFIG>
<ProjectOptions>
<Version Value="3"/>
<PathDelim Value="\"/>
<Version Value="6"/>
<General>
<ProjectType Value="Application"/>
<Flags>
<SaveClosedFiles Value="False"/>
<SaveOnlyProjectUnits Value="True"/>
</Flags>
<SessionStorage Value="InIDEConfig"/>
<MainUnit Value="0"/>
<ActiveEditorIndexAtStart Value="0"/>
<IconPath Value="./"/>
<TargetFileExt Value=""/>
<Title Value="imgview"/>
</General>
<Units Count="2">
<Unit0>
<CursorPos X="1" Y="21"/>
<EditorIndex Value="1"/>
<Filename Value="imgview.lpr"/>
<IsPartOfProject Value="True"/>
<Loaded Value="True"/>
<TopLine Value="1"/>
<UnitName Value="imgview"/>
<UsageCount Value="22"/>
</Unit0>
<Unit1>
<CursorPos X="21" Y="25"/>
<EditorIndex Value="0"/>
<Filename Value="frmmain.pas"/>
<ComponentName Value="MainForm"/>
<IsPartOfProject Value="True"/>
<Loaded Value="True"/>
<ResourceFilename Value="frmmain.lrs"/>
<TopLine Value="1"/>
<UnitName Value="frmmain"/>
<UsageCount Value="22"/>
</Unit1>
</Units>
<PublishOptions>
<Version Value="2"/>
<IgnoreBinaries Value="False"/>
@ -56,11 +32,26 @@
<MinVersion Major="1" Valid="True"/>
</Item1>
</RequiredPackages>
<Units Count="2">
<Unit0>
<Filename Value="imgview.lpr"/>
<IsPartOfProject Value="True"/>
<UnitName Value="imgview"/>
</Unit0>
<Unit1>
<Filename Value="frmmain.pas"/>
<ComponentName Value="MainForm"/>
<IsPartOfProject Value="True"/>
<ResourceFilename Value="frmmain.lrs"/>
<UnitName Value="frmmain"/>
</Unit1>
</Units>
</ProjectOptions>
<CompilerOptions>
<Version Value="2"/>
<Version Value="5"/>
<PathDelim Value="\"/>
<SearchPaths>
<SrcPath Value="$(LazarusDir)/lcl/;$(LazarusDir)/lcl/interfaces/$(LCLWidgetType)/"/>
<SrcPath Value="$(LazarusDir)\lcl\;$(LazarusDir)\lcl\interfaces\$(LCLWidgetType)\"/>
</SearchPaths>
<CodeGeneration>
<Generate Value="Faster"/>