updated clay.h to newest commit

This commit is contained in:
johan0A 2024-10-11 21:49:51 +02:00
parent 6de3766f28
commit 7159dff641
2 changed files with 564 additions and 510 deletions

View file

@ -160,6 +160,7 @@ pub const SizingType = enum(EnumBackingType) {
FIT, FIT,
GROW, GROW,
PERCENT, PERCENT,
FIXED,
}; };
pub const SizingConstraintsMinMax = extern struct { pub const SizingConstraintsMinMax = extern struct {
@ -221,10 +222,10 @@ pub const LayoutConfig = extern struct {
padding: Padding = .{}, padding: Padding = .{},
/// gap between the children /// gap between the children
gap: u16 = 0, gap: u16 = 0,
/// direction of the children's layout
direction: LayoutDirection = .LEFT_TO_RIGHT,
/// alignement of the children /// alignement of the children
alignment: ChildAlignment = .{}, alignment: ChildAlignment = .{},
/// direction of the children's layout
direction: LayoutDirection = .LEFT_TO_RIGHT,
}; };
pub fn ClayArray(comptime T: type) type { pub fn ClayArray(comptime T: type) type {

1067
vendor/include/clay.h vendored

File diff suppressed because it is too large Load diff