diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-10-24 19:42:06 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-10-24 19:42:06 -0400 |
commit | 7c31190adcf2dd7c45114f7c0e7e87825f106744 (patch) | |
tree | 5312d9ded299d0ba80cbfe5058733a8d626c7d5c /components/chatmessage.hpp | |
parent | cb73bba135933357878dc47f6e7a6bec3168d001 (diff) | |
download | abaddon-portaudio-7c31190adcf2dd7c45114f7c0e7e87825f106744.tar.gz abaddon-portaudio-7c31190adcf2dd7c45114f7c0e7e87825f106744.zip |
render emojis
Diffstat (limited to 'components/chatmessage.hpp')
-rw-r--r-- | components/chatmessage.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
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<Gtk::TextBuffer> &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); |