lazreport: restore resource images from LRS and make a RES file instead

git-svn-id: trunk@43132 -
This commit is contained in:
paul 2013-10-06 13:55:23 +00:00
parent 897b8e2e3f
commit 1f614827a1
5 changed files with 5 additions and 90 deletions

3
.gitattributes vendored
View File

@ -2138,10 +2138,11 @@ components/lazreport/source/addons/SqlDB/resources/tlrodbcconnection.bmp -text
components/lazreport/source/addons/SqlDB/resources/tlroracleconnection.bmp -text
components/lazreport/source/addons/SqlDB/resources/tlrpqconnection.bmp -text
components/lazreport/source/addons/SqlDB/resources/tlrsqlquery.bmp -text
components/lazreport/source/addons/TDbfDB/TLRDbf.bmp -text
components/lazreport/source/addons/TDbfDB/lr_tdbf.lpk svneol=native#text/plain
components/lazreport/source/addons/TDbfDB/lr_tdbf.pas svneol=native#text/plain
components/lazreport/source/addons/TDbfDB/lrtdbfdata.pas svneol=native#text/plain
components/lazreport/source/addons/TDbfDB/lrtdbfdata_img.inc svneol=native#text/plain
components/lazreport/source/addons/TDbfDB/lrtdbfdata_img.res -text
components/lazreport/source/addons/ZeosDB/languages/lrdbzeosconst.cs.po svneol=native#text/plain
components/lazreport/source/addons/ZeosDB/languages/lrdbzeosconst.de.po svneol=native#text/plain
components/lazreport/source/addons/ZeosDB/languages/lrdbzeosconst.lt.po svneol=native#text/plain

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -5,7 +5,7 @@ unit lrTDbfData;
interface
uses
Classes, SysUtils, LResources, Graphics, LR_Class, LR_DBComponent, DB, dbf;
Classes, SysUtils, Graphics, LR_Class, LR_DBComponent, DB, dbf;
type
TlrTDbfData = class(TComponent)
@ -43,6 +43,7 @@ type
procedure Register;
implementation
{$R lrtdbfdata_img.res}
uses LR_Utils;
var
@ -53,7 +54,7 @@ begin
if not assigned(lrBMP_TDbf) then
begin
lrBMP_TDbf := TbitMap.Create;
lrBMP_TDbf.LoadFromLazarusResource('TLRDbf');
lrBMP_TDbf.LoadFromResourceName(HInstance, 'TLRDbf');
frRegisterObject(TLRDbf, lrBMP_TDbf, 'TLRDbf', nil, otlUIControl, nil);
end;
end;
@ -145,7 +146,6 @@ begin
end;
initialization
{$I lrtdbfdata_img.inc}
InitLRComp;
{ RegisterPropertyEditor(TypeInfo(string), TLRZQuery, 'Database', TLRZQueryDataBaseProperty);

View File

@ -1,86 +0,0 @@
LazarusResources.Add('TLRDbf','BMP',[
'BM'#246#6#0#0#0#0#0#0'6'#0#0#0'('#0#0#0#24#0#0#0#24#0#0#0#1#0#24#0#0#0#0#0
+#192#6#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255#255#255
+#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255'l? '#173#219#255
+#11'?h'#11'?h'#11'?h'#11'?h'#11'?h'#11'?h'#11'?h'#11'?h'#11'?h'#11'?h'#11'?h'
+#11'?h'#11'?h'#11'?h'#11'?h'#11'?hl? '#255#255#255#255#255#255#255#255#255
+#255#255#255#255#255#255#238#204#183#173#219#255#0#144#255#0#144#255#0#144
+#255#0#144#255#0#144#255#0#144#255#0#144#255#0#144#255#0#144#255#0#144#255#0
+#144#255#0#144#255#0#144#255#0#144#255#0#144#255#11'?hl? '#255#255#255#255
+#255#255#255#255#255#255#255#255#255#255#255#238#204#183#173#219#255#0#144
+#255#255#255#255#255#255#255#224#224#224#0#144#255#0#144#255#255#255#255#255
+#255#255#224#224#224#0#144#255#0#144#255#255#255#255#0#144#255#0#144#255#0
+#144#255#11'?hl? '#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#255#238#204#183#173#219#255#0#144#255#255#255#255','#163#255','#163#255#255
+#255#255#0#144#255#255#255#255','#163#255','#163#255#255#255#255#0#144#255
+#255#255#255#0#144#255#0#144#255#0#144#255#11'?hl? '#255#255#255#255#255#255
+#255#255#255#255#255#255#255#255#255#238#204#183#173#219#255#0#144#255#255
+#255#255','#163#255','#163#255#255#255#255#0#144#255#255#255#255#255#255#255
+#224#224#224#0#144#255#0#144#255#255#255#255#255#255#255#255#255#255#0#144
+#255#11'?hl? '#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#238#204#183#173#219#255#0#144#255#255#255#255','#163#255','#163#255#255#255
+#255#0#144#255#255#255#255','#163#255','#163#255#255#255#255#0#144#255#255
+#255#255#0#144#255#0#144#255#0#144#255#11'?hl? '#255#255#255#255#255#255#255
+#255#255#255#255#255#255#255#255#238#204#183#173#219#255#0#144#255#255#255
+#255#255#255#255#224#224#224#0#144#255#0#144#255#255#255#255#255#255#255#224
+#224#224#0#144#255#0#144#255#255#255#255#255#255#255#255#255#255#0#144#255#11
+'?hl? '#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#230#194
+#167#173#219#255#0#144#255#0#144#255#0#144#255#0#144#255#0#144#255#0#144#255
+#0#144#255#0#144#255#0#144#255#0#144#255#0#144#255#0#144#255#0#144#255#0#144
+#255#0#144#255#11'?hl? '#255#255#255#255#255#255#255#255#255#230#194#167#197
+'xE'#197'xE'#173#219#255#173#219#255#173#219#255#173#219#255#173#219#255#173
+#219#255#173#219#255#173#219#255#173#219#255#173#219#255#173#219#255#173#219
+#255#173#219#255#173#219#255#173#219#255#173#219#255#173#219#255'l? '#255#255
+#255#255#255#255#255#255#255#197'xE'#217#163'{'#223#178#145#236#209#189#255
+#255#255#243#225#211#236#209#189#230#194#167#223#178#145#217#163'{'#214#155
+'p'#196'vB'#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#255#210#147'd'#217#163'{'#223#178#145#196'vB'#196'vB'#196'vB'#196'vB'#196'v'
+'B'#196'vB'#217#163'{'#215#158't4~'#25#0'w'#0#0'w'#0#0#168#0#255#255#255#255
+#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#255#255#255#255#210#147'd'#197'xE'#196'vB'#236#209#189#255#255#255#243#225
+#211#236#209#189#230#194#167#223#178#145#196'vB'#196'vB'#0'w'#0#0#196#0#0#168
+#0#0'w'#0#0#168#0#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#255#255#255#255#255#255#255#255#255#196'vB'#217#163'{'#223#178#145#236#209
+#189#255#255#255#243#225#211#236#209#189#230#194#167#223#178#145#217#163'{'
+#218#164'}'#0'w'#0#0#196#0#0#196#0#0#168#0#0'w'#0#0#168#0#255#255#255#255#255
+#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#210#147'd'
+#217#163'{'#223#178#145#196'vB'#196'vB'#196'vB'#196'vB'#196'vB'#196'vB'#217
+#163'{'#218#164'}'#0'w'#0#0#196#0#0#196#0#0#196#0#0#168#0#0'w'#0#0#168#0#255
+#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#210#147
+'d'#197'xE'#196'vB'#236#209#189#255#255#255#243#225#211#236#209#189#230#194
+#167#223#178#145#196'vB'#196'vB'#0'w'#0#0#196#0#0#196#0#0#196#0#0#196#0#0#168
+#0#0'w'#0#0#168#0#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#196'vB'#217#163'{'#223#178#145#236#209#189#255#255#255#243#225#211#236#209
+#189#230#194#167#223#178#145#217#163'{'#215#159'v'#0'w'#0#0#196#0#0#196#0#0
+#196#0#0#168#0#0'w'#0#0#168#0#255#255#255#255#255#255#255#255#255#255#255#255
+#255#255#255#255#255#255#210#147'd'#217#163'{'#223#178#145#196'vB'#196'vB'
+#196'vB'#196'vB'#196'vB'#196'vB'#217#163'{'#214#155'p'#23'z'#10#0#196#0#0#196
,#0#0#168#0#0'w'#0#0#168#0#255#255#255#255#255#255#255#255#255#255#255#255#255
+#255#255#255#255#255#255#255#255#210#147'd'#196'vB'#196'vB'#230#194#167#236
+#209#189#230#194#167#223#178#145#217#163'{'#214#155'p'#196'vB'#196'vB'#16'y'
+#7#0#196#0#0#168#0#0'w'#0#0#168#0#255#255#255#255#255#255#255#255#255#255#255
+#255#255#255#255#255#255#255#255#255#255#255#255#255#196'vB'#214#155'p'#223
+#178#145#236#209#189#243#225#211#236#209#189#230#194#167#223#178#145#217#163
+'{'#214#155'p'#210#147'd'#0'w'#0#0'w'#0#0'w'#0#0#168#0#255#255#255#255#255
+#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#255#255#255#230#194#167#196'vB'#196'vB'#243#225#211#255#255#255#243#225#211
+#236#209#189#230#194#167#223#178#145#196'vB'#196'vB'#230#194#167#255#255#255
+#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#255#230#194#167#196'vB'#196'vB'#196'vB'#196'vB'#196'vB'#196'vB'#230#194#167
+#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255
+#255#255#255#255#255#255#255#255#255#255#255#255#255
]);