-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathuabout.pas
51 lines (36 loc) · 832 Bytes
/
uabout.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
unit UAbout;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
StdCtrls, Buttons, LCLIntf;
type
{ TAboutForm }
TAboutForm = class(TForm)
GithubButton: TBitBtn;
Logo: TImage;
ProductNameLabel: TLabel;
AuthorNameLabel: TLabel;
LicenseMemo: TMemo;
OKButton: TSpeedButton;
procedure GithubButtonClick(Sender: TObject);
procedure OKButtonClick(Sender: TObject);
private
{ private declarations }
public
{ public declarations }
end;
var
AboutForm: TAboutForm;
implementation
{$R *.lfm}
{ TAboutForm }
procedure TAboutForm.GithubButtonClick(Sender: TObject);
begin
OpenURL('https://github.com/t1meshift/VecDraw');
end;
procedure TAboutForm.OKButtonClick(Sender: TObject);
begin
AboutForm.Close;
end;
end.