forked from Green-Sky/tomato
msg sorting
This commit is contained in:
parent
d5e2dd2e1f
commit
56f7db9ae6
@ -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();
|
||||
|
||||
{
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user