Updated Items Info notification

Showing only when new object is added (typically loading projects).
All info in 1 notification.
This commit is contained in:
David Kocik 2021-08-11 09:23:51 +02:00
parent 2ab0ea4c47
commit d735dbe147
5 changed files with 50 additions and 21 deletions

View file

@ -499,13 +499,14 @@ private:
public:
UpdatedItemsInfoNotification(const NotificationData& n, NotificationIDProvider& id_provider, wxEvtHandler* evt_handler, InfoItemType info_item_type)
: PopNotification(n, id_provider, evt_handler)
, m_info_item_type(info_item_type)
{
//m_types_and_counts.emplace_back(info_item_type, 1);
}
void count_spaces() override;
void add_type(InfoItemType type);
protected:
void render_left_sign(ImGuiWrapper& imgui) override;
InfoItemType m_info_item_type;
std::vector<std::pair<InfoItemType, size_t>> m_types_and_counts;
};
// in HintNotification.hpp