Skip to content

Commit 75a7f71

Browse files
committed
Initial commit.
1 parent 801bd8e commit 75a7f71

File tree

10 files changed

+102215
-0
lines changed

10 files changed

+102215
-0
lines changed

CodeDroidAI.dpr

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
program CodeDroidAI;
2+
3+
uses
4+
System.StartUpCopy,
5+
FMX.Forms,
6+
Skia.FMX,
7+
uMainForm in 'uMainForm.pas' {MainForm},
8+
uItemFrame in 'uItemFrame.pas' {FrameItem: TFrame};
9+
10+
{$R *.res}
11+
12+
begin
13+
GlobalUseSkia := True;
14+
Application.Initialize;
15+
Application.CreateForm(TMainForm, MainForm);
16+
Application.Run;
17+
end.

CodeDroidAI.dproj

Lines changed: 1410 additions & 0 deletions
Large diffs are not rendered by default.

ConsoleProgram.dpr

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
program MyProgram;
2+
3+
var
4+
i: Integer;
5+
6+
begin
7+
for i := 0 to 9 do
8+
writeln(i);
9+
end.

ConsoleProgram.dproj

Lines changed: 221 additions & 0 deletions
Large diffs are not rendered by default.

uItemFrame.fmx

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
object FrameItem: TFrameItem
2+
Size.Width = 297.000000000000000000
3+
Size.Height = 193.000000000000000000
4+
Size.PlatformDefault = False
5+
object Panel1: TPanel
6+
Align = Client
7+
Margins.Left = 5.000000000000000000
8+
Margins.Top = 5.000000000000000000
9+
Margins.Right = 5.000000000000000000
10+
Margins.Bottom = 5.000000000000000000
11+
Size.Width = 287.000000000000000000
12+
Size.Height = 183.000000000000000000
13+
Size.PlatformDefault = False
14+
TabOrder = 0
15+
OnClick = Panel1Click
16+
object TitleLabel: TLabel
17+
Align = Top
18+
AutoSize = True
19+
StyledSettings = [Family, Style, FontColor]
20+
Margins.Left = 20.000000000000000000
21+
Margins.Right = 20.000000000000000000
22+
Margins.Bottom = 5.000000000000000000
23+
Position.X = 20.000000000000000000
24+
Position.Y = 52.000000000000000000
25+
Size.Width = 247.000000000000000000
26+
Size.Height = 27.000000000000000000
27+
Size.PlatformDefault = False
28+
TextSettings.Font.Size = 20.000000000000000000
29+
Text = 'Generate Procedures'
30+
TabOrder = 1
31+
end
32+
object Line1: TLine
33+
Align = Top
34+
HitTest = False
35+
LineType = Top
36+
Position.Y = 84.000000000000000000
37+
Size.Width = 287.000000000000000000
38+
Size.Height = 11.000000000000000000
39+
Size.PlatformDefault = False
40+
Stroke.Color = claSteelblue
41+
end
42+
object DescriptionLabel: TLabel
43+
Align = Client
44+
AutoSize = True
45+
Margins.Left = 20.000000000000000000
46+
Margins.Top = 5.000000000000000000
47+
Margins.Right = 20.000000000000000000
48+
Margins.Bottom = 20.000000000000000000
49+
Size.Width = 247.000000000000000000
50+
Size.Height = 63.000000000000000000
51+
Size.PlatformDefault = False
52+
TextSettings.VertAlign = Leading
53+
Text = 'Generates code procedures by describing what it should do.'
54+
TabOrder = 3
55+
end
56+
object EmojiLabel: TLabel
57+
Align = Top
58+
AutoSize = True
59+
StyledSettings = [Family, Style, FontColor]
60+
Margins.Left = 20.000000000000000000
61+
Margins.Top = 20.000000000000000000
62+
Margins.Right = 20.000000000000000000
63+
Position.X = 20.000000000000000000
64+
Position.Y = 20.000000000000000000
65+
Size.Width = 247.000000000000000000
66+
Size.Height = 32.000000000000000000
67+
Size.PlatformDefault = False
68+
TextSettings.Font.Size = 24.000000000000000000
69+
Text = #55358#56598
70+
TabOrder = 0
71+
end
72+
end
73+
end

uItemFrame.pas

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
unit uItemFrame;
2+
3+
interface
4+
5+
uses
6+
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
7+
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
8+
FMX.Objects, FMX.Controls.Presentation;
9+
10+
type
11+
TFrameItem = class(TFrame)
12+
Panel1: TPanel;
13+
TitleLabel: TLabel;
14+
Line1: TLine;
15+
DescriptionLabel: TLabel;
16+
EmojiLabel: TLabel;
17+
procedure Panel1Click(Sender: TObject);
18+
private
19+
{ Private declarations }
20+
public
21+
{ Public declarations }
22+
end;
23+
24+
implementation
25+
26+
{$R *.fmx}
27+
28+
uses
29+
uMainForm;
30+
31+
procedure TFrameItem.Panel1Click(Sender: TObject);
32+
begin
33+
MainForm.LoadTemplate(Self.Tag);
34+
end;
35+
36+
end.

uItemFrame.vlb

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[MainForm.LanguageMT]
2+
Visible=False
3+
4+
[MainForm.RSVarsFDMemTable]
5+
Visible=False
6+
7+
[MainForm.PlatformFDMemTable]
8+
Visible=False
9+
10+
[MainForm.ProjectsFDMemTable]
11+
Visible=False
12+
13+
[MainForm.LanguageMT2]
14+
Visible=False
15+
16+
[MainForm.HistoryMT]
17+
Visible=False
18+
19+
[MainForm.ModelsMT]
20+
Visible=False
21+
22+
[MainForm.TemplatesMT]
23+
Visible=False
24+

0 commit comments

Comments
 (0)