mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-19 20:11:59 +03:00
use textviews in channel list + parse emojis
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user