lazhexeditor: Fixes compilation in newer FPC and renames the project to lazhexeditor

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2312 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
sekelsenmat
2012-02-23 16:12:04 +00:00
parent 540529cf37
commit 7a6c561aec
15 changed files with 51 additions and 5280 deletions

View File

@@ -1,6 +1,6 @@
unit About; unit About;
{$include kcontrols.inc} {$include lazhexeditor.inc}
interface interface

View File

@@ -1,6 +1,6 @@
unit Basic; unit Basic;
{$include kcontrols.inc} {$include lazhexeditor.inc}
interface interface
@@ -10,7 +10,7 @@ uses
{$ELSE} {$ELSE}
Windows, Messages, Windows, Messages,
{$ENDIF} {$ENDIF}
Classes, SysUtils, Graphics, StdCtrls, KHexEditor, KControls; Classes, SysUtils, Graphics, StdCtrls, khexeditor, KControls;
type type
TEnvironmentPacked = packed record TEnvironmentPacked = packed record

File diff suppressed because it is too large Load Diff

View File

@@ -6,6 +6,7 @@
<General> <General>
<SessionStorage Value="InProjectDir"/> <SessionStorage Value="InProjectDir"/>
<MainUnit Value="0"/> <MainUnit Value="0"/>
<Title Value="lazhexeditor"/>
<UseXPManifest Value="True"/> <UseXPManifest Value="True"/>
</General> </General>
<VersionInfo> <VersionInfo>
@@ -30,6 +31,7 @@
<RequiredPackages Count="3"> <RequiredPackages Count="3">
<Item1> <Item1>
<PackageName Value="KControlsLaz"/> <PackageName Value="KControlsLaz"/>
<DefaultFilename Value="..\..\components\kcontrols\source\kcontrolslaz.lpk"/>
</Item1> </Item1>
<Item2> <Item2>
<PackageName Value="Printer4Lazarus"/> <PackageName Value="Printer4Lazarus"/>
@@ -38,10 +40,11 @@
<PackageName Value="LCL"/> <PackageName Value="LCL"/>
</Item3> </Item3>
</RequiredPackages> </RequiredPackages>
<Units Count="9"> <Units Count="11">
<Unit0> <Unit0>
<Filename Value="hexeditorlaz.lpr"/> <Filename Value="lazhexeditor.lpr"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
<UnitName Value="lazhexeditor"/>
</Unit0> </Unit0>
<Unit1> <Unit1>
<Filename Value="about.pas"/> <Filename Value="about.pas"/>
@@ -104,10 +107,19 @@
<ResourceBaseClass Value="Form"/> <ResourceBaseClass Value="Form"/>
<UnitName Value="Search"/> <UnitName Value="Search"/>
</Unit8> </Unit8>
<Unit9>
<Filename Value="basic.pas"/>
<IsPartOfProject Value="True"/>
<UnitName Value="Basic"/>
</Unit9>
<Unit10>
<Filename Value="lazhexeditor.inc"/>
<IsPartOfProject Value="True"/>
</Unit10>
</Units> </Units>
</ProjectOptions> </ProjectOptions>
<CompilerOptions> <CompilerOptions>
<Version Value="10"/> <Version Value="11"/>
<PathDelim Value="\"/> <PathDelim Value="\"/>
<Target> <Target>
<Filename Value="khexeditor"/> <Filename Value="khexeditor"/>

View File

@@ -1,4 +1,4 @@
program hexeditorlaz; program lazhexeditor;
uses uses
Interfaces, Interfaces,
@@ -13,7 +13,7 @@ uses
Main in 'Main.pas' {MainForm}, Main in 'Main.pas' {MainForm},
PrintStatus in 'PrintStatus.pas', kcontrolslaz; PrintStatus in 'PrintStatus.pas', kcontrolslaz;
{$IFDEF WINDOWS}{$R hexeditorlaz.rc}{$ENDIF} //{$IFDEF WINDOWS}{$R lazhexeditor.rc}{$ENDIF}
{$R *.res} {$R *.res}

