inline unread rendering

This commit is contained in:
ouwou
2021-12-18 02:06:16 -05:00
parent f580535d35
commit e9867173c9
4 changed files with 103 additions and 115 deletions

View File

@@ -105,6 +105,9 @@ protected:
const Gdk::Rectangle &cell_area,
Gtk::CellRendererState flags);
static void cairo_path_rounded_rect(const Cairo::RefPtr<Cairo::Context> &cr, double x, double y, double w, double h, double r);
void unread_render_mentions(const Cairo::RefPtr<Cairo::Context> &cr, Gtk::Widget &widget, int mentions, int edge, const Gdk::Rectangle &cell_area);
private:
Gtk::CellRendererText m_renderer_text;