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 194 by alloc, Sat May 26 18:26:48 2007 UTC vs.
Revision 255 by alloc, Tue Dec 18 20:48:24 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 = 413
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 = 413
19 >      inherited FilePages: TPageControl
20 >        Height = 412
21 >        Constraints.MinHeight = 250
22 >        ExplicitHeight = 412
23 >        inherited tab_files: TTabSheet
24 >          ExplicitHeight = 384
25 >          inherited filelist: TListBox
26 >            Height = 259
27 >            ExplicitHeight = 259
28 >          end
29 >        end
30 >        inherited tab_meta: TTabSheet
31 >          ExplicitLeft = 4
32 >          ExplicitTop = 24
33 >          ExplicitWidth = 190
34 >          ExplicitHeight = 384
35 >          inherited filelist_meta: TVirtualStringTree
36 >            Height = 384
37 >            ExplicitHeight = 384
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 = 413
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 >        object btn_replace: TButton
68 >          Left = 4
69 >          Top = 50
70 >          Width = 157
71 >          Height = 25
72 >          Caption = 'Replace'
73 >          TabOrder = 0
74 >          OnClick = btn_replaceClick
75 >        end
76 >        object check_transparency: TCheckBox
77 >          Left = 8
78 >          Top = 16
79 >          Width = 105
80 >          Height = 17
81 >          Caption = 'Transparency'
82 >          Enabled = False
83 >          TabOrder = 1
84 >        end
85 >        object check_fading: TCheckBox
86 >          Left = 8
87 >          Top = 32
88 >          Width = 105
89 >          Height = 17
90 >          Caption = 'MIP Mapping'
91 >          TabOrder = 2
92 >        end
93        end
94 <      object panel_load: TPanel
95 <        Left = 2
96 <        Top = 15
97 <        Width = 279
98 <        Height = 30
94 >      object group_txmp: TGroupBox
95 >        Left = 0
96 >        Top = 0
97 >        Width = 390
98 >        Height = 200
99          Align = alTop
100 <        BevelOuter = bvNone
101 <        TabOrder = 0
102 <        object btn_load: TButton
100 >        Caption = '1. Select a TXMP to be replaced'
101 >        TabOrder = 1
102 >        object image_txmppreview: TImage
103            Left = 2
104 <          Top = 2
105 <          Width = 121
106 <          Height = 25
107 <          Caption = 'Load image...'
104 >          Top = 15
105 >          Width = 386
106 >          Height = 153
107 >          Align = alClient
108 >          ExplicitLeft = 0
109 >          ExplicitTop = 111
110 >          ExplicitWidth = 200
111 >          ExplicitHeight = 211
112 >        end
113 >        object panel_txmppreview: TPanel
114 >          Left = 2
115 >          Top = 168
116 >          Width = 386
117 >          Height = 30
118 >          Align = alBottom
119 >          BevelOuter = bvNone
120            TabOrder = 0
121 <          OnClick = btn_loadClick
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 = 208
135 >        Width = 390
136 >        Height = 126
137 >        Align = alClient
138 >        Caption = '2. Open BMP to replace with'
139 >        Enabled = False
140 >        TabOrder = 2
141 >        object image_bmppreview: TImage
142 >          AlignWithMargins = True
143 >          Left = 5
144 >          Top = 48
145 >          Width = 380
146 >          Height = 73
147 >          Align = alClient
148 >          ExplicitLeft = 2
149 >          ExplicitTop = 45
150 >          ExplicitWidth = 182
151 >          ExplicitHeight = 302
152 >        end
153 >        object panel_load: TPanel
154 >          Left = 2
155 >          Top = 15
156 >          Width = 386
157 >          Height = 30
158 >          Align = alTop
159 >          BevelOuter = bvNone
160 >          TabOrder = 0
161 >          object btn_load: TButton
162 >            Left = 2
163 >            Top = 2
164 >            Width = 121
165 >            Height = 25
166 >            Caption = 'Load image...'
167 >            TabOrder = 0
168 >            OnClick = btn_loadClick
169 >          end
170          end
171        end
172      end
173    end
174 <  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 <      TabOrder = 1
139 <    end
140 <    object check_fading: TCheckBox
141 <      Left = 8
142 <      Top = 32
143 <      Width = 105
144 <      Height = 17
145 <      Caption = 'MIP Mapping'
146 <      TabOrder = 2
147 <    end
148 <  end
149 <  object opend: TOpenDialog [4]
150 <    Options = [ofPathMustExist, ofFileMustExist, ofEnableSizing]
151 <    Left = 352
152 <    Top = 16
153 <  end
154 <  object saved: TSaveDialog [5]
174 >  object saved: TSaveDialog
175      DefaultExt = 'bmp'
176      Filter =
177 <      'All supported files (*.bmp, *.dds, *.tga, *.jpg, *.jpeg)|*.bmp;*' +
178 <      '.dds;*.tga;*.jpg;*.jpeg;*.png|Windows Bitmap (*.bmp)|*.bmp|Direc' +
179 <      'tDraw Surface (*.dds)|*.dds|Targa (*.tga)|*.tga|JPEG (*.jpg, *.j' +
180 <      'peg)|*.jpg;*.jpeg|PNG (*.png)|*.png|All files (*.*)|*'
177 >      'All supported files (*.bmp, *.dds, *.tga, *.jpg, *.jpeg, *.png)|' +
178 >      '*.bmp;*.dds;*.tga;*.jpg;*.jpeg;*.png|Windows Bitmap (*.bmp)|*.bm' +
179 >      'p|DirectDraw Surface (*.dds)|*.dds|Targa (*.tga)|*.tga|JPEG (*.j' +
180 >      'pg, *.jpeg)|*.jpg;*.jpeg|PNG (*.png)|*.png|All files (*.*)|*'
181      Options = [ofOverwritePrompt, ofHideReadOnly, ofPathMustExist, ofEnableSizing]
182 <    Left = 104
183 <    Top = 320
182 >    Left = 352
183 >    Top = 196
184 >  end
185 >  object opend: TOpenDialog
186 >    Options = [ofPathMustExist, ofFileMustExist, ofEnableSizing]
187 >    Left = 352
188 >    Top = 248
189    end
190   end

Diff Legend

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