-
Notifications
You must be signed in to change notification settings - Fork 0
/
About.pas
113 lines (97 loc) · 3.09 KB
/
About.pas
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
//******************************************************************************
// LBA Package Editor - editing hqr, ile, obl, vox packages from
// Little Big Adventure 1 & 2
//
// About unit.
// Contains About dialog and routines for clickable links.
//
// Copyright (C) Zink
// e-mail: zink@poczta.onet.pl
// See the GNU General Public License (License.txt) for details.
//******************************************************************************
unit About;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, ShellApi;
type
TForm2 = class(TForm)
Button2: TButton;
Shape1: TShape;
Label6: TLabel;
Label2: TLabel;
Label5: TLabel;
Label12: TLabel;
Label3: TLabel;
Label7: TLabel;
Label8: TLabel;
Label4: TLabel;
Label9: TLabel;
Label10: TLabel;
Label1: TLabel;
Label11: TLabel;
Label13: TLabel;
procedure Label10MouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
procedure Label10MouseUp(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
procedure Label4MouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
procedure Label4MouseUp(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
procedure FormCreate(Sender: TObject);
procedure Label13MouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
procedure Label13MouseUp(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form2: TForm2;
implementation
uses LBAPackEd1;
{$R *.dfm}
procedure TForm2.Label10MouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
Label10.Font.Color:=clYellow;
Label10.Repaint;
ShellExecute(Handle,'open','mailto:zink@poczta.onet.pl',nil,nil,SW_SHOWNORMAL);
end;
procedure TForm2.Label10MouseUp(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
Label10.Font.Color:=clBlue;
end;
procedure TForm2.Label4MouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
Label4.Font.Color:=clYellow;
Label4.Repaint;
ShellExecute(Handle,'open','http://www.emeraldmoon.prv.pl',nil,nil,SW_SHOWNORMAL);
end;
procedure TForm2.Label4MouseUp(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
Label4.Font.Color:=clBlue;
end;
procedure TForm2.FormCreate(Sender: TObject);
begin
Label12.Caption:='version '+VNum;
end;
procedure TForm2.Label13MouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
Label13.Font.Color:=clYellow;
Label13.Repaint;
ShellExecute(Handle,'open','http://el-muerte.student.utwente.nl/lba/forum/showthread.php?t=7488',nil,nil,SW_SHOWNORMAL);
end;
procedure TForm2.Label13MouseUp(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
Label13.Font.Color:=clBlue;
end;
end.