From 7c31190adcf2dd7c45114f7c0e7e87825f106744 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sat, 24 Oct 2020 19:42:06 -0400 Subject: render emojis --- components/chatmessage.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'components/chatmessage.hpp') diff --git a/components/chatmessage.hpp b/components/chatmessage.hpp index 959a8d6..cd07fce 100644 --- a/components/chatmessage.hpp +++ b/components/chatmessage.hpp @@ -26,7 +26,12 @@ protected: Gtk::Box *CreateAttachmentComponent(const AttachmentData &data); // non-image attachments void HandleImage(const AttachmentData &data, Gtk::Image *img, std::string url); + static Glib::ustring GetTextFiltered(const Glib::RefPtr &buf); + void HandleUserMentions(Gtk::TextView *tv); + void HandleStockEmojis(Gtk::TextView *tv); + void HandleCustomEmojis(Gtk::TextView *tv); + void HandleEmojis(Gtk::TextView *tv); void HandleChannelMentions(Gtk::TextView *tv); bool OnClickChannel(GdkEventButton *ev); -- cgit v1.2.3