summaryrefslogtreecommitdiff
path: root/orig/pq/Front.pas
blob: fb04ac96361adce5cc06d081cf66c5fbe6ce99a3 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
unit Front;
{ copyright (c)2002 Eric Fredricksen all rights reserved }

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, ExtCtrls;

type
  TFrontForm = class(TForm)
    Panel1: TPanel;
    Button1: TButton;
    Button2: TButton;
    OpenDialog1: TOpenDialog;
    Button4: TButton;
    Label2: TLabel;
    Button3: TButton;
    Panel2: TPanel;
    Logo: TImage;
    Label3: TLabel;
    HomeLink: TLabel;
    Label1: TLabel;
    procedure HomeLinkClick(Sender: TObject);
    procedure LogoClick(Sender: TObject);
  end;

var
  FrontForm: TFrontForm;

implementation

uses ShellAPI, Main, Info;

{$R *.dfm}

procedure TFrontForm.HomeLinkClick(Sender: TObject);
begin
  ShellExecute(GetDesktopWindow(), 'open', 'http://progressquest.com/', nil, '', SW_SHOW);
end;

procedure TFrontForm.LogoClick(Sender: TObject);
begin
  ShellExecute(GetDesktopWindow(), 'open', 'http://progressquest.com/', nil, '', SW_SHOW);
end;

end.