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

Runtime state for a registered popup. More...

#include <popup_manager.h>

Public Attributes

std::string name
 
PopupType type
 
bool is_visible = false
 
bool allow_resize = false
 
std::function< void()> draw_function
 
uint64_t shown_order = 0
 

Detailed Description

Runtime state for a registered popup.

Definition at line 49 of file popup_manager.h.

Member Data Documentation

◆ name

std::string yaze::editor::PopupParams::name

◆ type

PopupType yaze::editor::PopupParams::type

Definition at line 51 of file popup_manager.h.

Referenced by yaze::editor::PopupManager::RegisterPopup().

◆ is_visible

bool yaze::editor::PopupParams::is_visible = false

Definition at line 52 of file popup_manager.h.

◆ allow_resize

bool yaze::editor::PopupParams::allow_resize = false

◆ draw_function

std::function<void()> yaze::editor::PopupParams::draw_function

◆ shown_order

uint64_t yaze::editor::PopupParams::shown_order = 0

Definition at line 55 of file popup_manager.h.

Referenced by yaze::editor::PopupManager::DrawPopups().


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