yaze
0.3.2
Link to the Past ROM Editor
Loading...
Searching...
No Matches
usage_statistics_view.h
Go to the documentation of this file.
1
#ifndef YAZE_APP_EDITOR_OVERWORLD_UI_ANALYTICS_USAGE_STATISTICS_VIEW_H
2
#define YAZE_APP_EDITOR_OVERWORLD_UI_ANALYTICS_USAGE_STATISTICS_VIEW_H
3
4
#include "
app/editor/system/workspace/editor_panel.h
"
5
#include "
app/gui/core/icons.h
"
6
7
namespace
yaze::editor
{
8
19
class
UsageStatisticsView
:
public
WindowContent
{
20
public
:
21
UsageStatisticsView
() =
default
;
22
23
// WindowContent interface
24
std::string
GetId
()
const override
{
return
"overworld.usage_stats"
; }
25
std::string
GetDisplayName
()
const override
{
return
"Usage Statistics"
; }
26
std::string
GetIcon
()
const override
{
return
ICON_MD_ANALYTICS
; }
27
std::string
GetEditorCategory
()
const override
{
return
"Overworld"
; }
28
void
Draw
(
bool
* p_open)
override
;
29
};
30
31
}
// namespace yaze::editor
32
33
#endif
// YAZE_APP_EDITOR_OVERWORLD_UI_ANALYTICS_USAGE_STATISTICS_VIEW_H
yaze::editor::UsageStatisticsView
Displays tile usage statistics across all overworld maps.
Definition
usage_statistics_view.h:19
yaze::editor::UsageStatisticsView::Draw
void Draw(bool *p_open) override
Draw the panel content.
Definition
usage_statistics_view.cc:9
yaze::editor::UsageStatisticsView::GetIcon
std::string GetIcon() const override
Material Design icon for this panel.
Definition
usage_statistics_view.h:26
yaze::editor::UsageStatisticsView::GetDisplayName
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
Definition
usage_statistics_view.h:25
yaze::editor::UsageStatisticsView::UsageStatisticsView
UsageStatisticsView()=default
yaze::editor::UsageStatisticsView::GetEditorCategory
std::string GetEditorCategory() const override
Editor category this panel belongs to.
Definition
usage_statistics_view.h:27
yaze::editor::UsageStatisticsView::GetId
std::string GetId() const override
Unique identifier for this panel.
Definition
usage_statistics_view.h:24
yaze::editor::WindowContent
Base interface for all logical window content components.
Definition
editor_panel.h:89
icons.h
ICON_MD_ANALYTICS
#define ICON_MD_ANALYTICS
Definition
icons.h:154
yaze::editor
Editors are the view controllers for the application.
Definition
patch_export_usage.cc:9
editor_panel.h
src
app
editor
overworld
ui
analytics
usage_statistics_view.h
Generated by
1.10.0