-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.lfm
150 lines (150 loc) · 2.96 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
object frmMain: TfrmMain
Left = 569
Height = 194
Top = 250
Width = 840
ClientHeight = 194
ClientWidth = 840
DesignTimePPI = 144
OnCreate = FormCreate
LCLVersion = '2.2.4.0'
object btnDecompress: TButton
Left = 184
Height = 35
Top = 144
Width = 125
AutoSize = True
Caption = 'Decompress'
OnClick = btnDecompressClick
TabOrder = 0
end
object btnCompress: TButton
Left = 368
Height = 35
Top = 144
Width = 106
AutoSize = True
Caption = 'Compress'
OnClick = btnCompressClick
TabOrder = 1
end
object lblMessage: TLabel
Left = 0
Height = 1
Top = 0
Width = 1
ParentColor = False
Visible = False
end
object edtInDir: TEdit
Left = 144
Height = 33
Top = 13
Width = 368
OnChange = edtInDirChange
TabOrder = 2
end
object lblInDir: TLabel
Left = 16
Height = 25
Top = 13
Width = 97
Caption = 'Input Folder'
ParentColor = False
end
object lblOutDir: TLabel
Left = 16
Height = 25
Top = 56
Width = 112
Caption = 'Output Folder'
ParentColor = False
end
object edtOutDir: TEdit
Left = 144
Height = 33
Top = 56
Width = 368
OnChange = edtOutDirChange
TabOrder = 3
end
object btnBrowseInDir: TButton
Left = 528
Height = 35
Top = 13
Width = 83
AutoSize = True
Caption = 'Browse'
OnClick = btnBrowseInDirClick
TabOrder = 4
end
object btnBrowseOutDir: TButton
Left = 528
Height = 35
Top = 56
Width = 83
AutoSize = True
Caption = 'Browse'
OnClick = btnBrowseOutDirClick
TabOrder = 5
end
object rgCompressionType: TRadioGroup
Left = 648
Height = 76
Top = 13
Width = 179
AutoFill = True
Caption = 'Compression Type'
ChildSizing.LeftRightSpacing = 6
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
ChildSizing.EnlargeVertical = crsHomogenousChildResize
ChildSizing.ShrinkHorizontal = crsScaleChilds
ChildSizing.ShrinkVertical = crsScaleChilds
ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 2
ClientHeight = 46
ClientWidth = 175
Columns = 2
Items.Strings = (
'DXT5'
'DXT1'
)
OnSelectionChanged = rgCompressionTypeSelectionChanged
TabOrder = 6
end
object cbMipmaps: TCheckBox
Left = 648
Height = 29
Top = 96
Width = 180
Caption = 'Generate mipmaps'
OnChange = cbMipmapsChange
TabOrder = 7
end
object lblStatus: TLabel
Left = 16
Height = 25
Top = 96
Width = 85
Caption = 'Status: idle'
ParentColor = False
end
object btnAbout: TButton
Left = 751
Height = 35
Top = 144
Width = 76
AutoSize = True
Caption = 'About'
OnClick = btnAboutClick
TabOrder = 8
end
object dlgSelectInDir: TSelectDirectoryDialog
Left = 232
Top = 24
end
object dlgSelectOutDir: TSelectDirectoryDialog
Left = 384
Top = 24
end
end