loading logic implemented but broken (very funky and sometimes even out of contact)
This commit is contained in:
@ -10,6 +10,9 @@
|
||||
#include "./file_selector.hpp"
|
||||
#include "./send_image_popup.hpp"
|
||||
|
||||
// HACK: move to public msg api?
|
||||
#include "./fragment_store/message_fragment_store.hpp"
|
||||
|
||||
#include <entt/container/dense_map.hpp>
|
||||
|
||||
#include <cstdint>
|
||||
@ -32,7 +35,12 @@ class ChatGui4 {
|
||||
FileSelector _fss;
|
||||
SendImagePopup _sip;
|
||||
|
||||
// TODO: refactor this to allow multiple open contacts
|
||||
std::optional<Contact3> _selected_contact;
|
||||
// set to the ts of the newest rendered msg
|
||||
Message3Handle _view_begin{};
|
||||
// set to the ts of the oldest rendered msg
|
||||
Message3Handle _view_end{};
|
||||
|
||||
// TODO: per contact
|
||||
std::string _text_input_buffer;
|
||||
|
Reference in New Issue
Block a user