msg sorting

This commit is contained in:
Green Sky 2023-07-29 20:51:32 +02:00
parent d5e2dd2e1f
commit 56f7db9ae6
No known key found for this signature in database
2 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,7 @@
MainScreen::MainScreen(SDL_Renderer* renderer_, std::string save_path) :
renderer(renderer_),
rmm(cr),
mts(rmm),
tc(save_path),
ad(tc),
tcm(cr, tc, tc),
@ -63,6 +64,8 @@ Screen* MainScreen::poll(bool& quit) {
pm.tick(time_delta);
mts.iterate();
cg.render();
{

View File

@ -5,6 +5,7 @@
#include <solanaceae/util/simple_config_model.hpp>
#include <solanaceae/contact/contact_model3.hpp>
#include <solanaceae/message3/registry_message_model.hpp>
#include <solanaceae/message3/message_time_sort.hpp>
#include <solanaceae/plugin/plugin_manager.hpp>
#include <solanaceae/toxcore/tox_event_logger.hpp>
@ -35,6 +36,7 @@ struct MainScreen final : public Screen {
SimpleConfigModel conf;
Contact3Registry cr;
RegistryMessageModel rmm;
MessageTimeSort mts;
PluginManager pm;