Widget, layout, interaction, style, and UI-tree logic is now authored in the Kry (.kry) UI language and compiled into the native C and Go runtimes, replacing the hand-written C widget implementation. The remaining C is platform and raster backends (X11 window, font rasterization, paint command execution, surface/image caches, test helpers). - Clipboard OSC52/paste callbacks are host-provided write functions instead of raw function-pointer typedefs, unblocking Go runtime generation. - AccessibilityNode and Accelerator types are generated from .kry. - Generated-runtime parity test passes for both C and Go.
27 lines
527 B
Plaintext
27 lines
527 B
Plaintext
#module "accessibility_node"
|
|
#import "kryon_compat.generated.h"
|
|
|
|
AccessibilityNode :: struct {
|
|
bounds: Rectangle
|
|
role: const char*
|
|
label: const char*
|
|
focused: bool
|
|
disabled: bool
|
|
checked: bool
|
|
focus_id: i32
|
|
value: const char*
|
|
read_only: bool
|
|
secure: bool
|
|
multiline: bool
|
|
generation: u64
|
|
actions: unsigned
|
|
selection_anchor: i32
|
|
selection_cursor: i32
|
|
key: u64
|
|
parent: unsigned
|
|
selected: bool
|
|
multi_select: bool
|
|
item_index: i32
|
|
offscreen: bool
|
|
}
|