Commit Graph

87 Commits

Author SHA1 Message Date
oo8dev e40b953e5a
Dynamic color palettes without restart (#594)
* dash-frontend: dynamic color palette switching

* wayvr: add support for color dynamic color palette refresh
2026-07-25 18:40:07 +02:00
galister f711d9a464 relative mouse, dynamic decor, refactors 2026-07-23 17:46:24 +09:00
Aleksander 7f6caca0f8 wgui: MouseCancel event couldn't propagate all the way down (Closes #588) 2026-07-23 11:02:35 +09:00
Aleksander e1fb392297 wgui: account for current scissoring state on widget hover check (Closes #587)
This prevents clicking widgets outside their scissor boundary.
2026-07-23 11:02:35 +09:00
Aleksander 8adff4ca6a wgui: bugfix: scrollable list could start swipe event out-of-bounds (Closes #586) 2026-07-23 11:02:35 +09:00
galister fd8a327395 palette selector improvements 2026-07-13 22:03:40 +09:00
galister 4e9b893304 keycaps theming 2026-07-13 13:48:01 +09:00
galister a8262c1de4 fix wrapped text flying around 2026-07-13 10:23:02 +09:00
galister 962ed32452 parent_color attrib to fix app icons 2026-07-13 04:50:22 +09:00
galister e0ab4be8e3 fix use_bg_color label anims 2026-07-13 03:48:14 +09:00
galister 2ea3b222f3 use_bg_color for label 2026-07-13 03:21:34 +09:00
galister a4ce23881a rework palettes; add a range of wip themes 2026-07-12 19:01:17 +09:00
Aleksander 155340b78d dash-frontend: finish theming, wayvr: refactoring, compilable version 2026-07-11 17:33:01 +02:00
Aleksander a00f2ab8db wgui: Color palette (wip)
(uidev & dash-frontend compilable)
2026-07-11 16:02:03 +02:00
Aleksander 9f854d0649 wgui: fix cosmic text not rendering anything 2026-07-10 17:47:55 +02:00
galister 1820e2b152 chore: update cosmic-text 2026-07-10 22:51:01 +09:00
Aleksander b8ae840ca4 wgui: fix label wrap code, correct position of out-of-bounds tooltips 2026-07-03 21:52:10 +02:00
galister 4b78e39af7
glyph upload fixes (#531)
* remove unused pass cache, cache imageviews instead

* glyph upload batching

* image upload batching (wip)
2026-06-03 17:29:31 +09:00
Aleksander 20743f91eb clippy 2026-05-12 21:59:54 +02:00
Aleksander ec2e0501c1 wayvr: skip unsupported config files (Closes #510) 2026-05-03 19:35:49 +02:00
Aleksander f30c650bba wgui: add `EventResult::ConsumedExclusive` for Slider components
This prevents us from accidentally swipe-scrolling the content if the user tries to change a slider value.
2026-05-03 19:13:45 +02:00
Aleksander 45af52ddf9 wgui: Range sliders, fix swipe scrolling <-> slider conflict 2026-05-03 18:54:31 +02:00
oo8dev 6b81f07cc8
wgui: Swipe kinetic scrolling support (#504)
* wgui: use DeviceBitmask instead of usize

* wgui: Swipe logic works (wip)

* wgui: Kinetic scrolling, rubberband effect
2026-05-02 19:21:30 +02:00
Aleksander 68daa5b3df dash-frontend: skymap preview fetch (done), reformat Cargo.toml files 2026-04-17 12:10:18 +09:00
Aleksander d5148e2107 wgui: `ComponentBarGraph`, `WidgetCustomDraw` 2026-04-02 17:43:10 +02:00
Aleksander cb899235b4 wgui: separate globals and themes 2026-03-05 19:28:42 +01:00
Aleksander 2ddb419676 editbox keyboard input, scrollbars fix (scissoring broken atm), clippy 2026-02-14 22:20:51 +01:00
Aleksander d97bbfc796 dash-frontend: games: pagination 2026-01-27 19:49:27 +01:00
Aleksander 19083cfd83 dash-frontend: Top panel title 2026-01-27 19:49:27 +01:00
Aleksander 37e3ab1bda dash-frontend: Scrollable audio device list (Closes #353), wgui: fix scrollbar rendering 2026-01-11 11:11:01 +01:00
Aleksander 153b77e98c wgui: fix incorrect text wrapping
[skip ci]
2026-01-10 11:29:52 +01:00
Aleksander ff9ecda68f Merge remote-tracking branch 'origin/main' into next-dash-interface
[skip ci]
2025-12-23 19:24:08 +01:00
Aleksander 2d40b8ac00 App launcher
[skip ci]
2025-12-23 19:17:51 +01:00
Aleksander 1b4c2a9006 tooltip wrap, clippy
[skip ci]
2025-12-23 17:14:46 +01:00
Aleksander 9a606dbce5 Merge remote-tracking branch 'origin/main' into next-dash-interface
[skip ci]
2025-12-23 17:01:16 +01:00
galister 3f5a363136 fmt 2025-12-24 00:58:40 +09:00
galister b352269556 add <image> widget 2025-12-23 22:10:46 +09:00
galister 5287b659e8 customization via wayvr_ipc 2025-12-23 13:29:28 +09:00
galister b90b7336e0 add universal _long_release and variants 2025-12-22 17:47:46 +09:00
galister a60476b47e fix slider behavior with multiple pointers 2025-12-20 19:56:43 +09:00
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
Aleksander 192ffab4fd wgui: `new_pass` attrib, refactoring 2025-11-27 20:32:59 +01:00
Aleksander 85eab33c94 fix tooltips not disappearing, clippy 2025-11-26 22:01:19 +01:00
galister 3daee83838 edit overlay progress 2025-11-14 17:59:17 +09:00
Aleksander afc8804aba config: Add `invert_scroll_direction` and `scroll_speed` 2025-11-11 12:11:34 +01: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 81d2672740 fix internal events blocking custom events on the same widget 2025-10-31 19:10:13 +09:00