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

Diff Legend

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