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 109 by alloc, Wed Feb 21 03:12:33 2007 UTC vs.
Revision 224 by alloc, Mon Jun 18 14:49:24 2007 UTC

# Line 1 | Line 1
1   inherited Form_TxmpReplace: TForm_TxmpReplace
2 <  Caption = 'TxmpReplace'
2 >  Caption = 'Form_TxmpReplace'
3 >  ClientHeight = 573
4    OnCreate = FormCreate
5 +  ExplicitHeight = 600
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
34 <    end
35 <    inherited filelist: TListBox
36 <      Height = 146
37 <      Align = alTop
38 <      ExplicitHeight = 146
39 <    end
40 <    inherited panel_extension: TPanel
41 <      Visible = False
42 <    end
43 <    object panel_txmppreview: TPanel
44 <      Left = 0
45 <      Top = 314
46 <      Width = 200
47 <      Height = 30
48 <      Align = alBottom
49 <      BevelOuter = bvNone
50 <      TabOrder = 2
51 <      object btn_save: TButton
52 <        Left = 2
53 <        Top = 2
54 <        Width = 111
55 <        Height = 25
56 <        Caption = 'Save TXMP-Picture'
57 <        TabOrder = 0
58 <        OnClick = btn_saveClick
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 <  end
39 <  inherited content: TPanel
40 <    Height = 344
41 <    ExplicitHeight = 344
42 <    object group_bmpselect: TGroupBox
43 <      Left = 0
44 <      Top = 0
45 <      Width = 283
69 <      Height = 344
70 <      Align = alClient
71 <      Caption = '2. Open BMP to replace with'
72 <      Enabled = False
73 <      TabOrder = 0
74 <      object image_bmppreview: TImage
75 <        Left = 2
76 <        Top = 45
77 <        Width = 279
78 <        Height = 297
79 <        Align = alClient
80 <        ExplicitWidth = 182
81 <        ExplicitHeight = 302
82 <      end
83 <      object panel_load: TPanel
84 <        Left = 2
85 <        Top = 15
86 <        Width = 279
87 <        Height = 30
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 <        BevelOuter = bvNone
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 <        object btn_load: TButton
63 <          Left = 2
64 <          Top = 2
65 <          Width = 121
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 = 'Load BMP ...'
69 >          Caption = 'Replace'
70            TabOrder = 0
71 <          OnClick = btn_loadClick
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 GroupBox1: TGroupBox
92 >        Left = 0
93 >        Top = 0
94 >        Width = 390
95 >        Height = 220
96 >        Align = alTop
97 >        Caption = '1. Select a TXMP to be replaced'
98 >        TabOrder = 1
99 >        object image_txmppreview: TImage
100 >          Left = 2
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 >          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]
178 <    Left = 0
179 <    Top = 344
180 <    Width = 492
181 <    Height = 79
182 <    Align = alBottom
183 <    Caption = '3. Options && Replace'
184 <    Enabled = False
185 <    TabOrder = 2
186 <    object btn_replace: TButton
113 <      Left = 4
114 <      Top = 50
115 <      Width = 157
116 <      Height = 25
117 <      Caption = 'Replace'
118 <      TabOrder = 0
119 <      OnClick = btn_replaceClick
120 <    end
121 <    object check_transparency: TCheckBox
122 <      Left = 8
123 <      Top = 16
124 <      Width = 105
125 <      Height = 17
126 <      Caption = 'Transparency'
127 <      TabOrder = 1
128 <    end
129 <    object check_fading: TCheckBox
130 <      Left = 8
131 <      Top = 32
132 <      Width = 105
133 <      Height = 17
134 <      Caption = 'MIP Mapping'
135 <      TabOrder = 2
136 <    end
177 >  object saved: TSaveDialog
178 >    DefaultExt = 'bmp'
179 >    Filter =
180 >      'All supported files (*.bmp, *.dds, *.tga, *.jpg, *.jpeg, *.png)|' +
181 >      '*.bmp;*.dds;*.tga;*.jpg;*.jpeg;*.png|Windows Bitmap (*.bmp)|*.bm' +
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 = 352
186 >    Top = 212
187    end
188 <  object opend: TOpenDialog [4]
139 <    Filter = '24bit Bitmap (*.bmp)|*.bmp'
188 >  object opend: TOpenDialog
189      Options = [ofPathMustExist, ofFileMustExist, ofEnableSizing]
190      Left = 352
191 <    Top = 16
143 <  end
144 <  object saved: TSaveDialog [5]
145 <    DefaultExt = 'bmp'
146 <    Filter = 'Windows Bitmap (*.bmp)|*.bmp'
147 <    Options = [ofOverwritePrompt, ofHideReadOnly, ofPathMustExist, ofEnableSizing]
148 <    Left = 104
149 <    Top = 320
191 >    Top = 264
192    end
193   end

Diff Legend

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