start texture cache for contacts (avatars)

This commit is contained in:
2023-07-31 20:47:22 +02:00
parent c0b57c30bd
commit ef59386e5c
5 changed files with 216 additions and 5 deletions

View File

@ -4,6 +4,7 @@
#include <solanaceae/util/config_model.hpp>
#include "./texture_uploader.hpp"
#include "./texture_cache.hpp"
#include "./file_selector.hpp"
#include <vector>
@ -14,6 +15,9 @@ class ChatGui4 {
RegistryMessageModel& _rmm;
Contact3Registry& _cr;
TextureCache<void*, Contact3> _contact_tc;
//TextureCache<Message3Handle> _msg_tc;
FileSelector _fss;
std::optional<Contact3> _selected_contact;