Commit Graph

8 Commits

Author SHA1 Message Date
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
Aleksander
89c083991f wgui: pretty-print tree 2025-10-05 17:23:27 +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
481db7f23c refactor: pedantic cargo clippy, do not use Results for always-succeeding functions 2025-08-16 21:27:47 +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
1215a50324 fix scaling, refactors 2025-06-26 04:22:40 +09:00
galister
f05d3a8251 new workspace 2025-06-18 01:14:04 +09:00