summaryrefslogtreecommitdiff
path: root/src/components/unreadrenderer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/unreadrenderer.hpp')
-rw-r--r--src/components/unreadrenderer.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/unreadrenderer.hpp b/src/components/unreadrenderer.hpp
index 30446fa..1b4ddc2 100644
--- a/src/components/unreadrenderer.hpp
+++ b/src/components/unreadrenderer.hpp
@@ -1,10 +1,11 @@
#pragma once
#include <cairomm/context.h>
#include <gdkmm/rectangle.h>
+#include <gtkmm/widget.h>
#include "discord/snowflake.hpp"
class UnreadRenderer {
public:
- static void RenderUnreadOnGuild(Snowflake id, const Cairo::RefPtr<Cairo::Context> &cr, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area);
- static void RenderUnreadOnChannel(Snowflake id, const Cairo::RefPtr<Cairo::Context> &cr, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area);
+ static void RenderUnreadOnGuild(Snowflake id, Gtk::Widget &widget, const Cairo::RefPtr<Cairo::Context> &cr, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area);
+ static void RenderUnreadOnChannel(Snowflake id, Gtk::Widget &widget, const Cairo::RefPtr<Cairo::Context> &cr, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area);
};