Commit Graph

24 Commits

Author SHA1 Message Date
Aleksander 481db7f23c refactor: pedantic cargo clippy, do not use Results for always-succeeding functions 2025-08-16 21:27:47 +02:00
Aleksander 1f8960033c wgui: parser: ParseDocumentParams struct 2025-08-16 20:15:51 +02:00
Aleksander a79ed0839b wgui: components base, anyhow event listener callbacks, 📦📎-fixes, typo fixes 2025-08-13 17:10:00 +02:00
Aleksander 93a3fee349 wgui: interactable components, rename TextLabel -> WidgetLabel 2025-08-10 11:46:01 +02:00
galister b2902f8f7f parser: ignore_in_mode attribute; watch additions 2025-08-03 17:26:34 +09:00
Aleksander eaa81450b5 wgui: basic i18n support, refactoring: use LayoutState, translation framework (LLM-based generator) 2025-08-02 23:31:23 +02:00
Aleksander 4e46c45bcf wgui: Refactoring, various changes (see desc)
- use parking_lot for mutex (less restrictive and easier to use)
- simplify event callbacks and widget type casting
- defer component initialization at start (required for setting the initial state of sliders)
- fix non-working scroll events
- update testbed.xml
- replace slider with the real one in bar.xml
- show slider text on its handle
2025-07-29 22:12:01 +02:00
Aleksander 77421b4e82 slider events and value setting 2025-07-07 21:58:41 +02:00
Aleksander 857c5ec865 listener handles, auto-clean destroyed listeners, minor refactor 2025-07-06 20:53:40 +02:00
Aleksander 92444bb5c4 simplify and optimize event states, deduplication 2025-07-02 22:55:42 +02:00
Aleksander 283d7fd64e separate CallbackData and CallbackDataCommon, refactoring 2025-07-02 22:06:19 +02:00
galister 40f50a147b bar + overlaybackend refactor 2025-07-03 02:42:49 +09:00
Aleksander 9d0c0f015c sliders (wip), fix wlx build 2025-06-28 19:28:05 +02:00
galister afb4919970 refactor events; watch prep work 2025-06-27 04:16:24 +09:00
galister 158562031f wgui: introduce SharedContext to share between Contexts 2025-06-25 21:06:05 +09:00
galister cd05818465 widget event handling into macro 2025-06-21 21:13:33 +09:00
galister 814700cbff actually call handle_invoke 2025-06-20 22:05:33 +09:00
Aleksander a2a7c71c22 Animated transforms on hover 2025-06-20 13:06:04 +02:00
galister df320a5c7b less refcells; haptics 2025-06-20 17:47:39 +09:00
galister d9b3b99e0d keyboard works 2025-06-20 05:31:37 +09:00
galister b9edb75867 add missing anchor.xml 2025-06-20 02:49:54 +09:00
galister 10aab5451f xml anchor + GuiPanel minor refactor 2025-06-20 02:40:27 +09:00
galister 6a77b302c9 measure root node of layout 2025-06-20 01:19:28 +09:00
galister 44a9faac14 keyboard progress & refactors 2025-06-20 00:48:37 +09:00