diff --git a/src/imgui/imconfig.h b/src/imgui/imconfig.h index e95ae3adfa..09c80a9d9b 100644 --- a/src/imgui/imconfig.h +++ b/src/imgui/imconfig.h @@ -139,16 +139,16 @@ namespace ImGui const wchar_t EjectHoverButton = 0x13; const wchar_t CancelButton = 0x14; const wchar_t CancelHoverButton = 0x15; - const wchar_t VarLayerHeightMarker = 0x16; +// const wchar_t VarLayerHeightMarker = 0x16; const wchar_t RightArrowButton = 0x18; const wchar_t RightArrowHoverButton = 0x19; const wchar_t PreferencesButton = 0x1A; const wchar_t PreferencesHoverButton = 0x1B; - const wchar_t SinkingObjectMarker = 0x1C; - const wchar_t CustomSupportsMarker = 0x1D; - const wchar_t CustomSeamMarker = 0x1E; - const wchar_t MmuSegmentationMarker = 0x1F; +// const wchar_t SinkingObjectMarker = 0x1C; +// const wchar_t CustomSupportsMarker = 0x1D; +// const wchar_t CustomSeamMarker = 0x1E; +// const wchar_t MmuSegmentationMarker = 0x1F; // Do not forget use following letters only in wstring const wchar_t DocumentationButton = 0x2600; const wchar_t DocumentationHoverButton = 0x2601; diff --git a/src/slic3r/GUI/ImGuiWrapper.cpp b/src/slic3r/GUI/ImGuiWrapper.cpp index da377c2ad0..f6e927df06 100644 --- a/src/slic3r/GUI/ImGuiWrapper.cpp +++ b/src/slic3r/GUI/ImGuiWrapper.cpp @@ -65,11 +65,11 @@ static const std::map font_icons_large = { {ImGui::ErrorMarker , "notification_error" }, {ImGui::CancelButton , "notification_cancel" }, {ImGui::CancelHoverButton , "notification_cancel_hover" }, - {ImGui::SinkingObjectMarker , "move" }, - {ImGui::CustomSupportsMarker , "fdm_supports" }, - {ImGui::CustomSeamMarker , "seam" }, - {ImGui::MmuSegmentationMarker , "mmu_segmentation" }, - {ImGui::VarLayerHeightMarker , "layers" }, +// {ImGui::SinkingObjectMarker , "move" }, +// {ImGui::CustomSupportsMarker , "fdm_supports" }, +// {ImGui::CustomSeamMarker , "seam" }, +// {ImGui::MmuSegmentationMarker , "mmu_segmentation" }, +// {ImGui::VarLayerHeightMarker , "layers" }, {ImGui::DocumentationButton , "notification_documentation" }, {ImGui::DocumentationHoverButton, "notification_documentation_hover"}, {ImGui::InfoMarker , "notification_info" }, diff --git a/src/slic3r/GUI/NotificationManager.cpp b/src/slic3r/GUI/NotificationManager.cpp index f7458cab26..904a21cc67 100644 --- a/src/slic3r/GUI/NotificationManager.cpp +++ b/src/slic3r/GUI/NotificationManager.cpp @@ -1082,6 +1082,8 @@ void NotificationManager::UpdatedItemsInfoNotification::add_type(InfoItemType ty NotificationData data { get_data().type, get_data().level , get_data().duration, text }; update(data); } +// Uncomment to have different icon for every type of info, otherwise it will have standart cube with i. +/* void NotificationManager::UpdatedItemsInfoNotification::render_left_sign(ImGuiWrapper& imgui) { std::string text; @@ -1098,7 +1100,7 @@ void NotificationManager::UpdatedItemsInfoNotification::render_left_sign(ImGuiWr ImGui::SetCursorPosY(m_window_height / 2 - m_line_height); imgui.text(text.c_str()); } - +*/ //------SlicingProgressNotification void NotificationManager::SlicingProgressNotification::init() { diff --git a/src/slic3r/GUI/NotificationManager.hpp b/src/slic3r/GUI/NotificationManager.hpp index f162182dcc..ee79869996 100644 --- a/src/slic3r/GUI/NotificationManager.hpp +++ b/src/slic3r/GUI/NotificationManager.hpp @@ -674,7 +674,7 @@ private: PopNotification::close(); } protected: - void render_left_sign(ImGuiWrapper& imgui) override; + //void render_left_sign(ImGuiWrapper& imgui) override; std::vector> m_types_and_counts; };