clay icon indicating copy to clipboard operation
clay copied to clipboard

High performance UI layout library in C.

Results 68 clay issues
Sort by recently updated
recently updated
newest added

So this function ```C void Clay_SetMeasureTextFunction(Clay_Dimensions (*measureTextFunction)(Clay_String *text, Clay_TextElementConfig *config)); ``` There is no `userData` being passed to compared to the callback to ```C void Clay_OnHover(void (*onHoverFunction)(Clay_ElementId elementId, Clay_PointerData pointerData,...

enhancement

Maybe can be better use(create) a wiki for all the main documentation. This may help for read and search the specific data you want to use of you have doubt.

documentation

1. Open the [Clay - UI Layout Library website](https://www.nicbarker.com/clay) and enable Clay Debug Tools by pressing 'd.' 2. To make the issue more noticeable, scroll the debug view so that...

bug

It would be nice to have a renderer that can write to the terminal, so `clay` can be used to build TUI (Terminal User Interface) applications

enhancement

- [ookee](https://ookee.ca/) website uses Clay with some hacks in the html for rotation and animations Btw, very cool project that circumvents the usual chaos of the web ! I just...

The `Clay_LayoutElement` type is not exposed so a function: `uint32_t Clay__GetParentElementId()` is needed.

Hello, I love your library, I use C and D, so I figured i'd share this example since you seems interested in providing bindings to other languages D is a...

Can't run on Mac OS Sonoma INFO: FONT: Default font loaded successfully (224 glyphs) INFO: SYSTEM: Working Directory: /Users/lucassousa WARNING: FILEIO: [resources/profile-picture.png] Failed to open file WARNING: IMAGE: Data is...

Currently, element id needs to be globally unique. Copy&paste or refactoring reusable components into functions would be a bit of a pain since you'd need to parameterize all the ids....

Complete - Needs Documentation

Add some kind of warning for forgeting `Clay_SetMeasureTextFunction` and using the `CLAY_TEXT`, maybe on compilation, because right now it just segfaults.