Commit graph Crafter.Graphics/interfaces/Crafter.Graphics-Types.cppm
Author SHA1 Message Date
678f38964f
feat(wayland): text input through zwp_text_input_v3
A window can now say that a text field has the focus and where its caret
is — Window::SetTextInput(active, caret rectangle in physical pixels,
purpose) — which is what opens the on-screen keyboard on a phone (Maliit
under KWin, squeekboard under phoc). What the input method produces comes
back as events: committed text as onTextInput, the composing text as
onPreedit (empty clears it), deletions around the cursor as
onTextInputDelete; done() applies them in the protocol's order. The state
a window wants is remembered and sent again whenever the keyboard focus
returns to it. The protocol's client code is generated with wayland-scanner
1.26.0 from wayland-protocols' text-input-unstable-v3.xml, under lib/ like
the others.
2026-10-18 01:57:09 +02:00
aed6142cce
feat(wayland): touch, with the first finger standing in for the pointer
The seat's wl_touch was never bound, so a touchscreen could not drive a
window at all. Every finger is now reported through onTouchDown, onTouchMove,
onTouchUp and onTouchCancel (TouchPoint: the compositor's id and the
position in physical pixels). The first finger down also enters the window —
Device::focusedWindow and the pointer serial the clipboard needs — presses
the left button, moves it and releases it when it lifts, so an application
written for a pointer works on a phone as it is.
2026-10-18 01:48:30 +02:00
42a479572d SPDX license update 2026-07-22 18:09:06 +02:00
5352ef69a2 browser DOM support 2026-05-18 02:07:48 +02:00
216972e73a new UI system 2026-05-01 23:35:37 +02:00
c9ebd448f9 update 2026-04-16 23:03:24 +02:00
177f873639 vulkan UI 2026-04-09 00:15:09 +02:00
f8e142fb06 descriptor heap rewrite 2026-04-05 22:53:59 +02:00
7fdab4f62b rendering update 2026-03-22 21:08:02 +01:00
6eb23b88bd renderelement2d texture loading 2026-03-10 19:03:39 +01:00
d661c88ee2 cleaned up renderer 2026-03-09 20:10:19 +01:00
72bf6c83e1 windows build fix 2026-03-02 23:53:13 +01:00
415e523a45 runtime pipeline 2026-02-22 00:46:38 +01:00
d1b8e45fb6 new descriptor layout 2 2026-02-03 21:03:11 +01:00
e4e7c66808 RT descriptors 2026-01-29 01:31:17 +01:00
9f62233a07 shader 2026-01-28 23:37:12 +01:00
819517d150 BLAS 2026-01-28 01:07:41 +01:00
d0cc3ad16a the great text and type rewrite 2025-12-30 23:28:38 +01:00
a220e40d13 frametime fix 2025-12-30 00:44:45 +01:00
8489c57d40 fixes 2025-12-28 00:47:27 +01:00
3d40256bde rendering element rewrite 2025-12-28 00:05:03 +01:00
c9fadb3779 rotation 2025-12-21 19:52:41 +01:00
0329616148 semi opaque 2025-11-27 00:08:10 +01:00
285e8c9182 optimization 2025-11-26 20:15:25 +01:00
e4dda0861c animations 2025-11-24 03:38:20 +01:00
721ff8f42f wayland rewrite complete 2025-11-24 01:47:49 +01:00
5ff43e240c integer math 2025-11-23 04:04:53 +01:00
4428cfe12c rewrite time 2025-11-22 20:58:42 +01:00
1155e67d63 new structure 2025-11-16 15:32:11 +01:00
Renamed from src/module/Crafter.Graphics-Types.cppm (Browse further)