.TH "lam_ui_core" 3 "Version 1.0.0" "liblamina" \" -*- nroff -*- .ad l .nh .SH NAME lam_ui_core \- liblamina UI initialization and stylesheet .SH SYNOPSIS .br .PP .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 .SH "Function Documentation" .PP .SS "int lam_css_load_file (uint32_t ss, const char * path)" .PP Load a CSS file from disk and parse it into stylesheet handle ss\&. .PP \fBReturns\fP .RS 4 Number of rules parsed, or -1 on error\&. .RE .PP .SS "int lam_css_parse (uint32_t ss, const char * css, size_t len)" .PP Parse CSS text and append rules/variables into stylesheet handle ss\&. .PP \fBReturns\fP .RS 4 Number of rules parsed, or -1 on error\&. .RE .PP .SS "int lam_css_set_var (uint32_t ss, const char * name, const char * val)" .PP Set or override a CSS custom property (e\&.g\&. "--lamp") at runtime\&. .PP \fBReturns\fP .RS 4 0 on success, -1 on error\&. .RE .PP .SH "Author" .PP Generated automatically by Doxygen for liblamina from the source code\&.