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

`CLAY_SIZING_GROW()` or `CLAY_SIZING_GROW({})`,`are not working as expected, grow to the full size of parent container / screen. here is the code: ```c Clay_RenderCommandArray CreateLayout() { Clay_BeginLayout(); CLAY( CLAY_RECTANGLE({ .color =...

I have no idea how rust crates work, but I would love to have bindings for rust.

When using a mobile device with default (HTML) renderer, by scrolling a bit down and rotating the phone (auto-rotate feature) website wont recalculate layout until user does any input action....

bug

Trying text selection in https://www.nicbarker.com/clay . especially in "Renderer & Platform Agnostic" & "Integrated Debug tool" section. https://github.com/user-attachments/assets/76fdb069-b91e-4a4f-809b-df1a5bee59f4

bug

If the renderer is incapable of showing 3D textures, or drawing specific elements, like some colors (for example monocrome interfaces), clay should be able to take that into account, and...

This is an initial approach to the terminal renderer. Its pretty bad, it does not take into account the "real" pixel size of the terminal, just the character size. Fixes...

A check pass should be done when in debug mode, and warn about unclickable buttons (culled out), invisible text (background is too similar to text), window elements that are too...

enhancement

It would probably be good to check that malloc doesn't fail, but for a simple example like this it should be fine.

This fixes almost all the C99 compliance issues in the implementation of Clay. Now the only issues remaining are: - [ ] `##__VA_ARGS__` (and related), which isn't easy to solve...

While trying to debug the failing test in #118, I realised that this macro can be simplified quite a lot, and it can then also support more than 6 arguments!