.TH "ttypt/lam-ui.h" 3 "Version 1.0.0" "liblamina" \" -*- nroff -*- .ad l .nh .SH NAME ttypt/lam-ui.h \- Public header for the liblamina UI system\&. .SH SYNOPSIS .br .PP \fR#include 'lam\&.h'\fP .br \fR#include \fP .br \fR#include \fP .br \fR#include \fP .br .SS "Data Structures" .in +1c .ti -1c .RI "struct \fBlam_ui_style_t\fP" .br .RI "Visual and layout style definition for a UI element\&. " .in -1c .SS "Macros" .in +1c .ti -1c .RI "#define \fBLAM_UI_STYLE\fP(div, field, val)" .br .RI "Assign a style field on a div\&. " .in -1c .SS "Functions" .in +1c .ti -1c .RI "int \fBlam_css_parse\fP (uint32_t ss, const char *css, size_t len)" .br .RI "Parse CSS text and append rules/variables into stylesheet handle ss\&. " .ti -1c .RI "int \fBlam_css_load_file\fP (uint32_t ss, const char *path)" .br .RI "Load a CSS file from disk and parse it into stylesheet handle ss\&. " .ti -1c .RI "void \fBlam_css_sheet_free\fP (uint32_t ss)" .br .RI "Free CSS rules and custom properties associated with stylesheet ss\&. " .ti -1c .RI "int \fBlam_css_set_var\fP (uint32_t ss, const char *name, const char *val)" .br .RI "Set or override a CSS custom property (e\&.g\&. "--lamp") at runtime\&. " .in -1c .SH "Detailed Description" .PP Public header for the liblamina UI system\&. Declares the API for liblamina's CSS-styled layout and rendering engine\&. .SH "Author" .PP Generated automatically by Doxygen for liblamina from the source code\&.