-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.lfm
269 lines (269 loc) · 6.78 KB
/
main.lfm
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
object frmMain: TfrmMain
Left = 603
Height = 800
Top = 37
Width = 1086
Caption = 'Mod Template Generator'
ClientHeight = 800
ClientWidth = 1086
DesignTimePPI = 144
Font.CharSet = ANSI_CHARSET
Font.Height = -24
Font.Pitch = fpVariable
Font.Quality = fqDraft
Menu = mnuMain
OnCreate = FormCreate
LCLVersion = '2.3.0.0'
object memDescription: TMemo
AnchorSideLeft.Control = lblDescription
AnchorSideTop.Control = lblDescription
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = edtName
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = btnGenerate
Left = 16
Height = 552
Top = 136
Width = 456
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Bottom = 16
TabOrder = 1
end
object lblName: TLabel
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = Owner
Left = 16
Height = 32
Top = 16
Width = 121
BorderSpacing.Left = 16
BorderSpacing.Top = 16
Caption = 'Mod Name'
ParentColor = False
end
object lblDescription: TLabel
AnchorSideLeft.Control = lblName
AnchorSideTop.Control = edtName
AnchorSideTop.Side = asrBottom
Left = 16
Height = 32
Top = 104
Width = 121
BorderSpacing.Top = 16
Caption = 'Description'
ParentColor = False
end
object rgVisibility: TRadioGroup
AnchorSideLeft.Control = edtName
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = lblName
AnchorSideRight.Control = btnClearImage
AnchorSideRight.Side = asrBottom
Left = 488
Height = 181
Top = 16
Width = 171
AutoFill = True
AutoSize = True
BorderSpacing.Left = 16
Caption = 'Visibility'
ChildSizing.LeftRightSpacing = 6
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
ChildSizing.EnlargeVertical = crsHomogenousChildResize
ChildSizing.ShrinkHorizontal = crsScaleChilds
ChildSizing.ShrinkVertical = crsScaleChilds
ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 1
ClientHeight = 144
ClientWidth = 167
ItemIndex = 0
Items.Strings = (
'Public'
'Friends only'
'Private'
'Unlisted'
)
TabOrder = 2
end
object edtName: TEdit
AnchorSideLeft.Control = lblName
AnchorSideTop.Control = lblName
AnchorSideTop.Side = asrBottom
AnchorSideRight.Side = asrBottom
Left = 16
Height = 40
Top = 48
Width = 456
TabOrder = 0
end
object btnBrowseImage: TButton
AnchorSideLeft.Control = rgVisibility
AnchorSideTop.Control = rgVisibility
AnchorSideTop.Side = asrBottom
Left = 488
Height = 42
Top = 213
Width = 175
AutoSize = True
BorderSpacing.Top = 16
Caption = 'Browse Image'
OnClick = btnBrowseImageClick
TabOrder = 4
end
object imgPreview: TImage
AnchorSideLeft.Control = btnBrowseImage
AnchorSideTop.Control = btnBrowseImage
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = btnClearImage
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = memDescription
AnchorSideBottom.Side = asrBottom
Left = 488
Height = 425
Top = 263
Width = 344
Anchors = [akTop, akLeft, akRight, akBottom]
BorderSpacing.Top = 8
Proportional = True
Stretch = True
end
object btnGenerate: TButton
AnchorSideLeft.Control = memDescription
AnchorSideTop.Control = memDescription
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = imgPreview
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = Owner
AnchorSideBottom.Side = asrBottom
Left = 16
Height = 80
Top = 704
Width = 816
Anchors = [akTop, akLeft, akRight, akBottom]
AutoSize = True
BorderSpacing.Top = 16
BorderSpacing.Bottom = 16
Caption = 'Generate'
Font.CharSet = ANSI_CHARSET
Font.Height = -36
Font.Pitch = fpVariable
Font.Quality = fqDraft
OnClick = btnGenerateClick
ParentFont = False
TabOrder = 7
end
object btnClearImage: TButton
AnchorSideLeft.Control = btnBrowseImage
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = btnBrowseImage
Left = 679
Height = 42
Top = 213
Width = 153
AutoSize = True
BorderSpacing.Left = 16
Caption = 'Clear Image'
OnClick = btnClearImageClick
TabOrder = 5
end
object cgSupports: TCheckGroup
AnchorSideLeft.Control = rgVisibility
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = rgVisibility
AnchorSideRight.Control = btnClearImage
AnchorSideRight.Side = asrBottom
Left = 675
Height = 157
Top = 16
Width = 157
Anchors = [akTop, akLeft, akRight]
AutoFill = True
AutoSize = True
BorderSpacing.Left = 16
Caption = 'Supports'
ChildSizing.LeftRightSpacing = 6
ChildSizing.TopBottomSpacing = 6
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
ChildSizing.EnlargeVertical = crsHomogenousChildResize
ChildSizing.ShrinkHorizontal = crsScaleChilds
ChildSizing.ShrinkVertical = crsScaleChilds
ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 1
ClientHeight = 120
ClientWidth = 153
Items.Strings = (
'Rome'
'BI'
'Alex'
)
TabOrder = 3
Data = {
03000000030202
}
end
object cgTags: TCheckGroup
AnchorSideLeft.Control = btnClearImage
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = cgSupports
AnchorSideBottom.Control = btnGenerate
AnchorSideBottom.Side = asrBottom
Left = 848
Height = 768
Top = 16
Width = 222
Anchors = [akTop, akLeft, akBottom]
AutoFill = True
AutoSize = True
BorderSpacing.Left = 16
Caption = 'Tags'
ChildSizing.LeftRightSpacing = 6
ChildSizing.TopBottomSpacing = 6
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
ChildSizing.EnlargeVertical = crsHomogenousChildResize
ChildSizing.ShrinkHorizontal = crsScaleChilds
ChildSizing.ShrinkVertical = crsScaleChilds
ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 1
ClientHeight = 731
ClientWidth = 218
Items.Strings = (
'Audio'
'Balance'
'Buildings'
'Battle'
'Campaign'
'Diplomacy'
'Economy'
'Event'
'Faction'
'Fantasy'
'Gameplay Logic'
'Graphics'
'Portraits'
'Historic Accuracy'
'Humour'
'Map'
'Total Overhaul'
'Traits/Retinues'
'UI'
'Units'
)
TabOrder = 6
Data = {
140000000202020202020202020202020202020202020202
}
end
object dlgImage: TOpenDialog
Filter = 'Images|*.png;*.jpg;*.jpeg'
Left = 560
Top = 328
end
object mnuMain: TMainMenu
Left = 560
Top = 464
object mnuMainAbout: TMenuItem
Caption = 'About'
OnClick = mnuMainAboutClick
end
end
end