1 |
|
inherited Form_TxmpReplace: TForm_TxmpReplace |
2 |
< |
Caption = 'TxmpReplace' |
2 |
> |
Caption = 'Form_TxmpReplace' |
3 |
> |
ClientHeight = 573 |
4 |
|
OnCreate = FormCreate |
5 |
< |
ExplicitWidth = 500 |
5 |
< |
ExplicitHeight = 450 |
5 |
> |
ExplicitHeight = 600 |
6 |
|
PixelsPerInch = 96 |
7 |
|
TextHeight = 13 |
8 |
< |
inherited Splitter1: TSplitter |
9 |
< |
Height = 344 |
10 |
< |
OnMoved = Splitter1Moved |
11 |
< |
ExplicitHeight = 344 |
12 |
< |
end |
13 |
< |
inherited panel_files: TPanel |
14 |
< |
Height = 344 |
15 |
< |
ExplicitHeight = 344 |
16 |
< |
object image_txmppreview: TImage [0] |
17 |
< |
Left = 0 |
18 |
< |
Top = 307 |
19 |
< |
Width = 200 |
20 |
< |
Height = 7 |
21 |
< |
Align = alClient |
22 |
< |
ExplicitTop = 111 |
23 |
< |
ExplicitHeight = 211 |
24 |
< |
end |
25 |
< |
object splitter_txmp: TSplitter [1] |
26 |
< |
Left = 0 |
27 |
< |
Top = 299 |
28 |
< |
Width = 200 |
29 |
< |
Height = 8 |
30 |
< |
Cursor = crVSplit |
31 |
< |
Align = alTop |
32 |
< |
AutoSnap = False |
33 |
< |
Beveled = True |
34 |
< |
MinSize = 60 |
35 |
< |
ExplicitLeft = -6 |
36 |
< |
ExplicitTop = 314 |
37 |
< |
end |
38 |
< |
inherited filelist: TListBox |
39 |
< |
Height = 146 |
40 |
< |
Align = alTop |
41 |
< |
ExplicitHeight = 146 |
42 |
< |
end |
43 |
< |
inherited panel_extension: TPanel |
44 |
< |
inherited label_ext: TLabel |
45 |
< |
Visible = False |
46 |
< |
end |
47 |
< |
inherited combo_extension: TComboBox |
48 |
< |
Visible = False |
49 |
< |
end |
50 |
< |
inherited check_zerobyte: TCheckBox |
51 |
< |
Visible = False |
8 |
> |
inherited panel_basecontent: TPanel |
9 |
> |
Height = 548 |
10 |
> |
inherited splitter_content: TSplitter |
11 |
> |
Height = 548 |
12 |
> |
OnMoved = Splitter1Moved |
13 |
> |
end |
14 |
> |
inherited panel_files: TPanel |
15 |
> |
Height = 548 |
16 |
> |
inherited FilePages: TPageControl |
17 |
> |
Height = 547 |
18 |
> |
Constraints.MinHeight = 250 |
19 |
> |
ExplicitHeight = 280 |
20 |
> |
inherited tab_files: TTabSheet |
21 |
> |
inherited panel_extension: TPanel |
22 |
> |
inherited edit_filtername: TEdit |
23 |
> |
ExplicitWidth = 189 |
24 |
> |
end |
25 |
> |
end |
26 |
> |
inherited filelist: TListBox |
27 |
> |
Height = 394 |
28 |
> |
end |
29 |
> |
end |
30 |
> |
inherited tab_meta: TTabSheet |
31 |
> |
ExplicitLeft = 4 |
32 |
> |
ExplicitTop = 24 |
33 |
> |
ExplicitWidth = 190 |
34 |
> |
ExplicitHeight = 424 |
35 |
> |
end |
36 |
|
end |
37 |
|
end |
38 |
< |
object panel_txmppreview: TPanel |
39 |
< |
Left = 0 |
40 |
< |
Top = 314 |
41 |
< |
Width = 200 |
42 |
< |
Height = 30 |
43 |
< |
Align = alBottom |
44 |
< |
BevelOuter = bvNone |
45 |
< |
TabOrder = 2 |
46 |
< |
object btn_save: TButton |
47 |
< |
Left = 2 |
48 |
< |
Top = 2 |
49 |
< |
Width = 111 |
50 |
< |
Height = 25 |
51 |
< |
Caption = 'Save TXMP-Picture' |
38 |
> |
inherited panel_content: TPanel |
39 |
> |
Height = 548 |
40 |
> |
object Splitter1: TSplitter |
41 |
> |
Left = 0 |
42 |
> |
Top = 220 |
43 |
> |
Width = 390 |
44 |
> |
Height = 8 |
45 |
> |
Cursor = crVSplit |
46 |
> |
Align = alTop |
47 |
> |
AutoSnap = False |
48 |
> |
Beveled = True |
49 |
> |
MinSize = 75 |
50 |
> |
OnMoved = Splitter1Moved |
51 |
> |
ExplicitTop = 105 |
52 |
> |
end |
53 |
> |
object group_options: TGroupBox |
54 |
> |
Left = 0 |
55 |
> |
Top = 469 |
56 |
> |
Width = 390 |
57 |
> |
Height = 79 |
58 |
> |
Align = alBottom |
59 |
> |
Caption = '3. Options && Replace' |
60 |
> |
Enabled = False |
61 |
|
TabOrder = 0 |
62 |
< |
OnClick = btn_saveClick |
63 |
< |
end |
64 |
< |
end |
65 |
< |
end |
66 |
< |
inherited content: TPanel |
67 |
< |
Height = 344 |
68 |
< |
ExplicitHeight = 344 |
69 |
< |
object group_bmpselect: TGroupBox |
70 |
< |
Left = 0 |
71 |
< |
Top = 0 |
72 |
< |
Width = 283 |
73 |
< |
Height = 344 |
74 |
< |
Align = alClient |
75 |
< |
Caption = '2. Open BMP to replace with' |
76 |
< |
Enabled = False |
77 |
< |
TabOrder = 0 |
78 |
< |
object image_bmppreview: TImage |
79 |
< |
AlignWithMargins = True |
80 |
< |
Left = 5 |
81 |
< |
Top = 48 |
82 |
< |
Width = 273 |
83 |
< |
Height = 291 |
84 |
< |
Align = alClient |
85 |
< |
ExplicitLeft = 2 |
86 |
< |
ExplicitTop = 45 |
87 |
< |
ExplicitWidth = 182 |
88 |
< |
ExplicitHeight = 302 |
62 |
> |
ExplicitTop = 441 |
63 |
> |
ExplicitWidth = 492 |
64 |
> |
object btn_replace: TButton |
65 |
> |
Left = 4 |
66 |
> |
Top = 50 |
67 |
> |
Width = 157 |
68 |
> |
Height = 25 |
69 |
> |
Caption = 'Replace' |
70 |
> |
TabOrder = 0 |
71 |
> |
OnClick = btn_replaceClick |
72 |
> |
end |
73 |
> |
object check_transparency: TCheckBox |
74 |
> |
Left = 8 |
75 |
> |
Top = 16 |
76 |
> |
Width = 105 |
77 |
> |
Height = 17 |
78 |
> |
Caption = 'Transparency' |
79 |
> |
Enabled = False |
80 |
> |
TabOrder = 1 |
81 |
> |
end |
82 |
> |
object check_fading: TCheckBox |
83 |
> |
Left = 8 |
84 |
> |
Top = 32 |
85 |
> |
Width = 105 |
86 |
> |
Height = 17 |
87 |
> |
Caption = 'MIP Mapping' |
88 |
> |
TabOrder = 2 |
89 |
> |
end |
90 |
|
end |
91 |
< |
object panel_load: TPanel |
92 |
< |
Left = 2 |
93 |
< |
Top = 15 |
94 |
< |
Width = 279 |
95 |
< |
Height = 30 |
91 |
> |
object GroupBox1: TGroupBox |
92 |
> |
Left = 0 |
93 |
> |
Top = 0 |
94 |
> |
Width = 390 |
95 |
> |
Height = 220 |
96 |
|
Align = alTop |
97 |
< |
BevelOuter = bvNone |
98 |
< |
TabOrder = 0 |
99 |
< |
object btn_load: TButton |
97 |
> |
Caption = '1. Select a TXMP to be replaced' |
98 |
> |
TabOrder = 1 |
99 |
> |
object image_txmppreview: TImage |
100 |
|
Left = 2 |
101 |
< |
Top = 2 |
102 |
< |
Width = 121 |
103 |
< |
Height = 25 |
104 |
< |
Caption = 'Load image...' |
101 |
> |
Top = 15 |
102 |
> |
Width = 386 |
103 |
> |
Height = 173 |
104 |
> |
Align = alClient |
105 |
> |
ExplicitLeft = 0 |
106 |
> |
ExplicitTop = 111 |
107 |
> |
ExplicitWidth = 200 |
108 |
> |
ExplicitHeight = 211 |
109 |
> |
end |
110 |
> |
object panel_txmppreview: TPanel |
111 |
> |
Left = 2 |
112 |
> |
Top = 188 |
113 |
> |
Width = 386 |
114 |
> |
Height = 30 |
115 |
> |
Align = alBottom |
116 |
> |
BevelOuter = bvNone |
117 |
|
TabOrder = 0 |
118 |
< |
OnClick = btn_loadClick |
118 |
> |
ExplicitLeft = 0 |
119 |
> |
ExplicitTop = 411 |
120 |
> |
ExplicitWidth = 200 |
121 |
> |
object btn_save: TButton |
122 |
> |
Left = 2 |
123 |
> |
Top = 2 |
124 |
> |
Width = 121 |
125 |
> |
Height = 25 |
126 |
> |
Caption = 'Save TXMP-Picture ...' |
127 |
> |
TabOrder = 0 |
128 |
> |
OnClick = btn_saveClick |
129 |
> |
end |
130 |
> |
end |
131 |
> |
end |
132 |
> |
object group_bmpselect: TGroupBox |
133 |
> |
Left = 0 |
134 |
> |
Top = 228 |
135 |
> |
Width = 390 |
136 |
> |
Height = 241 |
137 |
> |
Align = alClient |
138 |
> |
Caption = '2. Open BMP to replace with' |
139 |
> |
Enabled = False |
140 |
> |
TabOrder = 2 |
141 |
> |
ExplicitTop = 0 |
142 |
> |
ExplicitWidth = 283 |
143 |
> |
ExplicitHeight = 441 |
144 |
> |
object image_bmppreview: TImage |
145 |
> |
AlignWithMargins = True |
146 |
> |
Left = 5 |
147 |
> |
Top = 48 |
148 |
> |
Width = 380 |
149 |
> |
Height = 188 |
150 |
> |
Align = alClient |
151 |
> |
ExplicitLeft = 2 |
152 |
> |
ExplicitTop = 45 |
153 |
> |
ExplicitWidth = 182 |
154 |
> |
ExplicitHeight = 302 |
155 |
> |
end |
156 |
> |
object panel_load: TPanel |
157 |
> |
Left = 2 |
158 |
> |
Top = 15 |
159 |
> |
Width = 386 |
160 |
> |
Height = 30 |
161 |
> |
Align = alTop |
162 |
> |
BevelOuter = bvNone |
163 |
> |
TabOrder = 0 |
164 |
> |
object btn_load: TButton |
165 |
> |
Left = 2 |
166 |
> |
Top = 2 |
167 |
> |
Width = 121 |
168 |
> |
Height = 25 |
169 |
> |
Caption = 'Load image...' |
170 |
> |
TabOrder = 0 |
171 |
> |
OnClick = btn_loadClick |
172 |
> |
end |
173 |
|
end |
174 |
|
end |
175 |
|
end |
176 |
|
end |
177 |
< |
object group_options: TGroupBox [3] |
118 |
< |
Left = 0 |
119 |
< |
Top = 344 |
120 |
< |
Width = 492 |
121 |
< |
Height = 79 |
122 |
< |
Align = alBottom |
123 |
< |
Caption = '3. Options && Replace' |
124 |
< |
Enabled = False |
125 |
< |
TabOrder = 2 |
126 |
< |
object btn_replace: TButton |
127 |
< |
Left = 4 |
128 |
< |
Top = 50 |
129 |
< |
Width = 157 |
130 |
< |
Height = 25 |
131 |
< |
Caption = 'Replace' |
132 |
< |
TabOrder = 0 |
133 |
< |
OnClick = btn_replaceClick |
134 |
< |
end |
135 |
< |
object check_transparency: TCheckBox |
136 |
< |
Left = 8 |
137 |
< |
Top = 16 |
138 |
< |
Width = 105 |
139 |
< |
Height = 17 |
140 |
< |
Caption = 'Transparency' |
141 |
< |
Enabled = False |
142 |
< |
TabOrder = 1 |
143 |
< |
end |
144 |
< |
object check_fading: TCheckBox |
145 |
< |
Left = 8 |
146 |
< |
Top = 32 |
147 |
< |
Width = 105 |
148 |
< |
Height = 17 |
149 |
< |
Caption = 'MIP Mapping' |
150 |
< |
TabOrder = 2 |
151 |
< |
end |
152 |
< |
end |
153 |
< |
object opend: TOpenDialog [4] |
154 |
< |
Options = [ofPathMustExist, ofFileMustExist, ofEnableSizing] |
155 |
< |
Left = 352 |
156 |
< |
Top = 16 |
157 |
< |
end |
158 |
< |
object saved: TSaveDialog [5] |
177 |
> |
object saved: TSaveDialog |
178 |
|
DefaultExt = 'bmp' |
179 |
|
Filter = |
180 |
|
'All supported files (*.bmp, *.dds, *.tga, *.jpg, *.jpeg, *.png)|' + |
182 |
|
'p|DirectDraw Surface (*.dds)|*.dds|Targa (*.tga)|*.tga|JPEG (*.j' + |
183 |
|
'pg, *.jpeg)|*.jpg;*.jpeg|PNG (*.png)|*.png|All files (*.*)|*' |
184 |
|
Options = [ofOverwritePrompt, ofHideReadOnly, ofPathMustExist, ofEnableSizing] |
185 |
< |
Left = 104 |
186 |
< |
Top = 320 |
185 |
> |
Left = 352 |
186 |
> |
Top = 212 |
187 |
> |
end |
188 |
> |
object opend: TOpenDialog |
189 |
> |
Options = [ofPathMustExist, ofFileMustExist, ofEnableSizing] |
190 |
> |
Left = 352 |
191 |
> |
Top = 264 |
192 |
|
end |
193 |
|
end |