mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-26 16:13:58 -06:00
ENH:optimize image config for different printers
jira:[STUDIO-4051] Change-Id: Ibfcbc4c571a5c47eff95891e6f9079c3432e76a9
This commit is contained in:
parent
60333adc96
commit
3dfe33fbe1
20 changed files with 616 additions and 14 deletions
|
@ -5162,6 +5162,18 @@ std::string DeviceManager::get_printer_thumbnail_img(std::string type_str)
|
|||
{
|
||||
return get_string_from_config(type_str, "printer_thumbnail_image");
|
||||
}
|
||||
|
||||
std::string DeviceManager::get_printer_diagram_img(std::string type_str)
|
||||
{
|
||||
return get_string_from_config(type_str, "printer_connect_help_image");
|
||||
}
|
||||
|
||||
std::string DeviceManager::get_printer_ams_img(std::string type_str)
|
||||
{
|
||||
return get_string_from_config(type_str, "printer_use_ams_image");
|
||||
}
|
||||
|
||||
|
||||
bool DeviceManager::is_function_supported(std::string type_str, std::string function_name)
|
||||
{
|
||||
if (DeviceManager::function_table.contains("printers")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue