yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::app::gui::zeml::WidgetAttributes Struct Reference

Attributes for a widget. More...

#include <zeml.h>

Public Attributes

std::string id
 
std::string title
 
std::string text
 
double min
 
double max
 
double value
 
float width
 
int count = 0
 
ImVec2 size = ImVec2(0, 0)
 
bool * selected = nullptr
 
std::shared_ptr< void > flags = nullptr
 
void * data = nullptr
 

Detailed Description

Attributes for a widget.

id, title, min, max, value, text, count, size, flags, data

id: unique identifier for the widget

title: title for the widget

text: text for the widget

min: minimum value for the widget

max: maximum value for the widget

value: value for the widget

count: number of columns

size: size of the widget

flags: flags for the widget

data: data to be binded using the data_binding map

Definition at line 90 of file zeml.h.

Member Data Documentation

◆ id

std::string yaze::app::gui::zeml::WidgetAttributes::id

◆ title

std::string yaze::app::gui::zeml::WidgetAttributes::title

Definition at line 92 of file zeml.h.

Referenced by yaze::app::gui::zeml::ParseAttributes(), and yaze::app::gui::zeml::Render().

◆ text

std::string yaze::app::gui::zeml::WidgetAttributes::text

Definition at line 93 of file zeml.h.

Referenced by yaze::app::gui::zeml::ParseAttributes(), and yaze::app::gui::zeml::Render().

◆ min

double yaze::app::gui::zeml::WidgetAttributes::min

Definition at line 94 of file zeml.h.

Referenced by yaze::app::gui::zeml::ParseAttributes().

◆ max

double yaze::app::gui::zeml::WidgetAttributes::max

Definition at line 95 of file zeml.h.

Referenced by yaze::app::gui::zeml::ParseAttributes().

◆ value

double yaze::app::gui::zeml::WidgetAttributes::value

Definition at line 96 of file zeml.h.

Referenced by yaze::app::gui::zeml::ParseAttributes().

◆ width

float yaze::app::gui::zeml::WidgetAttributes::width

Definition at line 97 of file zeml.h.

Referenced by yaze::app::gui::zeml::ParseAttributes().

◆ count

int yaze::app::gui::zeml::WidgetAttributes::count = 0

Definition at line 98 of file zeml.h.

Referenced by yaze::app::gui::zeml::ParseAttributes(), and yaze::app::gui::zeml::Render().

◆ size

ImVec2 yaze::app::gui::zeml::WidgetAttributes::size = ImVec2(0, 0)

Definition at line 99 of file zeml.h.

Referenced by yaze::app::gui::zeml::ParseAttributes(), and yaze::app::gui::zeml::Render().

◆ selected

bool* yaze::app::gui::zeml::WidgetAttributes::selected = nullptr

Definition at line 100 of file zeml.h.

Referenced by yaze::app::gui::zeml::BindSelectable(), and yaze::app::gui::zeml::Render().

◆ flags

std::shared_ptr<void> yaze::app::gui::zeml::WidgetAttributes::flags = nullptr

Definition at line 101 of file zeml.h.

Referenced by yaze::app::gui::zeml::ParseFlags(), and yaze::app::gui::zeml::Render().

◆ data

void* yaze::app::gui::zeml::WidgetAttributes::data = nullptr

Definition at line 102 of file zeml.h.

Referenced by yaze::app::gui::zeml::ParseAttributes(), and yaze::app::gui::zeml::Render().


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