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 248 by alloc, Mon Nov 26 11:02:28 2007 UTC

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

Diff Legend

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