Binary file not shown.

View File

@@ -1,6 +1,6 @@
unit Main; unit Main;
{$include kcontrols.inc} {$include lazhexeditor.inc}
interface interface

View File

@@ -1,6 +1,6 @@
unit Options; unit Options;
{$include kcontrols.inc} {$include lazhexeditor.inc}
interface interface

View File

@@ -1,6 +1,6 @@
unit PrintStatus; unit PrintStatus;
{$include kcontrols.inc} {$include lazhexeditor.inc}
interface interface

View File

@@ -1,6 +1,6 @@
unit Replace; unit Replace;
{$include kcontrols.inc} {$include lazhexeditor.inc}
interface interface

View File

@@ -1,6 +1,6 @@
unit ReplacePrompt; unit ReplacePrompt;
{$include kcontrols.inc} {$include lazhexeditor.inc}
interface interface

View File

@@ -1,7 +1,7 @@
object SearchForm: TSearchForm object SearchForm: TSearchForm
Left = 1005 Left = 409
Height = 204 Height = 204
Top = 825 Top = 156
Width = 330 Width = 330
BorderStyle = bsDialog BorderStyle = bsDialog
Caption = 'Find Text' Caption = 'Find Text'
@@ -11,7 +11,7 @@ object SearchForm: TSearchForm
Font.Name = 'Tahoma' Font.Name = 'Tahoma'
OnShow = FormShow OnShow = FormShow
Position = poScreenCenter Position = poScreenCenter
LCLVersion = '0.9.29' LCLVersion = '0.9.31'
object LBFindText: TLabel object LBFindText: TLabel
Left = 8 Left = 8
Height = 14 Height = 14
@@ -93,8 +93,8 @@ object SearchForm: TSearchForm
Width = 58 Width = 58
Caption = 'Forwar&d' Caption = 'Forwar&d'
Checked = True Checked = True
State = cbChecked
TabOrder = 0 TabOrder = 0
TabStop = True
end end
object RBBackward: TRadioButton object RBBackward: TRadioButton
Left = 8 Left = 8
@@ -103,7 +103,6 @@ object SearchForm: TSearchForm
Width = 64 Width = 64
Caption = '&Backward' Caption = '&Backward'
TabOrder = 1 TabOrder = 1
TabStop = False
end end
end end
object GBScope: TGroupBox object GBScope: TGroupBox
@@ -122,8 +121,8 @@ object SearchForm: TSearchForm
Width = 47 Width = 47
Caption = '&Global' Caption = '&Global'
Checked = True Checked = True
State = cbChecked
TabOrder = 0 TabOrder = 0
TabStop = True
end end
object RBSelectedOnly: TRadioButton object RBSelectedOnly: TRadioButton
Left = 8 Left = 8
@@ -132,7 +131,6 @@ object SearchForm: TSearchForm
Width = 82 Width = 82
Caption = '&Selected only' Caption = '&Selected only'
TabOrder = 1 TabOrder = 1
TabStop = False
end end
end end
object GBOrigin: TGroupBox object GBOrigin: TGroupBox
@@ -151,8 +149,8 @@ object SearchForm: TSearchForm
Width = 75 Width = 75
Caption = 'Fro&m cursor' Caption = 'Fro&m cursor'
Checked = True Checked = True
State = cbChecked
TabOrder = 0 TabOrder = 0
TabStop = True
end end
object RBEntireScope: TRadioButton object RBEntireScope: TRadioButton
Left = 8 Left = 8
@@ -161,7 +159,6 @@ object SearchForm: TSearchForm
Width = 77 Width = 77
Caption = '&Entire scope' Caption = '&Entire scope'
TabOrder = 1 TabOrder = 1
TabStop = False
end end
end end
end end

View File

