Commented code for different icon for UpdatedItemsInfo Notification.

This commit is contained in:
David Kocik 2021-11-15 13:54:02 +01:00
parent 3c4095cec2
commit 059e4f8cf1
4 changed files with 14 additions and 12 deletions

View file

@ -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()
{