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 196 by alloc, Sat May 26 18:35:24 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 <    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 = 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 image...'
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]
115 <    Left = 0
116 <    Top = 344
117 <    Width = 492
118 <    Height = 79
119 <    Align = alBottom
120 <    Caption = '3. Options && Replace'
121 <    Enabled = False
122 <    TabOrder = 2
123 <    object btn_replace: TButton
124 <      Left = 4
125 <      Top = 50
126 <      Width = 157
127 <      Height = 25
128 <      Caption = 'Replace'
129 <      TabOrder = 0
130 <      OnClick = btn_replaceClick
131 <    end
132 <    object check_transparency: TCheckBox
133 <      Left = 8
134 <      Top = 16
135 <      Width = 105
136 <      Height = 17
137 <      Caption = 'Transparency'
138 <      Enabled = False
139 <      TabOrder = 1
140 <    end
141 <    object check_fading: TCheckBox
142 <      Left = 8
143 <      Top = 32
144 <      Width = 105
145 <      Height = 17
146 <      Caption = 'MIP Mapping'
147 <      TabOrder = 2
148 <    end
149 <  end
150 <  object opend: TOpenDialog [4]
151 <    Options = [ofPathMustExist, ofFileMustExist, ofEnableSizing]
152 <    Left = 352
153 <    Top = 16
154 <  end
155 <  object saved: TSaveDialog [5]
178 >  object saved: TSaveDialog
179      DefaultExt = 'bmp'
180      Filter =
181        'All supported files (*.bmp, *.dds, *.tga, *.jpg, *.jpeg, *.png)|' +
# Line 160 | Line 183 | inherited Form_TxmpReplace: TForm_TxmpRe
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)