mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 23:49:36 +02:00
industrial: use FPC resources for component images
git-svn-id: trunk@43086 -
This commit is contained in:
parent
c2fc7c3f7e
commit
703d309cd7
8
.gitattributes
vendored
8
.gitattributes
vendored
@ -31,7 +31,9 @@ components/IndustrialStuff/Example/u_industrial.lfm svneol=native#text/plain
|
||||
components/IndustrialStuff/Example/u_industrial.pas svneol=native#text/pascal
|
||||
components/IndustrialStuff/industrial.lpk svneol=native#text/plain
|
||||
components/IndustrialStuff/industrial.pas svneol=native#text/pascal
|
||||
components/IndustrialStuff/resources/industrial_icons.lrs svneol=native#text/pascal
|
||||
components/IndustrialStuff/resources/build.bat svneol=native#text/plain
|
||||
components/IndustrialStuff/resources/industrial_icons.txt svneol=native#text/plain
|
||||
components/IndustrialStuff/resources/sensors.txt svneol=native#text/plain
|
||||
components/IndustrialStuff/resources/stop_green.png -text svneol=unset#image/png
|
||||
components/IndustrialStuff/resources/stop_red.png -text svneol=unset#image/png
|
||||
components/IndustrialStuff/resources/stop_unknown.png -text svneol=unset#image/png
|
||||
@ -51,11 +53,11 @@ components/IndustrialStuff/source/indcyGraphics.pas svneol=native#text/pascal
|
||||
components/IndustrialStuff/source/indcyTypes.pas svneol=native#text/pascal
|
||||
components/IndustrialStuff/source/indgnoumeter.pas svneol=native#text/pascal
|
||||
components/IndustrialStuff/source/indled.pas svneol=native#text/pascal
|
||||
components/IndustrialStuff/source/industrial_icons.lrs svneol=native#text/pascal
|
||||
components/IndustrialStuff/source/industrial_icons.res -text
|
||||
components/IndustrialStuff/source/ledbuttons.lrs svneol=native#text/pascal
|
||||
components/IndustrialStuff/source/lednumber.pas svneol=native#text/pascal
|
||||
components/IndustrialStuff/source/sensors.lrs svneol=native#text/pascal
|
||||
components/IndustrialStuff/source/sensors.pas svneol=native#text/pascal
|
||||
components/IndustrialStuff/source/sensors.res -text
|
||||
components/PascalScript/README.lazarus.txt svneol=native#text/pascal
|
||||
components/PascalScript/Samples/Console/sample1.dpr svneol=native#text/pascal
|
||||
components/PascalScript/Samples/Console/sample2.dpr svneol=native#text/pascal
|
||||
|
2
components/IndustrialStuff/resources/build.bat
Normal file
2
components/IndustrialStuff/resources/build.bat
Normal file
@ -0,0 +1,2 @@
|
||||
..\..\..\tools\lazres ..\source\sensors.res @sensors.txt
|
||||
..\..\..\tools\lazres ..\source\industrial_icons.res @industrial_icons.txt
|
@ -1,94 +0,0 @@
|
||||
LazarusResources.Add('tanalogsensor','PNG',[
|
||||
#137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#2#0#0#0'o'#21#170#175
|
||||
+#0#0#0#136'IDATx'#156#229#210'Y'#10#192' '#12#4#208#220#255'T'#189'Y'#170'M'
|
||||
+#234#146#140#11'*'#244#163#131'HP|'#26#144#174'C'#161#127'B'#228#178#2#197's'
|
||||
+#252#140'0iz'#22#216#208#219#25'@'#138'!'#206'.UD'#5'%N'#223#214#131'Da'#26
|
||||
+'C'#222'"'#163#200'`'#208#154#133#140'E'#173#142#178#213#134'J'#171#9'ek'#30
|
||||
+#130'J'#182'"'#132#149#210#26'@b'#157#129'^k'#18#218#11#248#144#203#25'@'#161
|
||||
+'''X'#175'@r>'#21'[/*'#231'-'#200#215#223'A'#243'9'#6#221'`TUS'#201#214#10
|
||||
+#161#0#0#0#0'IEND'#174'B`'#130
|
||||
]);
|
||||
LazarusResources.Add('tindadvled','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#4'sBIT'#8#8#8#8'|'#8'd'#136#0#0#0#9'pHYs'#0#0#11#18#0#0#11#18#1#210#221
|
||||
+'~'#252#0#0#0#22'tEXtCreation Time'#0'06/12/11'#132'x2'#182#0#0#0#28'tEXtSof'
|
||||
+'tware'#0'Adobe Fireworks CS5q'#181#227'6'#0#0#2'kIDATH'#137#157#150'1n'#27
|
||||
+'1'#16'E'#31#5#245#193#186#222#130#128'}'#15#205#1'r'#131#24#200#22#190#135
|
||||
+#215'Ez'#31#192#5#13'(7'#200#1'f'#1#187#247#1#20'`'#12#168#150#236#218#2#152
|
||||
+#130'Kjw%9J'#6#160#176'$'#135#255#15'?gH'#185#24'#'#231#152'sn'#3'T'#185#31
|
||||
+'ct'#231#172#155#159#11#218#182'-'#222'_'#245'3+'#156's9'#178'm'#140#241#226
|
||||
+'$H'#140#241#160#1#27'`'#19#194'2'#170'j'#28#217#199'[i'#170#26'CX'#198#236
|
||||
+#127#12#235'`'#7#206#185'M'#219#182#149'\'#11#139#203#197'~b'#247'>'#242#235
|
||||
+'^_'#160#6'_'#215#168'j'#165#170'8'#231'6'#211#221#184#225#25'd'#240#219#219
|
||||
+#219'1'#235#238#157#238#249#5#179'u'#25#242#190#134#26#216#15'a'#182#166'i'
|
||||
+#174'G'#146#21#130'S'#224#221'cG0'#5#20'/'#138#1#170#130#7'<B#2'#242#159#146
|
||||
+#140#8#226#199'['#197#252'K'#137#250#238#231'='#230'['#188#159#10#9#214#255
|
||||
+#152#10#141#191'I;'#234'MD'#10#193','#131#135#176#28#131#255#184#7'Q'#196#11
|
||||
+#158#220'&'#230#193'7J'#176#135'"'#159#217#154#16#150'U'#159#129#229#144#171
|
||||
+#239#223#190#150'u'#143'?'#127'a^i'#16#216#245#18#204#147'<'#160#25#187#239
|
||||
+#131#23'%'#4'h'#164'M'#253#193'nf}'#244#228#232#187#223#29'j'#15#189#222#202
|
||||
+#226'r1'#206#166'c'#230#129'F1S<'#245'h'#23's'#160#26'2'#218#19' Z'#250#221
|
||||
+#235#221#231#224#153#195#131#161#128#12#135#171'q'#29#236#222#25#230#157#161
|
||||
+#163#233'a'#223#142#144#24'`'#195#188'exU'#244#133'd'#172'0'#163'd'#206#148
|
||||
+#228#20'x'#153#240'`'#182'*C'#179#169#143#231#234'S'#144#147#224'i'#241#129
|
||||
+#205#128'Q'#133#14'Q'#236'H;i'#214#227#247#209'['#239'<'#139'1'#186#166#185#6
|
||||
+#210#253#146#14'\'#254#130'v'#4#223'Re[O'#22'B'#187#141'1'#186','#209#182'{~'
|
||||
+'I_54'#254#6'S'#249''''#2'oR'#136#134#177#205#0'b'#140#23'"'#178#5'`'#157#10
|
||||
+'E'#188'`'#225#156#208#129#144'*='#203#210'G'#191#191'*'#138#239#211#254','
|
||||
+#196#11#141'_bA0'#229'P2#'#21#245#4'|j'#7#215'u'#8#203'q'#225#25#152#165'*'
|
||||
+#29'e'#137#129#247'R|'#178#13#163'? '#152#146#228#236#26'~'#239#9'V)'#179'>'
|
||||
+#1#135'#or'#140#241'"'#223#132'S'#162#20#237#190#136#178'l!'#180#219#188'v'
|
||||
+#138'w'#244#209'/'#143'EO'#148#201#24#128#183'm'#2'='#5#156#237'@'#162#147
|
||||
+#142#255#249#183#229#15#187#175#156#165#150#179#179'c'#0#0#0#0'IEND'#174'B`'
|
||||
+#130
|
||||
]);
|
||||
LazarusResources.Add('tindgnoumeter','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#4'sBIT'#8#8#8#8'|'#8'd'#136#0#0#0#9'pHYs'#0#0#10#240#0#0#10#240#1'B'#172
|
||||
+'4'#152#0#0#0#22'tEXtCreation Time'#0'09/30/08'#194'>PQ'#0#0#0#28'tEXtSoftwa'
|
||||
+'re'#0'Adobe Fireworks CS4'#6#178#211#160#0#0#0#195'IDATH'#137#237#149'a'#14
|
||||
+#131' '#12#133#223'[v'#175'y'#179#218#155#193#201#186#31#19#194#176#168'(Y'
|
||||
+#150'l_bR'#8#188#167#180'R'#154#25'*'#242#132#170'BD'#168#170'yNDX.&if'#198
|
||||
+#20#3'@'#26#3#192#189'V'#7#128#24#227#219'XD'#188'eY0'#197'!'#132#149#233#205
|
||||
+#221#233'h'#21'O'#166'|'#211#22#238#23#156#193#204'x'#248#136'z'#133#189#184
|
||||
+#203'`+'#201'{'#28'2h%y'#152#1#170#228#246'p'#180#138'N'#243#25#3#18#171#223
|
||||
+'y'#20'9'#7'$'#204#236'u'#214#143'i'#2#0#132'y'#6'0'#168#138#146#184#199#229
|
||||
+'*'#218#18'_'#248#225'*'#250'_'#21#187'|'#127#146'IZ'#217':k.5'#156'V'#31#238
|
||||
+'6'#24'^E'#186#220'A'#133#168#187#185#213#135'K'#158#127'$a'#132#192'k6'#232
|
||||
+#0#0#0#0'IEND'#174'B`'#130
|
||||
]);
|
||||
LazarusResources.Add('tindled','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#4'sBIT'#8#8#8#8'|'#8'd'#136#0#0#0#9'pHYs'#0#0#11#18#0#0#11#18#1#210#221
|
||||
+'~'#252#0#0#0#28'tEXtSoftware'#0'Adobe Fireworks CS5q'#181#227'6'#0#0#0#22't'
|
||||
+'EXtCreation Time'#0'06/12/11'#132'x2'#182#0#0#0#145'IDATH'#137#237#150'a'#10
|
||||
+#131'0'#12#133#191#140#222#210'A'#189#201#244'&'#10#219'9'#159#191'&'#235#156
|
||||
+#221'\'#27'D'#240'A!%'#229'}$'#165#164'&'#9'O'#5#0'3s'#163'\'#158#129#164#170
|
||||
+'k'#24#238')'#160#166#198#241'1'#199'!'#151#252'G16'#201'~'#1#0'h'#219'k5'
|
||||
+#128'K'#139'^'#245#177#130'Y'#221#6#167#149#179'y'#0#192#237#7#243'~='#229
|
||||
+#222#162#19'p'#2#14#0#248#254#208'2'#143#168#28#208#149#153#195#30'w'#16'cS4'
|
||||
+#201#222#149#180#168't'#216'd+'#240'0'#7'0I'#174#191#138#9#166#153#129#188
|
||||
+#147#131#15#235#0#0#0#0'IEND'#174'B`'#130
|
||||
]);
|
||||
LazarusResources.Add('tlednumber','PNG',[
|
||||
#137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#14#0#0#0#24#8#6#0#0#0#202#199#204
|
||||
+'W'#0#0#0#1'sRGB'#0#174#206#28#233#0#0#0#6'bKGD'#0#255#0#255#0#255#160#189
|
||||
+#167#147#0#0#0#9'pHYs'#0#0#11#19#0#0#11#19#1#0#154#156#24#0#0#0#7'tIME'#7#221
|
||||
+#5#14#11'; A'#194'}'#3#0#0#0'[IDAT8'#203'cd``'#248#207'@'#6'`b '#19'PQ'#227
|
||||
+#127#28'X'#155#144'FF'#28#152#11'S'#217#127#20#219#24'q'#184#13'Mn0'#4#14'}5'
|
||||
+#222#193#163#242#14#190'Pe@'#226#189#128#210#18'H*'#241'j$'#203#169#248#140
|
||||
+#248'?L'#162#131'l'#141#183#169#17#143#216#178#27#245#227'qPk'#4#0#160#183#22
|
||||
+#199']'#6#217'.'#0#0#0#0'IEND'#174'B`'#130
|
||||
]);
|
||||
LazarusResources.Add('tstoplightsensor','PNG',[
|
||||
#137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#20#0#0#0#24#8#2#0#0#0'u)J!'#0#0#0#1
|
||||
+'sRGB'#0#174#206#28#233#0#0#0#6'bKGD'#0#255#0#255#0#255#160#189#167#147#0#0#0
|
||||
+#9'pHYs'#0#0#11#19#0#0#11#19#1#0#154#156#24#0#0#0#7'tIME'#7#221#5#17#8#20#1
|
||||
+#21#139#172#160#0#0#0#130'IDAT8'#203#229#147'1'#14#128' '#20'C'#27#195#225
|
||||
+#184#144#3#19'ur'#240'B'#142#189#25'n'#132#24#249#130#17#23';'#241#19'^'#154
|
||||
+#254#230'C'#146'$'#146'h'#22#201#148#146'$g'#127':=Nr'#6#25'3C^'#242#211'='#9
|
||||
+#196'.'#184'QU'#231#165#176'Z*'#206'Vf<^'#152#193#188#147'yX'#207#193'o'#197
|
||||
+#212#211'sA"'#248#237#195#158#215'}'#206#227#186#207#253'='#227#127'='#179
|
||||
+#200#220#215's&'#1#16'_'#222's'#139#179#153'y'#232'='#31#161#199'XO'#233'z'
|
||||
+#22#155#0#0#0#0'IEND'#174'B`'#130
|
||||
]);
|
@ -0,0 +1,6 @@
|
||||
tadvled.png
|
||||
tanalogsensor.png
|
||||
tindgnoumeter.png
|
||||
tindled.png
|
||||
tlednumber.png
|
||||
tstoplightsensor.png
|
4
components/IndustrialStuff/resources/sensors.txt
Normal file
4
components/IndustrialStuff/resources/sensors.txt
Normal file
@ -0,0 +1,4 @@
|
||||
stop_green.png
|
||||
stop_red.png
|
||||
stop_unknown.png
|
||||
stop_yellow.png
|
@ -17,6 +17,7 @@ procedure Register;
|
||||
|
||||
implementation
|
||||
|
||||
{$R industrial_icons.res}
|
||||
|
||||
//==========================================================
|
||||
procedure Register;
|
||||
@ -26,7 +27,4 @@ begin
|
||||
|
||||
end;
|
||||
|
||||
initialization
|
||||
{$i industrial_icons.lrs}
|
||||
|
||||
end.
|
||||
|
@ -1,133 +0,0 @@
|
||||
LazarusResources.Add('tadvled','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#1'sRGB'#0#174#206#28#233#0#0#0#6'bKGD'#0#255#0#255#0#255#160#189#167#147
|
||||
+#0#0#6'_IDATH'#199#149'Vmh'#148#217#21'~'#206'}?g'#242'1'#25''''#137'1'#163
|
||||
+#198#174#209#184#217#232'hB'#18#182#172#142'-+'#168#139#176#180#236#146'V'
|
||||
+#210']l'#161#20#202#246'G'#139#212#10#18#232#210'B'#245#143#136#236'B-'#180
|
||||
+#172#181#173#187#148'fK'#202#170#236#170#139'I'#180#27#19'g#Q'#243#253'a&'
|
||||
+#153'd2'#153#153#236#204';3'#239#251#222#211#31#26#187'l'#173#180#207#159's9'
|
||||
+#220#251'<'#247#28'.'#231#185#132'gC_'#183'n]x'#223#190'}'#7'C'#161'P('#24#12
|
||||
+#6#137#136#162#209'htppp'#240#202#149'+'#31#205#204#204'|'#12' '#135#255#19
|
||||
+'b'#251#246#237'o^'#188'xq$'#147#201'H'#203#178#248#193#240#3#217#211#219#205
|
||||
+#221#189'7'#228#189#251#247'd6'#155#149#217'l'#150';;;'''#155#155#155#127#4
|
||||
+'@}'#26#17#253#7#179#16#229'G'#143#30#253#195#177'c'#199#14#196'b1'#186'|'
|
||||
+#245#31#136#12#247'!'#195#9'8J'#30'`@e'#3#30#246'aGm'#19'^'#222'{'#0#27'7l'
|
||||
+#196#233#211#167#175'utt'#28'v'#28''''#250'_'#5#20'E'#169'8{'#246#236#199'mm'
|
||||
+'m'#13#127#253#240#3#234#30#188#204's'#133'qx'#139'Lj'#222#246#18#215#172#173
|
||||
+'%'#2#241#204#226'8'#250#30't#'#149'J'#211':c3'#183#212#237#197#235#223#250
|
||||
+#14'uuu'#141#28'9r'#228#155#182'm?|j'#191'O'#156'8qm~~^'#190#253#155#14#249
|
||||
+#198#241'C'#28#254#241's'#242#253'k'#191#149#137#204#2''''#173#184'LYqNYq'
|
||||
+#153#180#226'r9'#179'(?'#236'9'#207#223'x'#171'V'#182#31'?(;~u'#156'ggg'#229
|
||||
+#169'S'#167#250#0#20'='#185#244#234#162#181#181#245'g''O'#158#252#193#251#127
|
||||
+#251'3'#141#166#251'ih'#233#6#222':'#252#11#218#189's?1'#217#144#176#201'%'
|
||||
+#27'.lr'#216'&'#7#5#10'VnD'#205#134#26#234#188#245'{'#210#13#19#11#147#203't'
|
||||
+#184#173#189':'#18#137#208#248#248#248'''O'#4#136#168#242#204#153'3'#127'J'
|
||||
+#173'$='#3#147#221'|'''#246#9'6'#189'PI'#175#239#254'!;'#194'B'#1#22#21#200
|
||||
+'b'#27#22#21'8'#203#5'dQ'#144'Y'#228'e'#134#252'%'#229'<'#156#186#133#225#201
|
||||
+'!'#242#153#21'lp1'#194'{'#246#238#186'p'#225#194#31#153'9%'#0#160#161#161
|
||||
+#161#173#254#133'z'#255#192#224'g'#152#179#198'`T'#216#168#218'X'#142'4/ -'
|
||||
+#23#254#29#221#216#163#248'8'#151#226#5#164'x'#30#213#27#171#224#169#146#152
|
||||
+#205#14'#2'#212#143#154'M5'#197#173#173#173'o'#0' '#21#128#26#14#135'_'#137
|
||||
+#199#23#201#226'4'#22'r'#147'T'#250#156#9#219#155'FRFIc'#13#228#10#16#136#8#0
|
||||
+'?~'#24#12#9'f'#134'#'#29#202#24'1'#148'V'#154'X'#26#157'!6'#11#152#158#158
|
||||
+'B8'#28'>'#216#211#211#243'k'#21#128'w'#219#182'm'#161#225#145'a.[[B'#238'R'
|
||||
+#150#189#165#197#16#30#166#209#252'?9'#168'l'#5#145' '#2'1'#176#170#193#144
|
||||
+#144'`'#150#20#203#143'3'#27#5'xJ'#13'Jj+l'#248#20'LMOQ]]'#221#243#0'|*'#0'_'
|
||||
+'YYYY&'#183#2'G-@3'#21#232#166#14'C7'#145'p'#31#2#5#192#167'VB@}R'#3'3C'#194
|
||||
+'A'#218'YD'#220#153#129#174#155'0L'#27'zQ'#14#185'|'#22'6'#231#17#168'(/'#17
|
||||
+'BT'#168#0'LfV]'#215#133#161#155'P'#20#5#170#208#161#9#19#170'0a'#201#21#216
|
||||
+'v'#1#134#240'B!'#13#0#224#178#141#188#204#192#230'<Ta@'#19#14#20#145#131#170
|
||||
+#168'P'#21#13#178' '#225'8'#14#136#200#16#0#172#197#197#197#172#235#184'T'
|
||||
+#233#175#6#28#133#200'UIS'#13'hd'#146'&<'#164#9#19#128' '#249#168#243#4#16
|
||||
+#169'd'#146'N'#158'G{T'#147#200'U!'#11'D'#193#181'5$%#'#145'H8'#174#235'f'#5
|
||||
+#128#236#196#196#196#28#145'`'#191#167#2'^'#225'g'#215'"'#22#164'CQLVa'#176
|
||||
+'J'#30'h'#194#195':y'#161#147#151'5'#225'eM'#152#172#144#1'E1Y'#8#157']'#139
|
||||
+#160#203'b^'#31#216#196'v'#193#193#216#216'X'#12'@J'#0#176#6#6#6'>'#11#172#9
|
||||
+#208#220'T'#12#245#213'-d%]'#178'-'#1'W'#20#145'"'#12'RI'#127'\'#141#9'U'#152
|
||||
+#164#146'A'#10#25#164#144#14'Gx'#201#206#9#178#146'.'#234#214'6Rl:N'#21#229
|
||||
+#149#24#24#24#184#3' #'#0#228#251#250#250#254#158'H,'#203#216#220'"'#14'4'
|
||||
+#189#198#246#178#202#169#153#12'4Q'#194'P'#252'LdB'#129#206#10#12#168#208'Y'
|
||||
+#129#198'D:'#179#226#131'&J9'#253'0'#203#249'8'#240'J'#243'w9:;'#207#217'L'
|
||||
+#150'o'#222#188#217#9' '#167#0'`'#199'q'#146#130#196#158#250#250#250#160#147
|
||||
+#151#216'Q'#215#136'['#145'n'#242'W'#148'`sy'#8'~'#181#154#132'0'#160#192' '
|
||||
+#5'&t'#213#7#159#26#132'W)'#163#185#232#24#198'nN'#225#213#198'#'#228'$U|'
|
||||
+#145#206#224#218#213#235#247#250#251#251#223#6#144'X'#157'E'#249#137#137#137
|
||||
+#165'Ph'#231#161#244'JJk'#168#221'I_'#171#222#138#238#158#235#228#173#210'h{'
|
||||
+#224'E'#180#20#237#163':'#207'.l'#241#236#162#205#230#14'r'#225#208#221#185
|
||||
+#30'D.'#15#210#161#208#247#168'6'#16'BoO/Y'#153#188's'#238#220#185'c'#142#227
|
||||
+#244#2'pW'#5'\)e'#236#254#253#251'JKK'#235#139#163#163'#T'#187#254'y:'#248
|
||||
+#245'o'#243#208#157#187#24'J'#222#162#148#177#192'9a'#209#162'='#203#253#137
|
||||
+#235#232#190#251#17#236'1Ao'#134#127#202'z'#174#24#151'.]"M'#209#229';'#239
|
||||
+#188#251#238#242#242#242#239#0#164#191#234#7#4'`C0'#24#252'y{{'#251#247'M'
|
||||
+#175#161#175'Y'#227#231#221'/'#237'A'#213#250#10#154#140#15#243#23'n'#138#0
|
||||
+'f'#175'R'#138#154#192'V$b)'#186'q'#227'S'#142#197'bpl'#233#158#127#239#252
|
||||
+#249#169#169#169'_'#2#152#4' '#159#230'h'#2'@'#208#227#241#180#237#223#191
|
||||
+#255''''#141'M'#141#193'|>'#7'&'#137#234#234' |'#165#165#0#8'++iD'#163'QHW'
|
||||
,#194'cz'#241#249#231#131#177#174#174#174#179#153'L'#230'='#0#211#171#228'O'
|
||||
+#181#204#199#185'2'#0'!'#191#223#255'ZSS'#211#203'['#182'n'#217#20#8#4'4UU'#9
|
||||
+#0#187#142#139#196'r'#194#25#29#25#157#190'}'#251#246#213'x<'#254#23#0#3#0#18
|
||||
+#143'f'#213'3<'#249'KP'#1#172#1'P'#3#160'V'#211#180'Z'#211'4'#203#1'P.'#151
|
||||
+#139#219#182'='#14'`'#4#192#20#128'%'#0#246#255'd'#250'_E('#20'"'#0#26#0#227
|
||||
+'K?'#7#7'@'#1#128#29#137'D'#228#179#206#255#11#177'e'#15'-1Q'#134#220#0#0#0#0
|
||||
+'IEND'#174'B`'#130
|
||||
]);
|
||||
LazarusResources.Add('tanalogsensor','PNG',[
|
||||
#137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#2#0#0#0'o'#21#170#175
|
||||
+#0#0#0#136'IDATx'#156#229#210'Y'#10#192' '#12#4#208#220#255'T'#189'Y'#170'M'
|
||||
+#234#146#140#11'*'#244#163#131'HP|'#26#144#174'C'#161#127'B'#228#178#2#197's'
|
||||
+#252#140'0iz'#22#216#208#219#25'@'#138'!'#206'.UD'#5'%N'#223#214#131'Da'#26
|
||||
+'C'#222'"'#163#200'`'#208#154#133#140'E'#173#142#178#213#134'J'#171#9'ek'#30
|
||||
+#130'J'#182'"'#132#149#210#26'@b'#157#129'^k'#18#218#11#248#144#203#25'@'#161
|
||||
+'''X'#175'@r>'#21'[/*'#231'-'#200#215#223'A'#243'9'#6#221'`TUS'#201#214#10
|
||||
+#161#0#0#0#0'IEND'#174'B`'#130
|
||||
]);
|
||||
LazarusResources.Add('tindgnoumeter','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#4'sBIT'#8#8#8#8'|'#8'd'#136#0#0#0#9'pHYs'#0#0#10#240#0#0#10#240#1'B'#172
|
||||
+'4'#152#0#0#0#22'tEXtCreation Time'#0'09/30/08'#194'>PQ'#0#0#0#28'tEXtSoftwa'
|
||||
+'re'#0'Adobe Fireworks CS4'#6#178#211#160#0#0#0#195'IDATH'#137#237#149'a'#14
|
||||
+#131' '#12#133#223'[v'#175'y'#179#218#155#193#201#186#31#19#194#176#168'(Y'
|
||||
+#150'l_bR'#8#188#167#180'R'#154#25'*'#242#132#170'BD'#168#170'yNDX.&if'#198
|
||||
+#20#3'@'#26#3#192#189'V'#7#128#24#227#219'XD'#188'eY0'#197'!'#132#149#233#205
|
||||
+#221#233'h'#21'O'#166'|'#211#22#238#23#156#193#204'x'#248#136'z'#133#189#184
|
||||
+#203'`+'#201'{'#28'2h%y'#152#1#170#228#246'p'#180#138'N'#243#25#3#18#171#223
|
||||
+'y'#20'9'#7'$'#204#236'u'#214#143'i'#2#0#132'y'#6'0'#168#138#146#184#199#229
|
||||
+'*'#218#18'_'#248#225'*'#250'_'#21#187'|'#127#146'IZ'#217':k.5'#156'V'#31#238
|
||||
+'6'#24'^E'#186#220'A'#133#168#187#185#213#135'K'#158#127'$a'#132#192'k6'#232
|
||||
+#0#0#0#0'IEND'#174'B`'#130
|
||||
]);
|
||||
LazarusResources.Add('tindled','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#4'sBIT'#8#8#8#8'|'#8'd'#136#0#0#0#9'pHYs'#0#0#11#18#0#0#11#18#1#210#221
|
||||
+'~'#252#0#0#0#28'tEXtSoftware'#0'Adobe Fireworks CS5q'#181#227'6'#0#0#0#22't'
|
||||
+'EXtCreation Time'#0'06/12/11'#132'x2'#182#0#0#0#145'IDATH'#137#237#150'a'#10
|
||||
+#131'0'#12#133#191#140#222#210'A'#189#201#244'&'#10#219'9'#159#191'&'#235#156
|
||||
+#221'\'#27'D'#240'A!%'#229'}$'#165#164'&'#9'O'#5#0'3s'#163'\'#158#129#164#170
|
||||
+'k'#24#238')'#160#166#198#241'1'#199'!'#151#252'G16'#201'~'#1#0'h'#219'k5'
|
||||
+#128'K'#139'^'#245#177#130'Y'#221#6#167#149#179'y'#0#192#237#7#243'~='#229
|
||||
+#222#162#19'p'#2#14#0#248#254#208'2'#143#168#28#208#149#153#195#30'w'#16'cS4'
|
||||
+#201#222#149#180#168't'#216'd+'#240'0'#7'0I'#174#191#138#9#166#153#129#188
|
||||
+#147#131#15#235#0#0#0#0'IEND'#174'B`'#130
|
||||
]);
|
||||
LazarusResources.Add('tlednumber','PNG',[
|
||||
#137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#14#0#0#0#24#8#6#0#0#0#202#199#204
|
||||
+'W'#0#0#0#1'sRGB'#0#174#206#28#233#0#0#0#6'bKGD'#0#255#0#255#0#255#160#189
|
||||
+#167#147#0#0#0#9'pHYs'#0#0#11#19#0#0#11#19#1#0#154#156#24#0#0#0#7'tIME'#7#221
|
||||
+#5#14#11'; A'#194'}'#3#0#0#0'[IDAT8'#203'cd``'#248#207'@'#6'`b '#19'PQ'#227
|
||||
+#127#28'X'#155#144'FF'#28#152#11'S'#217#127#20#219#24'q'#184#13'Mn0'#4#14'}5'
|
||||
+#222#193#163#242#14#190'Pe@'#226#189#128#210#18'H*'#241'j$'#203#169#248#140
|
||||
+#248'?L'#162#131'l'#141#183#169#17#143#216#178#27#245#227'qPk'#4#0#160#183#22
|
||||
+#199']'#6#217'.'#0#0#0#0'IEND'#174'B`'#130
|
||||
]);
|
||||
LazarusResources.Add('tstoplightsensor','PNG',[
|
||||
#137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#20#0#0#0#24#8#2#0#0#0'u)J!'#0#0#0#1
|
||||
+'sRGB'#0#174#206#28#233#0#0#0#6'bKGD'#0#255#0#255#0#255#160#189#167#147#0#0#0
|
||||
+#9'pHYs'#0#0#11#19#0#0#11#19#1#0#154#156#24#0#0#0#7'tIME'#7#221#5#17#8#20#1
|
||||
+#21#139#172#160#0#0#0#130'IDAT8'#203#229#147'1'#14#128' '#20'C'#27#195#225
|
||||
+#184#144#3#19'ur'#240'B'#142#189#25'n'#132#24#249#130#17#23';'#241#19'^'#154
|
||||
+#254#230'C'#146'$'#146'h'#22#201#148#146'$g'#127':=Nr'#6#25'3C^'#242#211'='#9
|
||||
+#196'.'#184'QU'#231#165#176'Z*'#206'Vf<^'#152#193#188#147'yX'#207#193'o'#197
|
||||
+#212#211'sA"'#248#237#195#158#215'}'#206#227#186#207#253'='#227#127'='#179
|
||||
+#200#220#215's&'#1#16'_'#222's'#139#179#153'y'#232'='#31#161#199'XO'#233'z'
|
||||
+#22#155#0#0#0#0'IEND'#174'B`'#130
|
||||
]);
|
BIN
components/IndustrialStuff/source/industrial_icons.res
Normal file
BIN
components/IndustrialStuff/source/industrial_icons.res
Normal file
Binary file not shown.
@ -1,48 +0,0 @@
|
||||
LazarusResources.Add('stop_red','PNG',[
|
||||
#137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#21#0#0#0'+'#8#2#0#0#0#24#5'T'#28#0
|
||||
+#0#0#182'IDATx'#156#237#148#1#14#132' '#12#4#251#244'{'#154'?'#227#4#20'*'
|
||||
+#181#173'[r'#23'c'#220#160'!'#193#217#214#186#145#150'9'#209'z}'#162'J)m<'
|
||||
+#225'Z'#193#31#243#173#207#8#159'_'#143#168#174#211#7','#158#195#154#133#202
|
||||
+'w8'#159#171#22#30'_'#21#231#197#250#23'?;?i'#1#127#191'f'#17#207#143#171#251
|
||||
+#231#191#220#251#30#224#143#240#185#133#149#159#138#149'#'#213#194#226'+'#156
|
||||
+#127'o'#172#11#128#23#205#227#245#165#5#150#127#27'v'#248#193#226#205'?'#206
|
||||
+#239#211'c'#251#235'<'#135'5'#11''''#127'T"lX'#152'<'#203#127#179#192#242#207
|
||||
+'+G'#234'K'#11','#255'6'#236#240#131#197#243#243#191#132#180#241'iB}H1}'#1
|
||||
+#248#31#245'9G<'#16'W'#0#0#0#0'IEND'#174'B`'#130
|
||||
]);
|
||||
LazarusResources.Add('stop_green','PNG',[
|
||||
#137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#21#0#0#0'+'#8#2#0#0#0#24#5'T'#28#0
|
||||
+#0#0#178'IDATx'#156#237#146#11#10#128' '#16'D='#250#30#173#155'm'#153#154#159
|
||||
+'m'#181'Y)('#26#12'DyO'#177'q'#203'\'#220#246#145'5'#204#28'y'#135'g'#3'o'
|
||||
+#230#143'{Z'#248#176'H'#197#28#224'+XQ'#168#252#1#251'-]'#209#227#3#236#127
|
||||
+'oq'#11#128'o/o8_*'#174#242#167#10#224#253#164#2#254#127'Ya'#238#207'0'#239
|
||||
+#232'?'#229'9'#192#215#240#185'b'#212'?'#10'['#170#162#219'?*'#250#159#20'`'
|
||||
+#255#171#147#241#243#165#2#236#127#23#30#240#141#226#239'?'#206#251'Eva'#152
|
||||
+#250#159'`M'#209#237#223#206#248'm]1'#224'y'#143#157#151#227')~'#246#253#164
|
||||
+#226#251#253'_L'#137'<O$?'#146'-+z['#245'98%'#211#193#0#0#0#0'IEND'#174'B`'
|
||||
+#130
|
||||
]);
|
||||
LazarusResources.Add('stop_yellow','PNG',[
|
||||
#137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#21#0#0#0'+'#8#2#0#0#0#24#5'T'#28#0
|
||||
+#0#0#178'IDATx'#156#237#148#13#10#128' '#12'F='#186'G'#243'fK'#209#252'['#219
|
||||
+#220#164#136#232#195'@'#140#247#28':ta/.~'#222#26#0'('#188#211''''#130'7'#243
|
||||
+#181'N'#11#159#23'}7W'#240#3'L(H'#190#194#233#23#173#224#248#12#167#235#237
|
||||
+#170'P'#240's'#241#134#253#177'b'#149#191'T('#206#15'+'#212#247#215#20#230
|
||||
+#254#17#243#254#254#143#127#243#176#244#127#133')'#5#215'?'''#6#140'B'#228'a'
|
||||
+#147#159#199'S'#252#238#249'a'#197#223#255'z'#190','#250'n'#190#206#247'0'
|
||||
+#165#16#222#223#136#165#247#155'V'#176#188'o'#239#127'Uh'#248#177'x'#203#254
|
||||
+'X'#161#235#127#30#22#248'I'#241#253#254#15#166#20#30'6'#210#14#201#150#3'v'
|
||||
+#229#19#159#3#227#232' '#0#0#0#0'IEND'#174'B`'#130
|
||||
]);
|
||||
LazarusResources.Add('stop_unknown','PNG',[
|
||||
#137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#21#0#0#0'+'#8#2#0#0#0#24#5'T'#28#0
|
||||
+#0#0#187'IDATx'#156#237#149#209#10#128' '#12'E'#253't?'#173'?3'#211#210#233
|
||||
+'r'#243'Nz('#26#4#162#156#179'a'#151'r'#219'Z'#185#248'xk'#133#16'N'#222#225
|
||||
+#21#193#135#249'2'#167#133#207#155#158#172#1#190#129#7#138'!_'#224'x,($>'#195
|
||||
+#199'1'#153#2#224#251#225#13#253#185'b'#150#191'U'#0#247#199#21#240#251#171
|
||||
+#10's~'#212'zG'#254'}]'#3'|'#11#223'+'#180#252#249'|4T'#136#249'K'#240#241'y'
|
||||
+'#S'#128#249'o:'#227#253#185#2#204#191#8'+|'#167#248#243#143#243#215#237#145
|
||||
+#245'<O'#225#145'B'#201#159'K'#17#22#20'"O'#242'_'#20'X'#254#249#15#0#235#207
|
||||
+#21'X'#254'eX'#225';'#197#247#243#191#153#234#228#195'B'#213'K'#178#213#14
|
||||
+#160#254#214#226'['#18#251#151#0#0#0#0'IEND'#174'B`'#130
|
||||
]);
|
@ -106,6 +106,8 @@ type
|
||||
|
||||
implementation
|
||||
|
||||
{$R sensors.res}
|
||||
|
||||
uses SysUtils;
|
||||
|
||||
{ TSensorPanel }
|
||||
@ -471,14 +473,12 @@ begin
|
||||
FState := AValue;
|
||||
|
||||
case AValue of
|
||||
slUNKNOWN: Picture.LoadFromLazarusResource('STOP_UNKNOWN');
|
||||
slRED: Picture.LoadFromLazarusResource('STOP_RED');
|
||||
slYELLOW: Picture.LoadFromLazarusResource('STOP_YELLOW');
|
||||
slGREEN: Picture.LoadFromLazarusResource('STOP_GREEN');
|
||||
slUNKNOWN: Picture.LoadFromResourceName(HInstance, 'STOP_UNKNOWN', TPortableNetworkGraphic);
|
||||
slRED: Picture.LoadFromResourceName(HInstance, 'STOP_RED', TPortableNetworkGraphic);
|
||||
slYELLOW: Picture.LoadFromResourceName(HInstance, 'STOP_YELLOW', TPortableNetworkGraphic);
|
||||
slGREEN: Picture.LoadFromResourceName(HInstance, 'STOP_GREEN', TPortableNetworkGraphic);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
initialization
|
||||
{$i sensors.lrs}
|
||||
end.
|
||||
|
BIN
components/IndustrialStuff/source/sensors.res
Normal file
BIN
components/IndustrialStuff/source/sensors.res
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user