orcaslicer/resources/images/notification_play_hover_dark.svg
Ocraftyone a764d836e1
ENH: Open Prinables.com Links and Zip Archives (#3823)
* Enable ability to open `prusaslicer://` links

* Add needed function to miniz

* Import Zip Functionality

Allows zip file to be drag and dropped or imported via the menu option

Based on prusa3d/PrusaSlicer@ce38e57 and current master branch files

* Update dialog style to match Orca

* Ensure link is from printables

* add toggle option in preferences

doesn't actually control anything yet

* Add Downloader classes

As-is from PS master

* Create Orca Styled Variant of Icons

* Add Icons to ImGui

* Use PS's Downloader impl for `prusaslicer://` links

* Implement URL Registering on Windows

* Implement prusaslicer:// link on macOS

* Remove unnecessary class name qualifier in Plater.hpp

* Add downloader desktop integration registration and undo

* Revert Info.plist

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-05-22 10:52:34 +08:00

46 lines
3.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xml:space="preserve"
style="enable-background:new 0 0 800 800;"
viewBox="0 0 800 800"
y="0px"
x="0px"
id="Layer_1"
version="1.1"
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/"><metadata
id="metadata15"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs13" />
<style
id="style2"
type="text/css">
.st0{fill:#323a3e;}
</style>
<circle
style="fill:#3e3e45;fill-opacity:1;stroke-width:9.17961"
id="path1"
cx="400"
cy="400"
r="381.60001" /><path
id="path6"
d="M 519.71435,400.1888 335.90365,538.62534 V 261.9535 l 183.8107,138.23531 m 78.87661,0 c 0,-7.24377 -3.21945,-14.38694 -9.65835,-19.21612 L 317.29119,176.63795 c -15.89606,-11.97235 -38.53284,-0.60365 -38.53284,19.21612 v 408.77008 c 0,19.81976 22.63678,31.18846 38.53284,19.21611 L 588.93261,419.30432 c 6.43891,-4.72858 9.65836,-11.87174 9.65835,-19.11551 z"
class="st0"
style="fill:#818183;fill-opacity:1;stroke-width:1.00608" />
<path
id="path19"
d="m 281.84868,185.10573 c 2.44351,-4.88988 5.71721,-8.13024 11.13691,-11.02344 4.06748,-2.17136 15.17413,-2.12275 19.56266,0.0857 3.81603,1.92031 275.45697,206.15603 279.08658,209.83384 3.97422,4.02692 5.77991,8.28678 6.19293,14.60974 0.32157,4.92269 0.085,6.30769 -1.79177,10.48965 -1.1892,2.64996 -3.29912,5.88665 -4.68867,7.19266 -5.07281,4.76777 -274.92684,207.43959 -278.7973,209.38856 -5.51402,2.77659 -14.32479,2.82602 -19.56443,0.10984 -4.58637,-2.37764 -9.23863,-6.79814 -11.44598,-10.87586 l -1.7289,-3.19391 -0.20548,-210.85791 -0.20548,-210.85789 z m 54.05497,353.51961 c 1.18777,-0.0724 183.44981,-137.87757 183.44981,-138.70325 0,-0.84255 -182.30861,-138.30401 -183.44981,-138.32193 -0.32937,-0.005 -0.59886,62.33157 -0.59886,138.52611 0,76.19454 0.26949,138.51914 0.59886,138.49907 z"
style="fill:#818183;fill-opacity:1;stroke-width:0.798472" /><path
style="fill:#818183;fill-opacity:1;stroke-width:1.00608"
class="st0"
d="M 519.71435,400.18878 335.90365,538.62532 V 261.95348 l 183.8107,138.23532 m 78.87661,0 c 0,-7.24378 -3.21945,-14.38694 -9.65835,-19.21612 L 317.29119,176.63794 c -15.89606,-11.97235 -38.53284,-0.60365 -38.53284,19.21611 v 408.77009 c 0,19.81976 22.63678,31.18846 38.53284,19.21611 L 588.93261,419.30431 c 6.43891,-4.72858 9.65836,-11.87174 9.65835,-19.11551 z"
id="path6-2" /><path
style="fill:#818183;fill-opacity:1;stroke-width:0.798472"
d="m 281.84868,185.10572 c 2.44351,-4.88988 5.71721,-8.13024 11.13691,-11.02344 4.06748,-2.17137 15.17413,-2.12275 19.56266,0.0857 3.81603,1.92031 275.45697,206.15603 279.08658,209.83384 3.97422,4.02692 5.77991,8.28678 6.19293,14.60974 0.32157,4.92269 0.085,6.30769 -1.79177,10.48964 -1.1892,2.64997 -3.29912,5.88666 -4.68867,7.19267 -5.07281,4.76777 -274.92684,207.43958 -278.7973,209.38856 -5.51402,2.77659 -14.32479,2.82602 -19.56443,0.10984 -4.58637,-2.37764 -9.23863,-6.79814 -11.44598,-10.87586 l -1.7289,-3.19391 -0.20548,-210.85791 -0.20548,-210.85789 z m 54.05497,353.5196 c 1.18777,-0.0724 183.44981,-137.87756 183.44981,-138.70324 0,-0.84255 -182.30861,-138.30401 -183.44981,-138.32193 -0.32937,-0.005 -0.59886,62.33157 -0.59886,138.5261 0,76.19455 0.26949,138.51915 0.59886,138.49907 z"
id="path19-3" /></svg>