mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 14:13:57 -06:00
GalleryDialog: Changes the paths to the system and custom galleries
This commit is contained in:
parent
8f5715b0d7
commit
4257ffddde
18 changed files with 25 additions and 20 deletions
|
@ -175,16 +175,16 @@ const std::string& localization_dir()
|
|||
return g_local_dir;
|
||||
}
|
||||
|
||||
static std::string g_gallery_dir;
|
||||
static std::string g_sys_shapes_dir;
|
||||
|
||||
void set_gallery_dir(const std::string &dir)
|
||||
void set_sys_shapes_dir(const std::string &dir)
|
||||
{
|
||||
g_gallery_dir = dir;
|
||||
g_sys_shapes_dir = dir;
|
||||
}
|
||||
|
||||
const std::string& gallery_dir()
|
||||
const std::string& sys_shapes_dir()
|
||||
{
|
||||
return g_gallery_dir;
|
||||
return g_sys_shapes_dir;
|
||||
}
|
||||
|
||||
// Translate function callback, to call wxWidgets translate function to convert non-localized UTF8 string to a localized one.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue