summaryrefslogtreecommitdiff
path: root/src/fpgide.lpr
blob: 9d49639a342187accf0aa1244d65fb082573e217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
program fpgide;

{$mode objfpc}{$H+}

uses
  {$IFDEF UNIX}
  cthreads,
  {$ENDIF}
  Classes, fpg_base, fpg_main, frm_main, frm_configureide, ideconst, idemacros,
  frm_debug, project, unitlist, frm_projectoptions, ideutils, builderthread,
  ideimages, stringhelpers, frm_procedurelist, mPasLex;


procedure MainProc;
var
  frm: TMainForm;
begin
//  FPG_DEFAULT_FONT_DESC := 'DejaVu Sans-9';
  fpgApplication.Initialize;
  RegisterIDEImages;
  frm := TMainForm.Create(nil);
  try
    frm.Show;
    fpgApplication.Run;
  finally
    frm.Free;
  end;
end;

begin
  MainProc;
end.