MyGit

v0.11

nicbarker/clay

版本发布时间: 2024-09-18 07:55:32

nicbarker/clay最新发布版本:v0.12(2024-10-23 07:44:07)

Clay 0.11

Changelog

Screenshot 2024-09-12 at 12 54 03 PM

I am considering a wrap mode which will wrap on individual characters in future but haven't decided on an implementation yet.

Upgrade Guide

Unfortunately, this release contains some small breaking changes to the public API.

While I do my best to avoid breaking changes, Clay is still in alpha and the API is subject to change.

// Before
uint32_t id = CLAY_ID("Button");
// After
Clay_ElementId id = CLAY_ID("Button");

While functions that previously took uint32_t id as an argument have been updated, the parentId field of CLAY_FLOATING_CONFIG is still uint32_t. You can access the .id field of the Clay_ElementId struct in this case:

CLAY_FLOATING_CONTAINER(CLAY_ID("ScrollBar"), CLAY_LAYOUT(), CLAY_FLOATING_CONFIG(.parentId = CLAY_ID("OuterScrollContainer").id), {

相关地址:原始地址 下载(tar) 下载(zip)

1、 clay-odin.zip 333.79KB

2、 clay.h 187.23KB

查看:2024-09-18发行的版本