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

Diff Legend

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