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 |
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
std::string yaze::app::gui::zeml::WidgetAttributes::id |
Definition at line 89 of file zeml.h.
Referenced by yaze::app::gui::zeml::Node::GetNode(), yaze::app::gui::zeml::ParseAttributes(), and yaze::app::gui::zeml::Render().
std::string yaze::app::gui::zeml::WidgetAttributes::title |
Definition at line 90 of file zeml.h.
Referenced by yaze::app::gui::zeml::ParseAttributes(), and yaze::app::gui::zeml::Render().
std::string yaze::app::gui::zeml::WidgetAttributes::text |
Definition at line 91 of file zeml.h.
Referenced by yaze::app::gui::zeml::ParseAttributes(), and yaze::app::gui::zeml::Render().
double yaze::app::gui::zeml::WidgetAttributes::min |
Definition at line 92 of file zeml.h.
Referenced by yaze::app::gui::zeml::ParseAttributes().
double yaze::app::gui::zeml::WidgetAttributes::max |
Definition at line 93 of file zeml.h.
Referenced by yaze::app::gui::zeml::ParseAttributes().
double yaze::app::gui::zeml::WidgetAttributes::value |
Definition at line 94 of file zeml.h.
Referenced by yaze::app::gui::zeml::ParseAttributes().
float yaze::app::gui::zeml::WidgetAttributes::width |
Definition at line 95 of file zeml.h.
Referenced by yaze::app::gui::zeml::ParseAttributes().
int yaze::app::gui::zeml::WidgetAttributes::count = 0 |
Definition at line 96 of file zeml.h.
Referenced by yaze::app::gui::zeml::ParseAttributes(), and yaze::app::gui::zeml::Render().
ImVec2 yaze::app::gui::zeml::WidgetAttributes::size = ImVec2(0, 0) |
Definition at line 97 of file zeml.h.
Referenced by yaze::app::gui::zeml::ParseAttributes(), and yaze::app::gui::zeml::Render().
bool* yaze::app::gui::zeml::WidgetAttributes::selected = nullptr |
Definition at line 98 of file zeml.h.
Referenced by yaze::app::gui::zeml::BindSelectable(), and yaze::app::gui::zeml::Render().
std::shared_ptr<void> yaze::app::gui::zeml::WidgetAttributes::flags = nullptr |
Definition at line 99 of file zeml.h.
Referenced by yaze::app::gui::zeml::ParseFlags(), and yaze::app::gui::zeml::Render().
void* yaze::app::gui::zeml::WidgetAttributes::data = nullptr |
Definition at line 100 of file zeml.h.
Referenced by yaze::app::gui::zeml::ParseAttributes(), and yaze::app::gui::zeml::Render().