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

Metadata for an editor card. More...

#include <editor_card_registry.h>

Collaboration diagram for yaze::editor::CardInfo:

Public Attributes

std::string card_id
 
std::string display_name
 
std::string icon
 
std::string category
 
std::string shortcut_hint
 
bool * visibility_flag
 
EditorCardcard_instance
 
std::function< void()> on_show
 
std::function< void()> on_hide
 
int priority
 

Detailed Description

Metadata for an editor card.

Describes a registerable UI card that can be shown/hidden, organized by category, and controlled programmatically.

Definition at line 25 of file editor_card_registry.h.

Member Data Documentation

◆ card_id

std::string yaze::editor::CardInfo::card_id

◆ display_name

◆ icon

◆ category

std::string yaze::editor::CardInfo::category

◆ shortcut_hint

std::string yaze::editor::CardInfo::shortcut_hint

◆ visibility_flag

◆ card_instance

EditorCard* yaze::editor::CardInfo::card_instance

Definition at line 32 of file editor_card_registry.h.

◆ on_show

◆ on_hide

◆ priority

int yaze::editor::CardInfo::priority

The documentation for this struct was generated from the following file: