yaze
0.3.2
Link to the Past ROM Editor
Loading...
Searching...
No Matches
usage_statistics_panel.cc
Go to the documentation of this file.
1
#include "
app/editor/overworld/panels/usage_statistics_panel.h
"
2
3
#include "
app/editor/overworld/overworld_editor.h
"
4
#include "
app/editor/overworld/usage_statistics_card.h
"
5
6
namespace
yaze
{
7
namespace
editor {
8
9
void
UsageStatisticsPanel::Draw
(
bool
* p_open) {
10
// Delegate to the existing UsageStatisticsCard
11
// This card already exists and just needs to be wrapped
12
if
(
auto
* card =
editor_
->
usage_stats_card
()) {
13
card->Draw(p_open);
14
}
15
}
16
17
}
// namespace editor
18
}
// namespace yaze
yaze::editor::OverworldEditor::usage_stats_card
UsageStatisticsCard * usage_stats_card()
Access usage statistics card for panel.
Definition
overworld_editor.h:278
yaze::editor::UsageStatisticsPanel::Draw
void Draw(bool *p_open) override
Draw the panel content.
Definition
usage_statistics_panel.cc:9
yaze::editor::UsageStatisticsPanel::editor_
OverworldEditor * editor_
Definition
usage_statistics_panel.h:31
yaze
Definition
application.cc:18
overworld_editor.h
usage_statistics_card.h
usage_statistics_panel.h
src
app
editor
overworld
panels
usage_statistics_panel.cc
Generated by
1.10.0