Commit Graph

36 Commits

Author SHA1 Message Date
Aleksander 9a606dbce5 Merge remote-tracking branch 'origin/main' into next-dash-interface
[skip ci]
2025-12-23 17:01:16 +01:00
Aleksander 171021d6c5 Slider: `show_value`, hide tooltip on button press
[skip ci]
2025-12-21 13:59:17 +01:00
galister a60476b47e fix slider behavior with multiple pointers 2025-12-20 19:56:43 +09:00
Aleksander 9696d6730d wgui: `StyleSetRequest` 2025-11-26 22:49:50 +01:00
Aleksander 127cb5c8d0 wgui: refresh widgets with dirty tree state 2025-11-15 11:46:34 +01:00
Aleksander 5ce745d2b9 various_widgets: add visibility test, minor refactoring 2025-11-15 00:00:41 +01:00
galister 595324814a opacity & additive & curvature works 2025-11-13 15:40:08 +09:00
Aleksander 6136a5aa43 clippy 2025-11-12 17:06:53 +01:00
galister adb093b725 snappy sliders 2025-11-13 00:34:38 +09:00
galister d26ddd66bd edit overlay design 2025-11-12 23:27:26 +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
Aleksander e087eb3743 settings gui PoC 2025-11-05 22:37:07 +01:00
galister 44b9a79849 more clippy 2025-10-31 17:48:54 +09:00
galister 90eed4558f events refactor 2025-10-12 17:30:30 +09:00
Aleksander fbe1d5b09e tooltips PoC 2025-10-11 13:31:00 +02:00
Aleksander 200d5223d3 `ConstructEssentials`
i'm really out of ideas how to name another struct name with function parameters. Well, here we go - essentials.
2025-10-11 11:26:25 +02:00
Aleksander efcc41de19 wgui: event results/blocking for overlapping content, rev iterate events for root node 2025-10-05 20:11:49 +02:00
Aleksander a1edc2f0b8 scissor stack fixes, proper render & event transformations 2025-09-29 22:04:16 +02:00
Aleksander aadf11590e wgui: use dark mode 2025-09-20 13:32:07 +02:00
Aleksander dfec935388 wgui: component callbacks refactoring 2025-09-16 20:35:28 +02:00
Aleksander 0fdc0e3828 dash-frontend: clock, wgui: refactoring, non-panicking casts 2025-09-16 20:09:13 +02:00
Aleksander 129785daa7 wgui: customizable defaults 2025-09-16 18:32:56 +02:00
Aleksander d54f74ed3c wgui: custom attribs 2025-08-16 22:55:40 +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 df35dba24f wgui: checkbox component 2025-08-13 19:42:48 +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
Aleksander 91e584383f wgui: components refactoring, id handles 2025-08-09 13:23:49 +02: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
Aleksander 9bbc7b2d22 slider animations, ui tweaks 2025-06-28 23:11:37 +02:00
Aleksander 9d0c0f015c sliders (wip), fix wlx build 2025-06-28 19:28:05 +02:00