mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 17:59:59 +02:00
imgviewer example: fix compilation after removal of the lazarus jpeg package
git-svn-id: trunk@13578 -
This commit is contained in:
parent
2db37e8ee3
commit
7e5dbd0350
@ -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';
|
||||
|
||||
|
@ -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"/>
|
||||
|
Loading…
Reference in New Issue
Block a user