Commit Graph

18 Commits

Author SHA1 Message Date
Aleksander
9dbd86db39 wgui: pass motion events further, add consume_mouse_events parameter to widgets (Closes #306), always reverse iter events 2025-12-18 22:02:17 +01:00
galister
b28c402ddf fmt 2025-12-17 16:13:40 +09:00
galister
ea90853e56 custom panels 2025-12-17 15:54:52 +09:00
Aleksander
e76ad82c60 update all deps 2025-12-08 22:57:44 +01:00
galister
3daee83838 edit overlay progress 2025-11-14 17:59:17 +09:00
Aleksander
71898056f3 add WguiFontSystem, remove FONT_SYSTEM singleton, custom fonts, add Light font weight
there are a few gzip-compressed ttf as for now, looks like variable fonts aren't parsed properly by cosmic_text. Not sure why. Also, we probably need to have a fallback for CJK characters in the future, or just fallback to the built-in ones in the OS.
2025-11-07 22:21:57 +01:00
galister
fa562f7b12 panel: per-element interactibility 2025-10-31 17:32:10 +09:00
Aleksander
89c083991f wgui: pretty-print tree 2025-10-05 17:23:27 +02:00
Aleksander
a1edc2f0b8 scissor stack fixes, proper render & event transformations 2025-09-29 22:04:16 +02:00
galister
90bdf99e32 text shadow + battery display poc 2025-09-29 17:43:16 +09:00
Aleksander
eb12a6a319 overflow: hidden/scroll scissor support, remove depth 2025-09-25 23:21:11 +02:00
Aleksander
8f75d451e4 working scissor proof of concept 2025-09-24 21:53:43 +02:00
Aleksander
0fdc0e3828 dash-frontend: clock, wgui: refactoring, non-panicking casts 2025-09-16 20:09:13 +02:00
Aleksander
481db7f23c refactor: pedantic cargo clippy, do not use Results for always-succeeding functions 2025-08-16 21:27:47 +02:00
Aleksander
93a3fee349 wgui: interactable components, rename TextLabel -> WidgetLabel 2025-08-10 11:46:01 +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
galister
247c51c3b7 sprite colors 2025-06-28 19:28:28 +09:00
galister
f05d3a8251 new workspace 2025-06-18 01:14:04 +09:00