summaryrefslogtreecommitdiff
path: root/components/chatmessage.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2020-11-06 00:20:31 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2020-11-06 00:20:31 -0500
commitaf6c76fcdac4ef2d1ad11913a7e8613ce78c40bc (patch)
tree9816bcde00b60ab11db8faf30bf38290917ac9dd /components/chatmessage.hpp
parent1a197b1494655f7cbb286f0040930eff878ad848 (diff)
downloadabaddon-portaudio-af6c76fcdac4ef2d1ad11913a7e8613ce78c40bc.tar.gz
abaddon-portaudio-af6c76fcdac4ef2d1ad11913a7e8613ce78c40bc.zip
add copy link, underline links, tweak emojis
Diffstat (limited to 'components/chatmessage.hpp')
-rw-r--r--components/chatmessage.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/chatmessage.hpp b/components/chatmessage.hpp
index 54a21f0..dda6264 100644
--- a/components/chatmessage.hpp
+++ b/components/chatmessage.hpp
@@ -37,6 +37,12 @@ protected:
void HandleChannelMentions(Gtk::TextView *tv);
bool OnClickChannel(GdkEventButton *ev);
+ Gtk::Menu m_link_menu;
+ Gtk::MenuItem *m_link_menu_copy;
+
+ void on_link_menu_copy();
+ Glib::ustring m_selected_link;
+
void HandleLinks(Gtk::TextView *tv);
bool OnLinkClick(GdkEventButton *ev);
std::map<Glib::RefPtr<Gtk::TextTag>, std::string> m_link_tagmap;