|
WebCFace 3.2.0
Web-based Communication Framework & Dashboard-like UI
|
#include <webcface/common/internal/message/view.h>
Public Member Functions | |
| ViewComponentData ()=default | |
| bool | operator== (const ViewComponentData &other) const |
| bool | operator!= (const ViewComponentData &other) const |
Public Attributes | |
| int | type = 0 |
| SharedString | text |
| std::optional< SharedString > | on_click_member |
| std::optional< SharedString > | on_click_field |
| std::optional< SharedString > | text_ref_member |
| std::optional< SharedString > | text_ref_field |
| int | text_color = 0 |
| int | bg_color = 0 |
| std::optional< double > | min_ = std::nullopt |
| std::optional< double > | max_ = std::nullopt |
| std::optional< double > | step_ = std::nullopt |
| std::vector< ValAdaptor > | option_ |
| int | width = 0 |
| int | height = 0 |
shared_ptr<message::ViewComponentData> → message::ViewData → ViewComponent ↓ shared_ptr<internal::TemporalViewComponentData> ↓ TemporalViewComponent
|
default |
|
inline |
|
inline |
| int bg_color = 0 |
| int height = 0 |
| std::optional<double> max_ = std::nullopt |
| std::optional<double> min_ = std::nullopt |
| std::optional<SharedString> on_click_field |
| std::optional<SharedString> on_click_member |
| std::vector<ValAdaptor> option_ |
| std::optional<double> step_ = std::nullopt |
| SharedString text |
| int text_color = 0 |
| std::optional<SharedString> text_ref_field |
| std::optional<SharedString> text_ref_member |
| int type = 0 |
| int width = 0 |