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

Diff Legend

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