yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::UsageStatisticsCard Class Reference

#include <usage_statistics_card.h>

Collaboration diagram for yaze::editor::UsageStatisticsCard:

Public Member Functions

 UsageStatisticsCard (zelda3::Overworld *overworld)
 
 ~UsageStatisticsCard ()=default
 
void Draw (bool *p_open=nullptr)
 

Private Member Functions

void DrawUsageGrid ()
 
void DrawUsageStates ()
 

Private Attributes

zelda3::Overworldoverworld_
 

Detailed Description

Definition at line 8 of file usage_statistics_card.h.

Constructor & Destructor Documentation

◆ UsageStatisticsCard()

yaze::editor::UsageStatisticsCard::UsageStatisticsCard ( zelda3::Overworld * overworld)

Definition at line 10 of file usage_statistics_card.cc.

◆ ~UsageStatisticsCard()

yaze::editor::UsageStatisticsCard::~UsageStatisticsCard ( )
default

Member Function Documentation

◆ Draw()

void yaze::editor::UsageStatisticsCard::Draw ( bool * p_open = nullptr)

Definition at line 13 of file usage_statistics_card.cc.

References DrawUsageGrid(), DrawUsageStates(), yaze::zelda3::Overworld::is_loaded(), and overworld_.

Here is the call graph for this function:

◆ DrawUsageGrid()

void yaze::editor::UsageStatisticsCard::DrawUsageGrid ( )
private
Todo
Add actual usage data visualization here

Definition at line 35 of file usage_statistics_card.cc.

Referenced by Draw().

◆ DrawUsageStates()

void yaze::editor::UsageStatisticsCard::DrawUsageStates ( )
private
Todo
Query actual data

Definition at line 61 of file usage_statistics_card.cc.

Referenced by Draw().

Member Data Documentation

◆ overworld_

zelda3::Overworld* yaze::editor::UsageStatisticsCard::overworld_
private

Definition at line 19 of file usage_statistics_card.h.

Referenced by Draw().


The documentation for this class was generated from the following files: