summaryrefslogtreecommitdiff
path: root/examples/gui/imgtest_jpeg/jpeg.lpr
diff options
context:
space:
mode:
authorAndrew Haines <andrewd207@aol.com>2010-08-15 09:22:59 -0400
committerAndrew Haines <andrewd207@aol.com>2010-08-15 09:22:59 -0400
commit917a2daf4ff769ad27631e6c71a7b919c47e4ecb (patch)
treec524983404bd70c97c17395995f962cdf41899cc /examples/gui/imgtest_jpeg/jpeg.lpr
parent77245bbf79e8568ba143cd7654e8aba352253a81 (diff)
parent59df247d7a5ff46cc8ac697526510b2ff6cbe5d2 (diff)
downloadfpGUI-917a2daf4ff769ad27631e6c71a7b919c47e4ecb.tar.xz
Merge branch 'master' of ssh://fpgui.git.sourceforge.net/gitroot/fpgui/fpgui
Diffstat (limited to 'examples/gui/imgtest_jpeg/jpeg.lpr')
-rw-r--r--examples/gui/imgtest_jpeg/jpeg.lpr24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/gui/imgtest_jpeg/jpeg.lpr b/examples/gui/imgtest_jpeg/jpeg.lpr
new file mode 100644
index 00000000..00c5fbd5
--- /dev/null
+++ b/examples/gui/imgtest_jpeg/jpeg.lpr
@@ -0,0 +1,24 @@
+program jpeg;
+
+{$mode objfpc}{$H+}
+
+uses
+ {$IFDEF UNIX}{$IFDEF UseCThreads}
+ cthreads,
+ {$ENDIF}{$ENDIF}
+ Classes, fpg_main, main;
+
+procedure MainProc;
+begin
+ fpgApplication.Initialize;
+ frmMain := TfrmMain.Create(nil);
+ frmMain.Show;
+ fpgApplication.Run;
+ frmMain.Free;
+end;
+
+begin
+ MainProc;
+end.
+
+