mirror of
https://github.com/nicbarker/clay.git
synced 2026-02-06 12:48:49 +00:00
[Bindings/Odin] Update odin bindings to include floating element clipTo
This commit is contained in:
parent
e2f94f17f6
commit
7af50d0f48
6 changed files with 6 additions and 0 deletions
|
|
@ -170,6 +170,11 @@ FloatingAttachToElement :: enum EnumBackingType {
|
||||||
Root,
|
Root,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FloatingClipToElement :: enum EnumBackingType {
|
||||||
|
None,
|
||||||
|
AttachedParent,
|
||||||
|
}
|
||||||
|
|
||||||
FloatingElementConfig :: struct {
|
FloatingElementConfig :: struct {
|
||||||
offset: Vector2,
|
offset: Vector2,
|
||||||
expand: Dimensions,
|
expand: Dimensions,
|
||||||
|
|
@ -178,6 +183,7 @@ FloatingElementConfig :: struct {
|
||||||
attachment: FloatingAttachPoints,
|
attachment: FloatingAttachPoints,
|
||||||
pointerCaptureMode: PointerCaptureMode,
|
pointerCaptureMode: PointerCaptureMode,
|
||||||
attachTo: FloatingAttachToElement,
|
attachTo: FloatingAttachToElement,
|
||||||
|
clipTo: FloatingClipToElement,
|
||||||
}
|
}
|
||||||
|
|
||||||
TextRenderData :: struct {
|
TextRenderData :: struct {
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue