ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/oup/current/Tools/TxmpReplace.dfm
(Generate patch)

Comparing oup/current/Tools/TxmpReplace.dfm (file contents):
Revision 192 by alloc, Thu May 24 17:48:18 2007 UTC vs.
Revision 232 by alloc, Thu Jun 28 09:24:08 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)