added svg icon for set_on and set_off
git-svn-id: https://svn.fhem.de/fhem/trunk@6544 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -95,7 +95,7 @@ SWAP_0000002200000003_devStateIcon($@)
|
||||
return undef if( !defined($attr{$name}{ProductCode}) );
|
||||
return undef if( $attr{$name}{ProductCode} ne '0000002200000003' );
|
||||
|
||||
return ".*:light_question" if( $state eq "unknown" || $state =~m/^set/ );
|
||||
return ".*:light_exclamation" if( $state eq "unknown" || $state =~m/^set/ );
|
||||
|
||||
return ".*:off:toggle" if( $state eq "off" );
|
||||
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
set-off light_question.svg
|
||||
set-on light_question.svg
|
||||
toggle light_toggle.svg
|
||||
on-for-timer light_on-for-timer.svg
|
||||
off-for-timer light_off-for-timer.svg
|
||||
dimup light_dim_up.svg
|
||||
dimdown light_dim_down.svg
|
||||
set_off light_exclamation.svg
|
||||
set_on light_exclamation.svg
|
||||
|
||||
|
||||
84
fhem/www/images/fhemSVG/light_exclamation.svg
Normal file
84
fhem/www/images/fhemSVG/light_exclamation.svg
Normal file
@@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
version="1.0"
|
||||
width="273pt"
|
||||
height="648pt"
|
||||
viewBox="0 0 273 648"
|
||||
id="svg2"
|
||||
inkscape:version="0.48.2 r9819"
|
||||
sodipodi:docname="light_question.svg">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1091"
|
||||
inkscape:window-height="845"
|
||||
id="namedview3055"
|
||||
showgrid="false"
|
||||
inkscape:zoom="0.81454783"
|
||||
inkscape:cx="170.625"
|
||||
inkscape:cy="405"
|
||||
inkscape:window-x="2234"
|
||||
inkscape:window-y="61"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg2" />
|
||||
<defs
|
||||
id="defs20" />
|
||||
<metadata
|
||||
id="metadata4">
|
||||
Created by potrace 1.8, written by Peter Selinger 2001-2007
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
transform="matrix(0.219661,0,0,-0.219661,0,648)"
|
||||
id="g6"
|
||||
style="fill:#000000;stroke:none">
|
||||
<path
|
||||
d="M 307,2939 C 159,2903 39,2774 10,2620 -3,2549 -3,1381 10,1310 35,1179 109,1081 228,1023 l 76,-38 293,-3 c 250,-3 303,-1 351,13 145,42 251,156 283,303 6,30 9,282 7,697 -3,621 -4,652 -23,698 -41,100 -133,192 -232,232 -43,17 -77,19 -343,21 -162,2 -312,-1 -333,-7 z m 643,-148 c 61,-32 97,-67 126,-123 l 24,-47 0,-656 c 0,-644 0,-656 -21,-700 -11,-24 -39,-61 -61,-81 -76,-68 -81,-69 -398,-69 l -285,0 -51,27 c -58,30 -98,73 -125,133 -17,37 -19,82 -19,688 0,703 -2,678 56,754 31,41 98,81 155,93 24,5 159,8 299,7 246,-2 257,-3 300,-26 z"
|
||||
id="path8" />
|
||||
<path
|
||||
d="m 274,890 c -11,-4 -27,-22 -34,-39 -10,-26 -10,-35 4,-56 20,-30 -11,-23 385,-90 300,-50 327,-54 348,-39 35,22 47,61 29,90 -9,12 -23,25 -33,28 -18,5 -669,117 -675,115 -2,0 -12,-4 -24,-9 z"
|
||||
id="path10" />
|
||||
<path
|
||||
d="m 285,658 c -50,-26 -62,-87 -22,-112 12,-8 174,-40 360,-71 l 339,-58 26,20 c 31,23 42,82 19,102 -8,6 -160,36 -338,66 -178,30 -333,57 -344,60 -11,2 -29,-1 -40,-7 z"
|
||||
id="path12" />
|
||||
<path
|
||||
d="m 265,415 c -27,-26 -32,-62 -12,-88 9,-13 91,-30 337,-73 179,-30 340,-56 359,-57 62,-2 99,85 49,117 -19,11 -651,126 -696,126 -7,0 -24,-11 -37,-25 z"
|
||||
id="path14" />
|
||||
<path
|
||||
d="M 406,179 C 376,156 370,101 395,80 403,73 499,53 607,34 826,-4 848,-2 870,51 c 10,24 10,33 -4,54 -9,13 -26,27 -39,30 -30,6 -377,65 -387,65 -4,0 -19,-9 -34,-21 z"
|
||||
id="path16" />
|
||||
</g>
|
||||
<g
|
||||
id="text2997"
|
||||
style="font-size:215.33731079px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#FF5555;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial">
|
||||
<path
|
||||
d="m 117.5984,288.62583 c -0.48611,0 0,-213.86503 0,-213.86503 l 38.7984,0 0,213.86503 c 0,0 -38.31229,0 -38.7984,0 z m -3.6e-4,68.32333 3.6e-4,-38.79857 38.7984,0 -2e-4,38.79857 z"
|
||||
id="path2990"
|
||||
style="font-size:387.60714722px;fill:#ff5555"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccccccccc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.7 KiB |
Reference in New Issue
Block a user