Skip to content
This repository was archived by the owner on Feb 27, 2021. It is now read-only.

Commit 712343d

Browse files
committed
Varios Updates
1 parent cc6d507 commit 712343d

16 files changed

+1674
-402
lines changed

alt1linux.lpi

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<PackageName Value="LCL"/>
3939
</Item5>
4040
</RequiredPackages>
41-
<Units Count="4">
41+
<Units Count="5">
4242
<Unit0>
4343
<Filename Value="alt1linux.lpr"/>
4444
<IsPartOfProject Value="True"/>
@@ -64,6 +64,13 @@
6464
<HasResources Value="True"/>
6565
<ResourceBaseClass Value="Form"/>
6666
</Unit3>
67+
<Unit4>
68+
<Filename Value="settings.pas"/>
69+
<IsPartOfProject Value="True"/>
70+
<ComponentName Value="Form1"/>
71+
<HasResources Value="True"/>
72+
<ResourceBaseClass Value="Form"/>
73+
</Unit4>
6774
</Units>
6875
</ProjectOptions>
6976
<CompilerOptions>
@@ -75,8 +82,15 @@
7582
<IncludeFiles Value="$(ProjOutDir)"/>
7683
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
7784
</SearchPaths>
85+
<CodeGeneration>
86+
<Optimizations>
87+
<OptimizationLevel Value="4"/>
88+
</Optimizations>
89+
</CodeGeneration>
7890
<Linking>
7991
<Options>
92+
<PassLinkerOptions Value="True"/>
93+
<LinkerOptions Value="-lX11 -lXcomposite -lXext -lXfixes"/>
8094
<Win32>
8195
<GraphicApplication Value="True"/>
8296
</Win32>

alt1linux.lpr

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
program alt1linux;
22

33
{$mode objfpc}{$H+}
4-
4+
{.$DEFINE DEBUG}
55
uses
6+
67
{$IFDEF UNIX}
78
cthreads,
89
{$ENDIF}
910
Interfaces, // this includes the LCL widgetset
10-
Forms, runtimetypeinfocontrols, main,mainapp,simpleipc, alt1overlay;
11+
Forms, runtimetypeinfocontrols, main,mainapp,simpleipc, alt1overlay, settings;
1112

1213
var
1314
Client: TSimpleIPCClient;
@@ -33,6 +34,7 @@
3334
Application.CreateForm(Talt1app, alt1app);
3435
Application.CreateForm(Tmainform, mainform);
3536
Application.CreateForm(TOverlay, Overlay);
37+
Application.CreateForm(TForm1, Form1);
3638
Application.Run;
3739
end;
3840
end.

alt1overlay.lfm

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,34 @@
11
object Overlay: TOverlay
2-
Left = 74
2+
Left = 56
33
Height = 115
4-
Top = 182
4+
Top = 45
55
Width = 148
66
Align = alClient
77
AlphaBlendValue = 0
88
BorderIcons = []
99
BorderStyle = bsNone
1010
Caption = 'Overlay'
11-
ClientHeight = 115
12-
ClientWidth = 148
13-
Color = clRed
11+
Color = clWhite
1412
FormStyle = fsSystemStayOnTop
1513
OnClick = FormClick
14+
OnCreate = FormCreate
15+
OnDestroy = FormDestroy
1616
OnShow = FormShow
1717
ParentBiDiMode = False
1818
ShowInTaskBar = stNever
1919
LCLVersion = '1.8.4.0'
20-
Visible = True
2120
WindowState = wsMaximized
22-
object Image1: TImage
23-
Left = 0
24-
Height = 115
25-
Top = 0
26-
Width = 148
27-
Align = alClient
28-
Enabled = False
29-
Transparent = True
30-
end
3121
object Timer1: TTimer
32-
Interval = 20
22+
Interval = 50
3323
OnTimer = Timer1Timer
34-
left = 33
35-
top = 12
24+
left = 8
25+
top = 8
26+
end
27+
object Timer2: TTimer
28+
Enabled = False
29+
Interval = 10
30+
OnTimer = Timer2Timer
31+
left = 48
32+
top = 8
3633
end
3734
end

0 commit comments

Comments
 (0)