|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Owning primitive inputs to a registered typed recipe factory; no evaluated expressions. More...
#include <ui_scene_resource.hpp>
Public Member Functions | |
| ~SceneResourceArguments ()=default | |
| Keep transfers fallible: checked MSVC string moves may allocate a debug proxy. | |
Public Attributes | |
| std::string | text = std::string(0, '\0') |
| Resolved owning UTF-8 text; empty when omitted. | |
| std::string | id = std::string(0, '\0') |
| Optional owning case-sensitive node id. | |
| std::optional< std::int32_t > | width |
| Nonnegative fixed cell width, applied after the factory recipe. | |
| std::optional< std::int32_t > | height |
| Nonnegative fixed cell height, applied after the factory recipe. | |
| std::optional< std::uint32_t > | flex |
| Positive common flex weight; excludes other per-axis mode requests. | |
| std::int32_t | gap {} |
| Nonnegative layout gap; resource syntax admits this only on VBox/HBox. | |
| bool | checked {} |
| Initial checkbox state; resource syntax admits this on CheckBox and Switch. | |
| ControlSettings | settings {} |
| Validated effective sparse settings; no IDs, models or handlers. | |
| std::optional< bool > | visible |
| Local visibility applied after the factory's recipe modifiers. | |
| std::optional< bool > | enabled |
| Local enabled state applied after the factory's recipe modifiers. | |
| std::optional< std::string > | classes |
| Owning literal class list; absent preserves factory classes, empty clears. | |
| std::optional< std::int32_t > | weight |
| Node-local positive Spacer weight; absent means one. | |
| std::optional< std::int32_t > | cells |
| Node-local nonnegative Spacing cells; absent means zero. | |
Owning primitive inputs to a registered typed recipe factory; no evaluated expressions.