@@ -1,11 +1,11 @@
{ This is an automatically generated lazarus resource file } { This is an automatically generated lazarus resource file }
LazarusResources.Add('TSearchForm','FORMDATA',[ LazarusResources.Add('TSearchForm','FORMDATA',[
'TPF0'#11'TSearchForm'#10'SearchForm'#4'Left'#3#237#3#6'Height'#3#204#0#3'Top' 'TPF0'#11'TSearchForm'#10'SearchForm'#4'Left'#3#153#1#6'Height'#3#204#0#3'Top'
+#3'9'#3#5'Width'#3'J'#1#11'BorderStyle'#7#8'bsDialog'#7'Caption'#6#9'Find Te' +#3#156#0#5'Width'#3'J'#1#11'BorderStyle'#7#8'bsDialog'#7'Caption'#6#9'Find T'
+'xt'#12'ClientHeight'#3#204#0#11'ClientWidth'#3'J'#1#11'Font.Height'#2#245#9 +'ext'#12'ClientHeight'#3#204#0#11'ClientWidth'#3'J'#1#11'Font.Height'#2#245#9
+'Font.Name'#6#6'Tahoma'#6'OnShow'#7#8'FormShow'#8'Position'#7#14'poScreenCen' +'Font.Name'#6#6'Tahoma'#6'OnShow'#7#8'FormShow'#8'Position'#7#14'poScreenCen'
+'ter'#10'LCLVersion'#6#6'0.9.29'#0#6'TLabel'#10'LBFindText'#4'Left'#2#8#6'He' +'ter'#10'LCLVersion'#6#6'0.9.31'#0#6'TLabel'#10'LBFindText'#4'Left'#2#8#6'He'
+'ight'#2#14#3'Top'#2#12#5'Width'#2'='#7'Caption'#6#14'&Text to find:'#12'Foc' +'ight'#2#14#3'Top'#2#12#5'Width'#2'='#7'Caption'#6#14'&Text to find:'#12'Foc'
+'usControl'#7#12'CBTextToFind'#11'ParentColor'#8#0#0#9'TComboBox'#12'CBTextT' +'usControl'#7#12'CBTextToFind'#11'ParentColor'#8#0#0#9'TComboBox'#12'CBTextT'
+'oFind'#4'Left'#2'H'#6'Height'#2#21#3'Top'#2#8#5'Width'#3#249#0#10'ItemHeigh' +'oFind'#4'Left'#2'H'#6'Height'#2#21#3'Top'#2#8#5'Width'#3#249#0#10'ItemHeigh'
@@ -24,20 +24,19 @@ LazarusResources.Add('TSearchForm','FORMDATA',[
+'ht'#2'='#3'Top'#2'$'#5'Width'#3#129#0#7'Caption'#6#9'Direction'#12'ClientHe' +'ht'#2'='#3'Top'#2'$'#5'Width'#3#129#0#7'Caption'#6#9'Direction'#12'ClientHe'
+'ight'#2'+'#11'ClientWidth'#2'}'#8'TabOrder'#2#4#0#12'TRadioButton'#9'RBForw' +'ight'#2'+'#11'ClientWidth'#2'}'#8'TabOrder'#2#4#0#12'TRadioButton'#9'RBForw'
+'ard'#4'Left'#2#8#6'Height'#2#17#3'Top'#2#4#5'Width'#2':'#7'Caption'#6#8'For' +'ard'#4'Left'#2#8#6'Height'#2#17#3'Top'#2#4#5'Width'#2':'#7'Caption'#6#8'For'
+'war&d'#7'Checked'#9#5'State'#7#9'cbChecked'#8'TabOrder'#2#0#0#0#12'TRadioBu' +'war&d'#7'Checked'#9#8'TabOrder'#2#0#7'TabStop'#9#0#0#12'TRadioButton'#10'RB'
+'tton'#10'RBBackward'#4'Left'#2#8#6'Height'#2#17#3'Top'#2#24#5'Width'#2'@'#7 +'Backward'#4'Left'#2#8#6'Height'#2#17#3'Top'#2#24#5'Width'#2'@'#7'Caption'#6
+'Caption'#6#9'&Backward'#8'TabOrder'#2#1#7'TabStop'#8#0#0#0#9'TGroupBox'#7'G' +#9'&Backward'#8'TabOrder'#2#1#0#0#0#9'TGroupBox'#7'GBScope'#4'Left'#2#8#6'He'
+'BScope'#4'Left'#2#8#6'Height'#2'='#3'Top'#2'h'#5'Width'#3#173#0#7'Caption'#6 +'ight'#2'='#3'Top'#2'h'#5'Width'#3#173#0#7'Caption'#6#5'Scope'#12'ClientHeig'
+#5'Scope'#12'ClientHeight'#2'+'#11'ClientWidth'#3#169#0#8'TabOrder'#2#5#0#12 +'ht'#2'+'#11'ClientWidth'#3#169#0#8'TabOrder'#2#5#0#12'TRadioButton'#8'RBGlo'
+'TRadioButton'#8'RBGlobal'#4'Left'#2#8#6'Height'#2#17#3'Top'#2#4#5'Width'#2 +'bal'#4'Left'#2#8#6'Height'#2#17#3'Top'#2#4#5'Width'#2'/'#7'Caption'#6#7'&Gl'
+'/'#7'Caption'#6#7'&Global'#7'Checked'#9#5'State'#7#9'cbChecked'#8'TabOrder' +'obal'#7'Checked'#9#8'TabOrder'#2#0#7'TabStop'#9#0#0#12'TRadioButton'#14'RBS'
+#2#0#0#0#12'TRadioButton'#14'RBSelectedOnly'#4'Left'#2#8#6'Height'#2#17#3'To' +'electedOnly'#4'Left'#2#8#6'Height'#2#17#3'Top'#2#24#5'Width'#2'R'#7'Caption'
+'p'#2#24#5'Width'#2'R'#7'Caption'#6#14'&Selected only'#8'TabOrder'#2#1#7'Tab' +#6#14'&Selected only'#8'TabOrder'#2#1#0#0#0#9'TGroupBox'#8'GBOrigin'#4'Left'
+'Stop'#8#0#0#0#9'TGroupBox'#8'GBOrigin'#4'Left'#3#192#0#6'Height'#2'='#3'Top' +#3#192#0#6'Height'#2'='#3'Top'#2'h'#5'Width'#3#129#0#7'Caption'#6#6'Origin'
+#2'h'#5'Width'#3#129#0#7'Caption'#6#6'Origin'#12'ClientHeight'#2'+'#11'Clien' +#12'ClientHeight'#2'+'#11'ClientWidth'#2'}'#8'TabOrder'#2#6#0#12'TRadioButto'
+'tWidth'#2'}'#8'TabOrder'#2#6#0#12'TRadioButton'#12'RBFromCursor'#4'Left'#2#8 +'n'#12'RBFromCursor'#4'Left'#2#8#6'Height'#2#17#3'Top'#2#4#5'Width'#2'K'#7'C'
+#6'Height'#2#17#3'Top'#2#4#5'Width'#2'K'#7'Caption'#6#12'Fro&m cursor'#7'Che' +'aption'#6#12'Fro&m cursor'#7'Checked'#9#8'TabOrder'#2#0#7'TabStop'#9#0#0#12
+'cked'#9#5'State'#7#9'cbChecked'#8'TabOrder'#2#0#0#0#12'TRadioButton'#13'RBE' +'TRadioButton'#13'RBEntireScope'#4'Left'#2#8#6'Height'#2#17#3'Top'#2#24#5'Wi'
+'ntireScope'#4'Left'#2#8#6'Height'#2#17#3'Top'#2#24#5'Width'#2'M'#7'Caption' +'dth'#2'M'#7'Caption'#6#13'&Entire scope'#8'TabOrder'#2#1#0#0#0#0
+#6#13'&Entire scope'#8'TabOrder'#2#1#7'TabStop'#8#0#0#0#0
]); ]);

View File

@@ -1,6 +1,6 @@
unit Search; unit Search;
{$include kcontrols.inc} {$include lazhexeditor.inc}
interface interface