diff options
Diffstat (limited to 'tools/imageconvert/imgcnv.lpr')
-rw-r--r-- | tools/imageconvert/imgcnv.lpr | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tools/imageconvert/imgcnv.lpr b/tools/imageconvert/imgcnv.lpr new file mode 100644 index 00000000..615dcd46 --- /dev/null +++ b/tools/imageconvert/imgcnv.lpr @@ -0,0 +1,31 @@ +program imgcnv; + +{$mode objfpc}{$H+} +{$ifdef mswindows}{$apptype gui}{$endif} + +uses + {$IFDEF UNIX}{$IFDEF UseCThreads} + cthreads, + {$ENDIF}{$ENDIF} + Classes, fpg_base, fpg_main, fpgui_toolkit, frm_main; + + +procedure MainProc; +var + frm: TMainForm; +begin + fpgApplication.Initialize; + frm := TMainForm.Create(nil); + try + frm.Show; + fpgApplication.Run; + finally + frm.Free; + end; +end; + +begin + MainProc; +end. + + |