diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-11-10 01:38:44 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-11-10 01:38:44 -0500 |
commit | eb0feef51166eeabd58993c484e85e0739285aa1 (patch) | |
tree | 200c93680df8ecbcf127cc59e2f940e9f8af4b90 /emojis.hpp | |
parent | 823e1786e016a0dce58ffda0506608f2a2fce932 (diff) | |
download | abaddon-portaudio-eb0feef51166eeabd58993c484e85e0739285aa1.tar.gz abaddon-portaudio-eb0feef51166eeabd58993c484e85e0739285aa1.zip |
use textviews in channel list + parse emojis
Diffstat (limited to 'emojis.hpp')
-rw-r--r-- | emojis.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -15,6 +15,7 @@ public: static Glib::ustring PatternToHex(const Glib::ustring &pattern); static Glib::ustring HexToPattern(Glib::ustring hex); const std::vector<Glib::ustring> &GetPatterns() const; + void ReplaceEmojis(Glib::RefPtr<Gtk::TextBuffer> buf, int size = 24); private: std::unordered_map<std::string, std::pair<int, int>> m_index; // pattern -> [pos, len] |