Get the latest tech news
Clay (short for C Layout) is a high performance 2D UI layout library
High performance UI layout library in C. Contribute to nicbarker/clay development by creating an account on GitHub.
Clay_RenderCommand.textContent will be populated with a Clay_String slice of the original string passed in (i.e. wrapping doesn't reallocate, it just returns a Clay_String pointing to the start of the new line with a length) The easiest mental model to use when thinking about floating containers is that they are a completely separate UI hierarchy, attached to a specific x,y point on their "parent". Note: this field is generally not recommended for usage due to the lack of type safety, see#define CLAY_EXTEND_CONFIG_IMAGE in Preprocessor Directives for an alternative.
Or read this on Hacker News