summaryrefslogtreecommitdiff
path: root/src/components/channellist/classic/mentionoverlay.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/channellist/classic/mentionoverlay.hpp')
-rw-r--r--src/components/channellist/classic/mentionoverlay.hpp6
1 files changed, 5 insertions, 1 deletions
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 <pangomm/fontdescription.h>
#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<Cairo::Context> &cr);
- Snowflake m_guild_id;
+ std::set<Snowflake> m_guild_ids;
Pango::FontDescription m_font;
Glib::RefPtr<Pango::Layout> m_layout;