Port statistics and the news tablet to the Modern UI (by Codex)

This commit is contained in:
Codex committed 2026-10-25 20:10:57 +01:00
1 parent 349c416f3a
commit a45217c362
32 files changed
+2493 -23

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
// SPDX-License-Identifier: GPL-3.0-only
Json statistics_view_ = Json::object();
Json statistics_trophy_ = Json::object();
Json statistics_scrolls_ = Json::object();
bool statistics_restore_pending_ = false;
std::string render_statistics();
std::vector<std::pair<std::string, std::string>> statistics_picker_items(const std::string &) const;
std::string statistics_picker_value(const std::string &) const;
bool statistics_picker_select(const std::string &, const std::string &);
bool statistics_action(const std::string &, Rml::Element *);
bool statistics_event(Rml::Event &);
void statistics_remember_scroll();
void statistics_restore_scroll();
std::string statistics_trophy_asset(const std::string &) const;
std::string render_statistics_trophy();