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

Shared empty / disabled panel presentation. More...

#include <empty_state.h>

Public Attributes

const char * icon = nullptr
 
const char * title = nullptr
 
const char * detail = nullptr
 
const char * action_label = nullptr
 
std::function< void()> on_action
 
bool compact = false
 Tighter vertical rhythm for drawers / inspectors.
 

Detailed Description

Shared empty / disabled panel presentation.

Widgets stay editor-agnostic: pass copy + optional action; the caller owns what the action does (open ROM, switch editor, etc.).

Definition at line 15 of file empty_state.h.

Member Data Documentation

◆ icon

◆ title

◆ detail

◆ action_label

const char* yaze::gui::EmptyStateOptions::action_label = nullptr

Definition at line 19 of file empty_state.h.

Referenced by yaze::gui::DrawEmptyState().

◆ on_action

std::function<void()> yaze::gui::EmptyStateOptions::on_action

Definition at line 20 of file empty_state.h.

Referenced by yaze::gui::DrawEmptyState().

◆ compact


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