ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/oup/current/Tools/BinEdit.dfm
(Generate patch)

Comparing oup/current/Tools/BinEdit.dfm (file contents):
Revision 179 by alloc, Sun May 13 22:18:18 2007 UTC vs.
Revision 241 by alloc, Tue Jul 17 22:27:16 2007 UTC

# Line 1 | Line 1
1   inherited Form_BinEdit: TForm_BinEdit
2 <  Caption = 'BinEdit'
3 <  KeyPreview = True
2 >  Caption = 'Form_BinEdit'
3    OnCloseQuery = FormCloseQuery
4    OnCreate = FormCreate
5    OnKeyUp = FormKeyUp
7  ExplicitWidth = 500
8  ExplicitHeight = 450
6    PixelsPerInch = 96
7    TextHeight = 13
8 <  inherited panel_files: TPanel
9 <    inherited filelist: TListBox
10 <      Height = 210
8 >  inherited panel_basecontent: TPanel
9 >    inherited panel_files: TPanel
10 >      inherited FilePages: TPageControl
11 >        Height = 471
12 >        ExplicitHeight = 471
13 >        inherited tab_files: TTabSheet
14 >          ExplicitHeight = 443
15 >          inherited filelist: TListBox
16 >            Height = 318
17 >            ExplicitHeight = 318
18 >          end
19 >        end
20 >        inherited tab_meta: TTabSheet
21 >          inherited filelist_meta: TVirtualStringTree
22 >            Height = 443
23 >          end
24 >        end
25 >      end
26 >      object panel_imexport: TPanel
27 >        Left = 0
28 >        Top = 472
29 >        Width = 200
30 >        Height = 60
31 >        Align = alBottom
32 >        BevelOuter = bvNone
33 >        TabOrder = 1
34 >        DesignSize = (
35 >          200
36 >          60)
37 >        object btn_export: TButton
38 >          Left = 4
39 >          Top = 4
40 >          Width = 190
41 >          Height = 25
42 >          Anchors = [akLeft, akTop, akRight]
43 >          Caption = 'Export to file...'
44 >          TabOrder = 0
45 >        end
46 >        object btn_import: TButton
47 >          Left = 4
48 >          Top = 32
49 >          Width = 190
50 >          Height = 25
51 >          Anchors = [akLeft, akTop, akRight]
52 >          Caption = 'Import from file...'
53 >          TabOrder = 1
54 >        end
55 >      end
56      end
57 <    object panel_imexport: TPanel
58 <      Left = 0
59 <      Top = 363
60 <      Width = 200
61 <      Height = 60
62 <      Align = alBottom
63 <      BevelOuter = bvNone
64 <      TabOrder = 2
65 <      DesignSize = (
66 <        200
67 <        60)
68 <      object btn_export: TButton
69 <        Left = 4
70 <        Top = 4
71 <        Width = 190
72 <        Height = 25
73 <        Anchors = [akLeft, akTop, akRight]
74 <        Caption = 'Export to file...'
57 >    inherited panel_content: TPanel
58 >      object Splitter2: TSplitter
59 >        Left = 0
60 >        Top = 209
61 >        Width = 390
62 >        Height = 8
63 >        Cursor = crVSplit
64 >        Align = alTop
65 >        AutoSnap = False
66 >        Beveled = True
67 >        MinSize = 40
68 >      end
69 >      object Splitter3: TSplitter
70 >        Left = 0
71 >        Top = 427
72 >        Width = 390
73 >        Height = 8
74 >        Cursor = crVSplit
75 >        Align = alBottom
76 >        AutoSnap = False
77 >        Beveled = True
78 >        MinSize = 40
79 >        ExplicitTop = 435
80 >      end
81 >      object hex: TMPHexEditor
82 >        Left = 0
83 >        Top = 0
84 >        Width = 390
85 >        Height = 209
86 >        Cursor = crIBeam
87 >        Align = alTop
88 >        Font.Charset = DEFAULT_CHARSET
89 >        Font.Color = clWindowText
90 >        Font.Height = -16
91 >        Font.Name = 'Courier'
92 >        Font.Style = []
93 >        OnKeyUp = hexKeyUp
94 >        ParentFont = False
95          TabOrder = 0
96 <        OnClick = popup_exportClick
96 >        BytesPerRow = 16
97 >        Translation = tkASCII
98 >        OffsetFormat = '6!10:0x|'
99 >        Colors.Background = clWindow
100 >        Colors.ChangedBackground = clWindow
101 >        Colors.ChangedText = clRed
102 >        Colors.CursorFrame = clNavy
103 >        Colors.Offset = clBlack
104 >        Colors.OddColumn = clBlue
105 >        Colors.EvenColumn = clNavy
106 >        Colors.CurrentOffsetBackground = clBtnShadow
107 >        Colors.OffsetBackGround = clBtnFace
108 >        Colors.CurrentOffset = clBtnHighlight
109 >        Colors.Grid = clBtnFace
110 >        Colors.NonFocusCursorFrame = clAqua
111 >        Colors.ActiveFieldBackground = clWindow
112 >        FocusFrame = True
113 >        NoSizeChange = True
114 >        AllowInsertMode = False
115 >        DrawGridLines = False
116 >        Version = 'May 23, 2005; '#169' markus stephany, vcl[at]mirkes[dot]de'
117 >        OnChange = hexChange
118 >        ShowPositionIfNotFocused = True
119 >        OnSelectionChanged = hexSelectionChanged
120        end
121 <      object btn_import: TButton
122 <        Left = 4
123 <        Top = 32
124 <        Width = 190
125 <        Height = 25
126 <        Anchors = [akLeft, akTop, akRight]
127 <        Caption = 'Import from file...'
121 >      object value_viewer: TWrapGrid
122 >        Left = 0
123 >        Top = 217
124 >        Width = 390
125 >        Height = 210
126 >        Align = alClient
127 >        ColCount = 1
128 >        DefaultColWidth = 80
129 >        DefaultRowHeight = 18
130 >        FixedCols = 0
131 >        RowCount = 8
132 >        FixedRows = 0
133 >        Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goColSizing]
134 >        ScrollBars = ssVertical
135          TabOrder = 1
136 <        OnClick = popup_importClick
136 >        OnDblClick = value_viewerDblClick
137 >        OnMouseDown = value_viewerMouseDown
138 >      end
139 >      object VST: TVirtualStringTree
140 >        Left = 0
141 >        Top = 435
142 >        Width = 390
143 >        Height = 97
144 >        Align = alBottom
145 >        AnimationDuration = 0
146 >        AutoExpandDelay = 300
147 >        BiDiMode = bdLeftToRight
148 >        Colors.UnfocusedSelectionColor = clGradientActiveCaption
149 >        Colors.UnfocusedSelectionBorderColor = clGradientActiveCaption
150 >        Ctl3D = True
151 >        DragOperations = []
152 >        DrawSelectionMode = smBlendedRectangle
153 >        EditDelay = 200
154 >        Font.Charset = DEFAULT_CHARSET
155 >        Font.Color = clWindowText
156 >        Font.Height = -11
157 >        Font.Name = 'Tahoma'
158 >        Font.Style = []
159 >        Header.AutoSizeIndex = 0
160 >        Header.Font.Charset = DEFAULT_CHARSET
161 >        Header.Font.Color = clWindowText
162 >        Header.Font.Height = -11
163 >        Header.Font.Name = 'Tahoma'
164 >        Header.Font.Style = []
165 >        Header.Options = [hoColumnResize, hoDblClickResize, hoDrag, hoVisible]
166 >        Header.Style = hsFlatButtons
167 >        HintAnimation = hatNone
168 >        HintMode = hmTooltip
169 >        Indent = 14
170 >        ParentBiDiMode = False
171 >        ParentCtl3D = False
172 >        ParentFont = False
173 >        ParentShowHint = False
174 >        ShowHint = True
175 >        TabOrder = 2
176 >        TreeOptions.MiscOptions = [toAcceptOLEDrop, toCheckSupport, toFullRepaintOnResize, toInitOnSave, toToggleOnDblClick, toWheelPanning]
177 >        TreeOptions.PaintOptions = [toShowButtons, toShowDropmark, toShowHorzGridLines, toShowRoot, toShowTreeLines, toShowVertGridLines, toUseBlendedImages]
178 >        TreeOptions.SelectionOptions = [toExtendedFocus, toFullRowSelect, toRightClickSelect]
179 >        OnDblClick = VSTDblClick
180 >        OnFocusChanged = VSTFocusChanged
181 >        OnGetText = VSTGetText
182 >        OnHeaderDragged = VSTHeaderDragged
183 >        Columns = <
184 >          item
185 >            MaxWidth = 300
186 >            MinWidth = 100
187 >            Options = [coEnabled, coParentBidiMode, coParentColor, coResizable, coShowDropMark, coVisible]
188 >            Position = 0
189 >            Spacing = 20
190 >            Width = 150
191 >            WideText = 'Name'
192 >            WideHint = 'Name of the item.'
193 >          end
194 >          item
195 >            MaxWidth = 110
196 >            MinWidth = 80
197 >            Options = [coDraggable, coEnabled, coParentBidiMode, coParentColor, coResizable, coShowDropMark, coVisible]
198 >            Position = 1
199 >            Spacing = 20
200 >            Width = 85
201 >            WideText = 'Offset'
202 >            WideHint = 'Offset of the data-item.'
203 >          end
204 >          item
205 >            MaxWidth = 110
206 >            MinWidth = 75
207 >            Options = [coDraggable, coEnabled, coParentBidiMode, coParentColor, coResizable, coShowDropMark, coVisible]
208 >            Position = 2
209 >            Width = 75
210 >            WideText = 'Type'
211 >            WideHint = 'Data type of the item.'
212 >          end
213 >          item
214 >            MaxWidth = 250
215 >            MinWidth = 80
216 >            Options = [coDraggable, coEnabled, coParentBidiMode, coParentColor, coResizable, coShowDropMark, coVisible]
217 >            Position = 3
218 >            Width = 100
219 >            WideText = 'Value'
220 >            WideHint = 'Value of the item.'
221 >          end
222 >          item
223 >            MaxWidth = 400
224 >            MinWidth = 80
225 >            Options = [coDraggable, coEnabled, coParentBidiMode, coParentColor, coResizable, coShowDropMark, coVisible]
226 >            Position = 4
227 >            Width = 400
228 >            WideText = 'Description'
229 >          end>
230 >        WideDefaultText = ''
231        end
232      end
233    end
234 <  inherited content: TPanel
235 <    object Splitter2: TSplitter
236 <      Left = 0
237 <      Top = 209
52 <      Width = 283
53 <      Height = 9
54 <      Cursor = crVSplit
55 <      Align = alTop
56 <      AutoSnap = False
57 <      Beveled = True
58 <      MinSize = 40
59 <      ExplicitWidth = 425
60 <    end
61 <    object Splitter3: TSplitter
62 <      Left = 0
63 <      Top = 318
64 <      Width = 283
65 <      Height = 8
66 <      Cursor = crVSplit
67 <      Align = alBottom
68 <      AutoSnap = False
69 <      Beveled = True
70 <      MinSize = 40
71 <      ExplicitLeft = -9
72 <      ExplicitTop = 430
73 <      ExplicitWidth = 425
74 <    end
75 <    object hex: TMPHexEditor
76 <      Left = 0
77 <      Top = 0
78 <      Width = 283
79 <      Height = 209
80 <      Cursor = crIBeam
81 <      Align = alTop
82 <      Font.Charset = DEFAULT_CHARSET
83 <      Font.Color = clWindowText
84 <      Font.Height = -16
85 <      Font.Name = 'Courier'
86 <      Font.Style = []
87 <      OnKeyUp = hexKeyUp
88 <      ParentFont = False
89 <      TabOrder = 0
90 <      BytesPerRow = 16
91 <      Translation = tkASCII
92 <      OffsetFormat = '6!10:0x|'
93 <      Colors.Background = clWindow
94 <      Colors.ChangedBackground = clWindow
95 <      Colors.ChangedText = clRed
96 <      Colors.CursorFrame = clNavy
97 <      Colors.Offset = clBlack
98 <      Colors.OddColumn = clBlue
99 <      Colors.EvenColumn = clNavy
100 <      Colors.CurrentOffsetBackground = clBtnShadow
101 <      Colors.OffsetBackGround = clBtnFace
102 <      Colors.CurrentOffset = clBtnHighlight
103 <      Colors.Grid = clBtnFace
104 <      Colors.NonFocusCursorFrame = clAqua
105 <      Colors.ActiveFieldBackground = clWindow
106 <      FocusFrame = True
107 <      NoSizeChange = True
108 <      AllowInsertMode = False
109 <      DrawGridLines = False
110 <      Version = 'May 23, 2005; '#169' markus stephany, vcl[at]mirkes[dot]de'
111 <      OnChange = hexChange
112 <      ShowPositionIfNotFocused = True
113 <      OnSelectionChanged = hexSelectionChanged
114 <    end
115 <    object value_viewer: TWrapGrid
116 <      Left = 0
117 <      Top = 218
118 <      Width = 283
119 <      Height = 100
120 <      Align = alClient
121 <      ColCount = 1
122 <      DefaultColWidth = 80
123 <      DefaultRowHeight = 18
124 <      FixedCols = 0
125 <      RowCount = 8
126 <      FixedRows = 0
127 <      Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goColSizing]
128 <      PopupMenu = value_viewer_context
129 <      ScrollBars = ssVertical
130 <      TabOrder = 1
131 <      OnDblClick = value_viewerDblClick
132 <      OnMouseDown = value_viewerMouseDown
133 <    end
134 <    object VST: TVirtualStringTree
135 <      Left = 0
136 <      Top = 326
137 <      Width = 283
138 <      Height = 97
139 <      Align = alBottom
140 <      AnimationDuration = 0
141 <      AutoExpandDelay = 300
142 <      BiDiMode = bdLeftToRight
143 <      Colors.UnfocusedSelectionColor = clGradientActiveCaption
144 <      Colors.UnfocusedSelectionBorderColor = clGradientActiveCaption
145 <      Ctl3D = True
146 <      DragOperations = []
147 <      DrawSelectionMode = smBlendedRectangle
148 <      EditDelay = 200
149 <      Font.Charset = DEFAULT_CHARSET
150 <      Font.Color = clWindowText
151 <      Font.Height = -11
152 <      Font.Name = 'Tahoma'
153 <      Font.Style = []
154 <      Header.AutoSizeIndex = 0
155 <      Header.Font.Charset = DEFAULT_CHARSET
156 <      Header.Font.Color = clWindowText
157 <      Header.Font.Height = -11
158 <      Header.Font.Name = 'Tahoma'
159 <      Header.Font.Style = []
160 <      Header.Options = [hoColumnResize, hoDblClickResize, hoDrag, hoVisible]
161 <      Header.PopupMenu = VTHPopup
162 <      Header.Style = hsFlatButtons
163 <      HintAnimation = hatNone
164 <      HintMode = hmTooltip
165 <      Indent = 14
166 <      ParentBiDiMode = False
167 <      ParentCtl3D = False
168 <      ParentFont = False
169 <      ParentShowHint = False
170 <      ShowHint = True
171 <      TabOrder = 2
172 <      TreeOptions.MiscOptions = [toAcceptOLEDrop, toCheckSupport, toFullRepaintOnResize, toInitOnSave, toToggleOnDblClick, toWheelPanning]
173 <      TreeOptions.PaintOptions = [toShowButtons, toShowDropmark, toShowHorzGridLines, toShowRoot, toShowTreeLines, toShowVertGridLines, toUseBlendedImages]
174 <      TreeOptions.SelectionOptions = [toExtendedFocus, toFullRowSelect, toRightClickSelect]
175 <      OnDblClick = VSTDblClick
176 <      OnFocusChanged = VSTFocusChanged
177 <      OnGetText = VSTGetText
178 <      OnHeaderDragged = VSTHeaderDragged
179 <      Columns = <
180 <        item
181 <          MaxWidth = 300
182 <          MinWidth = 100
183 <          Options = [coEnabled, coParentBidiMode, coParentColor, coResizable, coShowDropMark, coVisible]
184 <          Position = 0
185 <          Spacing = 20
186 <          Width = 150
187 <          WideText = 'Name'
188 <          WideHint = 'Name of the item.'
189 <        end
190 <        item
191 <          MaxWidth = 110
192 <          MinWidth = 80
193 <          Options = [coDraggable, coEnabled, coParentBidiMode, coParentColor, coResizable, coShowDropMark, coVisible]
194 <          Position = 1
195 <          Spacing = 20
196 <          Width = 85
197 <          WideText = 'Offset'
198 <          WideHint = 'Offset of the data-item.'
199 <        end
200 <        item
201 <          MaxWidth = 110
202 <          MinWidth = 75
203 <          Options = [coDraggable, coEnabled, coParentBidiMode, coParentColor, coResizable, coShowDropMark, coVisible]
204 <          Position = 2
205 <          Width = 75
206 <          WideText = 'Type'
207 <          WideHint = 'Data type of the item.'
208 <        end
209 <        item
210 <          MaxWidth = 250
211 <          MinWidth = 80
212 <          Options = [coDraggable, coEnabled, coParentBidiMode, coParentColor, coResizable, coShowDropMark, coVisible]
213 <          Position = 3
214 <          Width = 100
215 <          WideText = 'Value'
216 <          WideHint = 'Value of the item.'
217 <        end
218 <        item
219 <          MaxWidth = 400
220 <          MinWidth = 80
221 <          Options = [coDraggable, coEnabled, coParentBidiMode, coParentColor, coResizable, coShowDropMark, coVisible]
222 <          Position = 4
223 <          Width = 400
224 <          WideText = 'Description'
225 <        end>
226 <      WideDefaultText = ''
227 <    end
234 >  object VTHPopup: TVTHeaderPopupMenu
235 >    OnColumnChange = VTHPopupColumnChange
236 >    Left = 272
237 >    Top = 376
238    end
239 <  object value_viewer_context: TPopupMenu [3]
239 >  object value_viewer_context: TPopupMenu
240      AutoHotkeys = maManual
241      AutoLineReduction = maManual
242      OnPopup = value_viewer_contextPopup
# Line 238 | Line 248 | inherited Form_BinEdit: TForm_BinEdit
248      end
249      object value_viewer_context_copyasdec: TMenuItem
250        Caption = 'Copy to clipboard (as &dec)'
241      OnClick = value_viewer_context_copyClick
251      end
252      object value_viewer_context_copyasfloat: TMenuItem
253        Caption = 'Copy to clipboard (as &float)'
245      OnClick = value_viewer_context_copyClick
254      end
255      object value_viewer_context_copyasbitset: TMenuItem
256        Caption = 'Copy to clipboard (as &bitset)'
249      OnClick = value_viewer_context_copyClick
257      end
258      object value_viewer_context_copyasstring: TMenuItem
259        Caption = 'Copy to clipboard (as &string)'
253      OnClick = value_viewer_context_copyClick
260      end
261      object value_viewer_context_copyashex: TMenuItem
262        Caption = 'Copy to clipboard (as &hex)'
257      OnClick = value_viewer_context_copyClick
263      end
264    end
260  object VTHPopup: TVTHeaderPopupMenu [4]
261    OnColumnChange = VTHPopupColumnChange
262    Left = 272
263    Top = 376
264  end
265   end

Diff Legend

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