@opentui/core-darwin-x64 0.8.3 → 0.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/libopentui.dylib +0 -0
- package/opentui.h +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
|
|
3
3
|
> Prebuilt darwin-x64 binaries for `@opentui/core`.
|
|
4
4
|
|
|
5
|
-
`opentui.h` beside `libopentui.dylib` is the C ABI header that this library was built from (FNV-1a 64 `
|
|
5
|
+
`opentui.h` beside `libopentui.dylib` is the C ABI header that this library was built from (FNV-1a 64 `0x32e4ccfcdaff96ec`). A C host compiles against it and links the library in this directory. For opentui-rust, set `OPENTUI_LIB_DIR` to this directory; its build fails when the header differs from the one its bindings were generated from. See [C](https://opentui.com/docs/native/c).
|
package/libopentui.dylib
CHANGED
|
Binary file
|
package/opentui.h
CHANGED
|
@@ -693,6 +693,11 @@ typedef void (*ot_scene_measure_callback)(uint64_t context_id, uint32_t slot, ui
|
|
|
693
693
|
float width, uint32_t width_mode, float height, uint32_t height_mode, float *out_size);
|
|
694
694
|
ot_status ot_scene_set_measure(ot_context *, const ot_handle *node, ot_scene_measure_callback);
|
|
695
695
|
ot_status ot_scene_has_measure(ot_context *, const ot_handle *node, uint32_t *out_enabled);
|
|
696
|
+
/* out_reached is 1 when a frame's hooks reach the node: it is attached under the root, it and
|
|
697
|
+
* its ancestors are shown, and each culling ancestor selects its branch at the current offsets
|
|
698
|
+
* and child count from the latest layout (a child moved since then has no position, and is
|
|
699
|
+
* not selected). A node they do not reach gets no hook calls. */
|
|
700
|
+
ot_status ot_scene_reaches_hooks(ot_context *, const ot_handle *node, uint32_t *out_reached);
|
|
696
701
|
ot_status ot_scene_mark_dirty(ot_context *, const ot_handle *node);
|
|
697
702
|
/* Use OT_STYLE_* groups/kinds, OT_EDGE_* (or OT_GUTTER_* for GAP), and OT_UNIT_*.
|
|
698
703
|
* Only OT_STYLE_DIMENSION accepts OT_STYLE_DISABLE_FLEX_SHRINK, which disables
|