mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
ENH:optimize image config for different printers
jira:[STUDIO-4051] Change-Id: Ibfcbc4c571a5c47eff95891e6f9079c3432e76a9
This commit is contained in:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user