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 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 <    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 = 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 BMP ...'
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]
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]
174 >  object saved: TSaveDialog
175      DefaultExt = 'bmp'
176      Filter =
177 <      'All supported files (*.bmp, *.dds)|*.bmp;*.dds|Windows Bitmap (*' +
178 <      '.bmp)|*.bmp|DirectDraw Surface (*.dds)|*.dds|Targa (*.tga)|*.tga' +
179 <      '|JPEG (*.jpg, *.jpeg)|*.jpg;*.jpeg|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)