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>
This commit is contained in:
Ocraftyone
2024-05-21 22:52:34 -04:00
committed by GitHub
parent 0dbf610226
commit a764d836e1
39 changed files with 3109 additions and 41 deletions

View File

@@ -210,6 +210,20 @@ namespace ImGui
const wchar_t ExpandArrowIcon = 0x0843;
const wchar_t CompleteIcon = 0x0844;
// void MyFunction(const char* name, const MyMatrix44& v);
// Orca
const wchar_t PlayButton = 0x0850;
const wchar_t PlayDarkButton = 0x0851;
const wchar_t PlayHoverButton = 0x0852;
const wchar_t PlayHoverDarkButton = 0x0853;
const wchar_t PauseButton = 0x0854;
const wchar_t PauseDarkButton = 0x0855;
const wchar_t PauseHoverButton = 0x0856;
const wchar_t PauseHoverDarkButton = 0x0857;
const wchar_t OpenButton = 0x0858;
const wchar_t OpenDarkButton = 0x0859;
const wchar_t OpenHoverButton = 0x085A;
const wchar_t OpenHoverDarkButton = 0x085B;
// void MyFunction(const char* name, const MyMatrix44& v);
}