move avatar stuff out of chatwindow

This commit is contained in:
ouwou
2020-11-18 16:25:10 -05:00
parent a0ece884d0
commit 1463d8da9e
3 changed files with 12 additions and 21 deletions
+2 -1
View File
@@ -101,11 +101,12 @@ public:
Snowflake ChannelID;
ChatMessageHeader(const Message *data);
void SetAvatarFromPixbuf(Glib::RefPtr<Gdk::Pixbuf> pixbuf);
void AddContent(Gtk::Widget *widget, bool prepend);
void UpdateNameColor();
protected:
void OnAvatarLoad(const Glib::RefPtr<Gdk::Pixbuf> &pixbuf);
void AttachUserMenuHandler(Gtk::Widget &widget);
bool on_author_button_press(GdkEventButton *ev);