From 64267d8f5dc75f0d8e7b4b88863ce15b1d892f91 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Fri, 5 Apr 2024 16:05:27 +0200 Subject: [PATCH] Follow-up e9361b4f - Fixed a build, when VGCODE_ENABLE_COG_AND_TOOL_MARKERS is on --- src/slic3r/GUI/GCodeViewer.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/slic3r/GUI/GCodeViewer.cpp b/src/slic3r/GUI/GCodeViewer.cpp index 722993938d..9ea70c69c2 100644 --- a/src/slic3r/GUI/GCodeViewer.cpp +++ b/src/slic3r/GUI/GCodeViewer.cpp @@ -1153,31 +1153,31 @@ void GCodeViewer::render() ImGuiPureWrap::set_next_window_pos(static_cast(cnv_size.get_width()), static_cast(cnv_size.get_height()), ImGuiCond_Always, 1.0f, 1.0f); ImGuiPureWrap::begin(std::string("LibVGCode Viewer Controller"), ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoResize); - imgui.checkbox("Cog marker fixed screen size", m_cog_marker_fixed_screen_size); + ImGuiPureWrap::checkbox("Cog marker fixed screen size", m_cog_marker_fixed_screen_size); if (ImGui::BeginTable("Cog", 2)) { ImGui::TableNextRow(); ImGui::TableSetColumnIndex(0); - ImGuiPureWrap::text_colored(Slic3r::GUI::ImGuiPureWrap::COL_ORANGE_LIGHT, "Cog marker size"); + ImGuiPureWrap::text_colored(ImGuiPureWrap::COL_ORANGE_LIGHT, "Cog marker size"); ImGui::TableSetColumnIndex(1); imgui.slider_float("##CogSize", &m_cog_marker_size, 1.0f, 5.0f); ImGui::EndTable(); } - imgui.checkbox("Tool marker fixed screen size", m_tool_marker_fixed_screen_size); + ImGuiPureWrap::checkbox("Tool marker fixed screen size", m_tool_marker_fixed_screen_size); if (ImGui::BeginTable("Tool", 2)) { ImGui::TableNextRow(); ImGui::TableSetColumnIndex(0); - ImGuiPureWrap::text_colored(Slic3r::GUI::ImGuiPureWrap::COL_ORANGE_LIGHT, "Tool marker size"); + ImGuiPureWrap::text_colored(ImGuiPureWrap::COL_ORANGE_LIGHT, "Tool marker size"); ImGui::TableSetColumnIndex(1); imgui.slider_float("##ToolSize", &m_tool_marker_size, 1.0f, 5.0f); ImGui::EndTable(); } - imgui.end(); + ImGuiPureWrap::end(); } #endif // VGCODE_ENABLE_COG_AND_TOOL_MARKERS }