add copy link, underline links, tweak emojis

This commit is contained in:
ouwou
2020-11-06 00:20:31 -05:00
parent 1a197b1494
commit af6c76fcda
2 changed files with 37 additions and 8 deletions

View File

@@ -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;