--- oup/current/Tools/TxmpReplace.dfm 2007/05/26 18:31:36 195 +++ oup/current/Tools/TxmpReplace.dfm 2007/06/18 14:49:24 224 @@ -1,166 +1,193 @@ inherited Form_TxmpReplace: TForm_TxmpReplace - Caption = 'TxmpReplace' + Caption = 'Form_TxmpReplace' + ClientHeight = 573 OnCreate = FormCreate - ExplicitWidth = 500 - ExplicitHeight = 450 + ExplicitHeight = 600 PixelsPerInch = 96 TextHeight = 13 - inherited Splitter1: TSplitter - Height = 344 - OnMoved = Splitter1Moved - ExplicitHeight = 344 - end - inherited panel_files: TPanel - Height = 344 - ExplicitHeight = 344 - object image_txmppreview: TImage [0] - Left = 0 - Top = 307 - Width = 200 - Height = 7 - Align = alClient - ExplicitTop = 111 - ExplicitHeight = 211 - end - object splitter_txmp: TSplitter [1] - Left = 0 - Top = 299 - Width = 200 - Height = 8 - Cursor = crVSplit - Align = alTop - AutoSnap = False - Beveled = True - MinSize = 60 - ExplicitLeft = -6 - ExplicitTop = 314 - end - inherited filelist: TListBox - Height = 146 - Align = alTop - ExplicitHeight = 146 - end - inherited panel_extension: TPanel - inherited label_ext: TLabel - Visible = False - end - inherited combo_extension: TComboBox - Visible = False - end - inherited check_zerobyte: TCheckBox - Visible = False + inherited panel_basecontent: TPanel + Height = 548 + inherited splitter_content: TSplitter + Height = 548 + OnMoved = Splitter1Moved + end + inherited panel_files: TPanel + Height = 548 + inherited FilePages: TPageControl + Height = 547 + Constraints.MinHeight = 250 + ExplicitHeight = 280 + inherited tab_files: TTabSheet + inherited panel_extension: TPanel + inherited edit_filtername: TEdit + ExplicitWidth = 189 + end + end + inherited filelist: TListBox + Height = 394 + end + end + inherited tab_meta: TTabSheet + ExplicitLeft = 4 + ExplicitTop = 24 + ExplicitWidth = 190 + ExplicitHeight = 424 + end end end - object panel_txmppreview: TPanel - Left = 0 - Top = 314 - Width = 200 - Height = 30 - Align = alBottom - BevelOuter = bvNone - TabOrder = 2 - object btn_save: TButton - Left = 2 - Top = 2 - Width = 111 - Height = 25 - Caption = 'Save TXMP-Picture' + inherited panel_content: TPanel + Height = 548 + object Splitter1: TSplitter + Left = 0 + Top = 220 + Width = 390 + Height = 8 + Cursor = crVSplit + Align = alTop + AutoSnap = False + Beveled = True + MinSize = 75 + OnMoved = Splitter1Moved + ExplicitTop = 105 + end + object group_options: TGroupBox + Left = 0 + Top = 469 + Width = 390 + Height = 79 + Align = alBottom + Caption = '3. Options && Replace' + Enabled = False TabOrder = 0 - OnClick = btn_saveClick - end - end - end - inherited content: TPanel - Height = 344 - ExplicitHeight = 344 - object group_bmpselect: TGroupBox - Left = 0 - Top = 0 - Width = 283 - Height = 344 - Align = alClient - Caption = '2. Open BMP to replace with' - Enabled = False - TabOrder = 0 - object image_bmppreview: TImage - Left = 2 - Top = 45 - Width = 279 - Height = 297 - Align = alClient - ExplicitWidth = 182 - ExplicitHeight = 302 + ExplicitTop = 441 + ExplicitWidth = 492 + object btn_replace: TButton + Left = 4 + Top = 50 + Width = 157 + Height = 25 + Caption = 'Replace' + TabOrder = 0 + OnClick = btn_replaceClick + end + object check_transparency: TCheckBox + Left = 8 + Top = 16 + Width = 105 + Height = 17 + Caption = 'Transparency' + Enabled = False + TabOrder = 1 + end + object check_fading: TCheckBox + Left = 8 + Top = 32 + Width = 105 + Height = 17 + Caption = 'MIP Mapping' + TabOrder = 2 + end end - object panel_load: TPanel - Left = 2 - Top = 15 - Width = 279 - Height = 30 + object GroupBox1: TGroupBox + Left = 0 + Top = 0 + Width = 390 + Height = 220 Align = alTop - BevelOuter = bvNone - TabOrder = 0 - object btn_load: TButton + Caption = '1. Select a TXMP to be replaced' + TabOrder = 1 + object image_txmppreview: TImage Left = 2 - Top = 2 - Width = 121 - Height = 25 - Caption = 'Load image...' + Top = 15 + Width = 386 + Height = 173 + Align = alClient + ExplicitLeft = 0 + ExplicitTop = 111 + ExplicitWidth = 200 + ExplicitHeight = 211 + end + object panel_txmppreview: TPanel + Left = 2 + Top = 188 + Width = 386 + Height = 30 + Align = alBottom + BevelOuter = bvNone TabOrder = 0 - OnClick = btn_loadClick + ExplicitLeft = 0 + ExplicitTop = 411 + ExplicitWidth = 200 + object btn_save: TButton + Left = 2 + Top = 2 + Width = 121 + Height = 25 + Caption = 'Save TXMP-Picture ...' + TabOrder = 0 + OnClick = btn_saveClick + end + end + end + object group_bmpselect: TGroupBox + Left = 0 + Top = 228 + Width = 390 + Height = 241 + Align = alClient + Caption = '2. Open BMP to replace with' + Enabled = False + TabOrder = 2 + ExplicitTop = 0 + ExplicitWidth = 283 + ExplicitHeight = 441 + object image_bmppreview: TImage + AlignWithMargins = True + Left = 5 + Top = 48 + Width = 380 + Height = 188 + Align = alClient + ExplicitLeft = 2 + ExplicitTop = 45 + ExplicitWidth = 182 + ExplicitHeight = 302 + end + object panel_load: TPanel + Left = 2 + Top = 15 + Width = 386 + Height = 30 + Align = alTop + BevelOuter = bvNone + TabOrder = 0 + object btn_load: TButton + Left = 2 + Top = 2 + Width = 121 + Height = 25 + Caption = 'Load image...' + TabOrder = 0 + OnClick = btn_loadClick + end end end end end - object group_options: TGroupBox [3] - Left = 0 - Top = 344 - Width = 492 - Height = 79 - Align = alBottom - Caption = '3. Options && Replace' - Enabled = False - TabOrder = 2 - object btn_replace: TButton - Left = 4 - Top = 50 - Width = 157 - Height = 25 - Caption = 'Replace' - TabOrder = 0 - OnClick = btn_replaceClick - end - object check_transparency: TCheckBox - Left = 8 - Top = 16 - Width = 105 - Height = 17 - Caption = 'Transparency' - Enabled = False - TabOrder = 1 - end - object check_fading: TCheckBox - Left = 8 - Top = 32 - Width = 105 - Height = 17 - Caption = 'MIP Mapping' - TabOrder = 2 - end - end - object opend: TOpenDialog [4] - Options = [ofPathMustExist, ofFileMustExist, ofEnableSizing] - Left = 352 - Top = 16 - end - object saved: TSaveDialog [5] + object saved: TSaveDialog DefaultExt = 'bmp' Filter = - 'All supported files (*.bmp, *.dds, *.tga, *.jpg, *.jpeg)|*.bmp;*' + - '.dds;*.tga;*.jpg;*.jpeg;*.png|Windows Bitmap (*.bmp)|*.bmp|Direc' + - 'tDraw Surface (*.dds)|*.dds|Targa (*.tga)|*.tga|JPEG (*.jpg, *.j' + - 'peg)|*.jpg;*.jpeg|PNG (*.png)|*.png|All files (*.*)|*' + 'All supported files (*.bmp, *.dds, *.tga, *.jpg, *.jpeg, *.png)|' + + '*.bmp;*.dds;*.tga;*.jpg;*.jpeg;*.png|Windows Bitmap (*.bmp)|*.bm' + + 'p|DirectDraw Surface (*.dds)|*.dds|Targa (*.tga)|*.tga|JPEG (*.j' + + 'pg, *.jpeg)|*.jpg;*.jpeg|PNG (*.png)|*.png|All files (*.*)|*' Options = [ofOverwritePrompt, ofHideReadOnly, ofPathMustExist, ofEnableSizing] - Left = 104 - Top = 320 + Left = 352 + Top = 212 + end + object opend: TOpenDialog + Options = [ofPathMustExist, ofFileMustExist, ofEnableSizing] + Left = 352 + Top = 264 end end