yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
usage_statistics_view.cc
Go to the documentation of this file.
2
6
7namespace yaze::editor {
8
9void UsageStatisticsView::Draw(bool* p_open) {
10 const auto ctx = CurrentOverworldWindowContext();
11 if (!ctx)
12 return;
13
14 // Delegate to the existing UsageStatisticsCard
15 if (auto* card = ctx.editor->usage_stats_card()) {
16 card->Draw(p_open);
17 }
18}
19
21
22} // namespace yaze::editor
Displays tile usage statistics across all overworld maps.
void Draw(bool *p_open) override
Draw the panel content.
Editors are the view controllers for the application.
OverworldWindowContext CurrentOverworldWindowContext()
#define REGISTER_PANEL(PanelClass)
Auto-registration macro for panels with default constructors.