From 96687f019e415d830a7ebf57fe7c1372f76ba115 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sat, 25 May 2024 00:09:08 -0400 Subject: add mention overlay to folders in classic --- src/components/channellist/classic/mentionoverlay.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/components/channellist/classic/mentionoverlay.hpp') diff --git a/src/components/channellist/classic/mentionoverlay.hpp b/src/components/channellist/classic/mentionoverlay.hpp index 24eb7e2..ceb4f01 100644 --- a/src/components/channellist/classic/mentionoverlay.hpp +++ b/src/components/channellist/classic/mentionoverlay.hpp @@ -4,15 +4,19 @@ #include #include "discord/snowflake.hpp" +#include "discord/usersettings.hpp" class MentionOverlay : public Gtk::DrawingArea { public: MentionOverlay(Snowflake guild_id); + MentionOverlay(const UserSettingsGuildFoldersEntry &folder); private: + void Init(); + bool OnDraw(const Cairo::RefPtr &cr); - Snowflake m_guild_id; + std::set m_guild_ids; Pango::FontDescription m_font; Glib::RefPtr m_layout; -- cgit v1.2.3