Added status ring

master
Mark 2024-01-08 15:16:35 -08:00
parent 4a00d9014a
commit 1674e86c1e
Signed by: Mark
GPG Key ID: C6D63995FE72FD80
3 changed files with 210 additions and 96 deletions

BIN
render/ui/status.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -1,96 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="512"
height="512"
id="svg2"
version="1.1"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
sodipodi:docname="template.svg"
inkscape:export-filename="../sprite.png"
inkscape:export-xdpi="378.09"
inkscape:export-ydpi="378.09"
viewBox="0 0 512 512"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#1a1a1a"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.0195255"
inkscape:cx="172.62933"
inkscape:cy="240.79829"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1280"
inkscape:window-height="1384"
inkscape:window-x="1280"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:showpageshadow="true"
inkscape:pagecheckerboard="false"
inkscape:deskcolor="#292929"
labelstyle="default"
shape-rendering="auto"
inkscape:clip-to-page="false"
borderlayer="true"
showborder="true">
<inkscape:grid
type="xygrid"
id="grid2985"
empspacing="5"
visible="false"
enabled="true"
snapvisiblegridlinesonly="true"
originx="0"
originy="0"
spacingy="1"
spacingx="1"
units="px" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-792.36218)" />
</svg>

Before

Width:  |  Height:  |  Size: 2.9 KiB

210
sources/ui/status.svg Normal file
View File

@ -0,0 +1,210 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="512"
height="512"
id="svg2"
version="1.1"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
sodipodi:docname="status.svg"
inkscape:export-filename="../sprite.png"
inkscape:export-xdpi="378.09"
inkscape:export-ydpi="378.09"
viewBox="0 0 512 512"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs4">
<linearGradient
id="linearGradient3934">
<stop
style="stop-color:#808080;stop-opacity:0.50196081;"
offset="0"
id="stop3936" />
<stop
style="stop-color:#404040;stop-opacity:0;"
offset="1"
id="stop3938" />
</linearGradient>
<linearGradient
id="linearGradient3962">
<stop
style="stop-color:#303030;stop-opacity:0.50196081;"
offset="0"
id="stop3964" />
<stop
id="stop3978"
offset="0.5"
style="stop-color:#202020;stop-opacity:0.50196081;" />
<stop
style="stop-color:#303030;stop-opacity:0.50196081;"
offset="1"
id="stop3966" />
</linearGradient>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#1a1a1a"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.59287071"
inkscape:cx="-53.974668"
inkscape:cy="110.4794"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="2560"
inkscape:window-height="1384"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:showpageshadow="true"
inkscape:pagecheckerboard="false"
inkscape:deskcolor="#292929"
labelstyle="default"
shape-rendering="auto"
inkscape:clip-to-page="false"
borderlayer="true"
showborder="true">
<inkscape:grid
type="xygrid"
id="grid2985"
empspacing="5"
visible="false"
enabled="true"
snapvisiblegridlinesonly="true"
originx="0"
originy="0"
spacingy="1"
spacingx="1"
units="px" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-792.36218)">
<circle
style="fill:none;stroke:#505050;stroke-width:3.7647;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="path3076"
cx="256"
cy="1048.3624"
r="188.23529"
inkscape:export-filename="../path3076.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<circle
style="fill:none;stroke:#505050;stroke-width:13.9295;stroke-miterlimit:4;stroke-dasharray:55.7176, 55.7176;stroke-dashoffset:0;stroke-opacity:1"
id="path3076-3"
cx="256"
cy="1048.5713"
r="179.70189" />
<circle
id="path3905"
style="fill:none;stroke:#505050;stroke-width:3.7647;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
cx="256"
cy="1048.3624"
r="244.70587" />
<g
id="g4032"
transform="matrix(3.8208955,0,0,3.820894,-393.55225,-3240.065)"
style="fill:#000000;fill-opacity:1">
<path
inkscape:connector-curvature="0"
id="path3907"
d="m 170,1057.3622 v -2"
style="fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-width:0.985294;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.501961" />
<path
inkscape:connector-curvature="0"
id="path3909"
d="m 170,1187.3622 v 2"
style="fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-width:0.985294;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.501961" />
<path
style="fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-width:0.985294;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.501961"
d="m 137.5,1066.0705 -1,-1.732"
id="path3911"
inkscape:connector-curvature="0" />
<path
style="fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-width:0.985294;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.501961"
d="m 202.5,1178.6539 1,1.732"
id="path3913"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
id="path3915"
d="m 113.70832,1089.8622 -1.73202,-1"
style="fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-width:0.985294;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.501961" />
<path
inkscape:connector-curvature="0"
id="path3917"
d="m 226.29168,1154.8622 1.73202,1"
style="fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-width:0.985294;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.501961" />
<path
style="fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-width:0.985294;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.501961"
d="M 104.99998,1122.3622 H 103"
id="path3919"
inkscape:connector-curvature="0" />
<path
style="fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-width:0.985294;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.501961"
d="M 235.00002,1122.3622 H 237"
id="path3921"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
id="path3923"
d="m 113.70833,1154.8622 -1.73203,1"
style="fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-width:0.985294;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.501961" />
<path
inkscape:connector-curvature="0"
id="path3925"
d="m 226.29167,1089.8622 1.73203,-1"
style="fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-width:0.985294;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.501961" />
<path
style="fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-width:0.985294;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.501961"
d="m 137.49998,1178.6539 -0.99998,1.732"
id="path3927"
inkscape:connector-curvature="0" />
<path
style="fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-width:0.985294;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.501961"
d="m 202.50002,1066.0705 0.99998,-1.732"
id="path3929"
inkscape:connector-curvature="0" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 8.0 KiB