diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-06 11:38:06 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-06 12:03:00 -0300 |
| commit | f05c69380c8f23ab7dadb1c9d6240af687c88bed (patch) | |
| tree | 8bb77af9ba2fadf64ac789bbe94c39df346a9db8 /src/Event.zig | |
| parent | 239e8186111c215bf3bca842216205056e4b00e1 (diff) | |
| download | pardes-f05c69380c8f23ab7dadb1c9d6240af687c88bed.tar.gz pardes-f05c69380c8f23ab7dadb1c9d6240af687c88bed.zip | |
kinds #18, ABI 2.2: pa_api says the core's ABI, pa_mouse grows a wheel's amount (a window passes a touchpad's fraction of a turn over a kind's pane, a terminal whole notches), pa_view says glyphs (no graphics), pa_paint's tail padding holds the pointer the kind asks for (the window shows a hand for PA_POINTER_LINK over its pane, a Shadow's frame carries it), and tick is told PA_FRAMED when a frame was drawn since its last; addon-test gains graphics on|off
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/Event.zig')
| -rw-r--r-- | src/Event.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Event.zig b/src/Event.zig index 63dcb5f2..aa93f412 100644 --- a/src/Event.zig +++ b/src/Event.zig @@ -44,6 +44,9 @@ pub const Mouse = struct { /// pane or column out of the window (Handover.zig). col and row are /// still the last cell inside. outside: bool = false, + /// A wheel's turn in notches, a touchpad's fraction of one; 0 is one + /// (a terminal's, every wheel's but a window's over a kind's pane). + amount: f32 = 0, }; pub const Key = struct { |
