mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 11:09:22 +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
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
LCLIntf,SysUtils, Types, Classes, Graphics, Controls, Forms,
|
LCLIntf,SysUtils, Classes, Graphics, Controls, Forms,
|
||||||
Dialogs, StdCtrls, ImgList, ComCtrls, ExtCtrls, ActnList, Menus,
|
Dialogs, StdCtrls, ComCtrls, ExtCtrls, ActnList, Menus,
|
||||||
ToolWin, LResources;
|
LResources, LCLType;
|
||||||
|
|
||||||
type
|
type
|
||||||
TMainForm = class(TForm)
|
TMainForm = class(TForm)
|
||||||
@ -118,9 +118,6 @@ var
|
|||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
uses filectrl,lazjpeg,lcltype;
|
|
||||||
|
|
||||||
|
|
||||||
Const
|
Const
|
||||||
ImageTypes = '.jpg.jpeg.bmp.xpm.png';
|
ImageTypes = '.jpg.jpeg.bmp.xpm.png';
|
||||||
|
|
||||||
|
@ -1,43 +1,19 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<CONFIG>
|
<CONFIG>
|
||||||
<ProjectOptions>
|
<ProjectOptions>
|
||||||
<Version Value="3"/>
|
<PathDelim Value="\"/>
|
||||||
|
<Version Value="6"/>
|
||||||
<General>
|
<General>
|
||||||
<ProjectType Value="Application"/>
|
|
||||||
<Flags>
|
<Flags>
|
||||||
<SaveClosedFiles Value="False"/>
|
<SaveClosedFiles Value="False"/>
|
||||||
<SaveOnlyProjectUnits Value="True"/>
|
<SaveOnlyProjectUnits Value="True"/>
|
||||||
</Flags>
|
</Flags>
|
||||||
|
<SessionStorage Value="InIDEConfig"/>
|
||||||
<MainUnit Value="0"/>
|
<MainUnit Value="0"/>
|
||||||
<ActiveEditorIndexAtStart Value="0"/>
|
|
||||||
<IconPath Value="./"/>
|
<IconPath Value="./"/>
|
||||||
<TargetFileExt Value=""/>
|
<TargetFileExt Value=""/>
|
||||||
<Title Value="imgview"/>
|
<Title Value="imgview"/>
|
||||||
</General>
|
</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>
|
<PublishOptions>
|
||||||
<Version Value="2"/>
|
<Version Value="2"/>
|
||||||
<IgnoreBinaries Value="False"/>
|
<IgnoreBinaries Value="False"/>
|
||||||
@ -56,11 +32,26 @@
|
|||||||
<MinVersion Major="1" Valid="True"/>
|
<MinVersion Major="1" Valid="True"/>
|
||||||
</Item1>
|
</Item1>
|
||||||
</RequiredPackages>
|
</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>
|
</ProjectOptions>
|
||||||
<CompilerOptions>
|
<CompilerOptions>
|
||||||
<Version Value="2"/>
|
<Version Value="5"/>
|
||||||
|
<PathDelim Value="\"/>
|
||||||
<SearchPaths>
|
<SearchPaths>
|
||||||
<SrcPath Value="$(LazarusDir)/lcl/;$(LazarusDir)/lcl/interfaces/$(LCLWidgetType)/"/>
|
<SrcPath Value="$(LazarusDir)\lcl\;$(LazarusDir)\lcl\interfaces\$(LCLWidgetType)\"/>
|
||||||
</SearchPaths>
|
</SearchPaths>
|
||||||
<CodeGeneration>
|
<CodeGeneration>
|
||||||
<Generate Value="Faster"/>
|
<Generate Value="Faster"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user