From 9fe3c2f0e37d58bb2dbaf151d63e783998faf50e Mon Sep 17 00:00:00 2001 From: paul Date: Sat, 5 Oct 2013 01:17:19 +0000 Subject: [PATCH] codetools: use FPC resources for component images git-svn-id: trunk@43081 - --- .gitattributes | 2 +- components/codetools/ide/README.txt | 2 +- components/codetools/ide/cody.lrs | 14 -------------- components/codetools/ide/cody.res | Bin 0 -> 375 bytes components/codetools/ide/codyregistration.pas | 5 ++--- 5 files changed, 4 insertions(+), 19 deletions(-) delete mode 100644 components/codetools/ide/cody.lrs create mode 100644 components/codetools/ide/cody.res diff --git a/.gitattributes b/.gitattributes index 193d77d5c7..c796dccca0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -851,8 +851,8 @@ components/codetools/ide/addassignmethoddlg.pas svneol=native#text/plain components/codetools/ide/addwithblockdlg.lfm svneol=native#text/plain components/codetools/ide/addwithblockdlg.pas svneol=native#text/plain components/codetools/ide/cody.lpk svneol=native#text/plain -components/codetools/ide/cody.lrs svneol=native#text/plain components/codetools/ide/cody.pas svneol=native#text/pascal +components/codetools/ide/cody.res -text components/codetools/ide/codycopydeclaration.pas svneol=native#text/plain components/codetools/ide/codyctrls.pas svneol=native#text/plain components/codetools/ide/codyfrm.lfm svneol=native#text/plain diff --git a/components/codetools/ide/README.txt b/components/codetools/ide/README.txt index 3de400866d..68c9612f12 100644 --- a/components/codetools/ide/README.txt +++ b/components/codetools/ide/README.txt @@ -1,4 +1,4 @@ How to update icons: -../../../tools/lazres cody.lrs tcodytreeview.png +../../../tools/lazres cody.res tcodytreeview.png diff --git a/components/codetools/ide/cody.lrs b/components/codetools/ide/cody.lrs deleted file mode 100644 index 9236abed55..0000000000 --- a/components/codetools/ide/cody.lrs +++ /dev/null @@ -1,14 +0,0 @@ -LazarusResources.Add('tcodytreeview','PNG',[ - #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0 - +#0#0#230'IDATx^'#205#150'!'#18#194'0'#16'E'#211'L'#29#18#135#224#0#136'`q5' - +#152#128#233'E@'#231#8#213#229'"U('#12'p'#131#8'n'#129#196' '#8#179#162#221 - +'L+'#150'Lvg'#248'3'#233'D'#229#245#255#252#206#182#8'!(I'#149#240'p'#238#196 - +'N'#177#214#168#170#170#10#173#4#180#183#235#216#1#170'i'#14','#128#251#245 - +'6'#236'E'#28'|T'#136#29'L'#213#181#179'a_'#31'_'#153#151#156' c'#204#4#224 - +#189'O'#0#224'[C'#179#240'N'#240'0^'#7#0#217',\'#12#230#2'`'#163#186#214#17 - +'Q'#161'3'#18'@'#196#149#18'UzM'#1#242'~,'#161'a'#176#248#1#224#224'|y'#170 - +#221'v>'#142#171'_'#185'5'#197'K'#174'WD'#254#9#14' '#22'h'#18#17'K'#6#128 - +#138#5#163#145'o'#17#13#144#248#232#244#143#13#234#29#252'c'#139#132'U'#142 - +''''#17#12#11'N'#233'xH'#195#225#220#18#255'm'#249#2#151'TeJ'#211#8#27#6#0#0 - +#0#0'IEND'#174'B`'#130 -]); diff --git a/components/codetools/ide/cody.res b/components/codetools/ide/cody.res new file mode 100644 index 0000000000000000000000000000000000000000..616e881027e1bff48b3a6c317a9fc4d4ebff58a9 GIT binary patch literal 375 zcmZQzU|>)H;{X347|28c@{9}&7C@2z|G5}K7@QgW8C)15fvg|~S0D^y@C1_KP#ppS z2(6s~e(tRWQE!v zFmxmon$Bo=>FV&DsuYa)AXqKx^S0&oO}vm8A5{IYzViDn kelIIL4nMpj^gs6})AW#3uge_LAdfS6y85}Sb4q9e00@78lmGw# literal 0 HcmV?d00001 diff --git a/components/codetools/ide/codyregistration.pas b/components/codetools/ide/codyregistration.pas index 51a6eb6a86..0c102e7f07 100644 --- a/components/codetools/ide/codyregistration.pas +++ b/components/codetools/ide/codyregistration.pas @@ -52,6 +52,8 @@ function CreateSourceCommand(CmdCatCodeTools: TIDECommandCategory; implementation +{$R cody.res} + function CreateRefactorCommand(CmdCatCodeTools: TIDECommandCategory; Name, Description: string; const OnExecuteMethod: TNotifyEvent; const OnExecuteProc: TNotifyProcedure; @@ -197,8 +199,5 @@ begin SourceEditorManagerIntf.RegisterCopyPasteEvent(@Cody.SrcEditCopyPaste); end; -initialization - {$I cody.lrs} - end.