110 Commits

Author SHA1 Message Date
Aleksander
9767940923 Audio settings pop-up 2025-12-04 21:04:52 +01:00
Aleksander
9696d6730d wgui: StyleSetRequest 2025-11-26 22:49:50 +01:00
Aleksander
5ce745d2b9 various_widgets: add visibility test, minor refactoring 2025-11-15 00:00:41 +01:00
Aleksander
4d4292255a rename to timestep_alpha 2025-11-13 20:23:27 +01:00
Aleksander
6e11c2cf87 themes cleanup, ui improvements 2025-11-12 17:49:05 +01:00
Aleksander
afc8804aba config: Add invert_scroll_direction and scroll_speed 2025-11-11 12:11:34 +01:00
Aleksander
6f41ffe59c SettingsIO trait, save/load settings to/from file 2025-11-08 11:16:19 +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
Aleksander
e087eb3743 settings gui PoC 2025-11-05 22:37:07 +01:00
Aleksander
33955498cc move stuff to frontend.rs 2025-11-05 21:12:01 +01:00
galister
fa562f7b12 panel: per-element interactibility 2025-10-31 17:32:10 +09:00
Aleksander
bf1d02ed00 Tooltips, minor changes 2025-10-18 22:38:39 +02:00
galister
9c596a7eb2 fix uidev 2025-10-12 18:11:15 +09: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
ce8cd3bce7 wgui: WguiWindow, open/close 2025-10-06 19:09:34 +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
89c083991f wgui: pretty-print tree 2025-10-05 17:23:27 +02:00
Aleksander
3dff9c5882 wgui: Separate user and wgui assets, topmost widgets (poc) 2025-10-05 13:48:58 +02:00
Aleksander
40cc27f7b0 wgui: Smooth scrolling, TransformStack: fix scrollable area boundaries (mouse wheel), separate into raw_dim and visual_dim, refactoring 2025-10-04 18:40:44 +02:00
galister
a78ae55bdc attribs rework 2025-09-29 14:50:13 +09:00
galister
8c41eaa048 flag UPDATE_AFTER_BIND descriptor sets to fix validation 2025-09-28 23:00:29 +09:00
Aleksander
b5a3ba2954 dash-frontend: Application list 2025-09-28 13:13:37 +02: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
8d41d8bbd1 scissor attempt 2025-09-23 17:43:19 +02:00
Aleksander
4afdde1793 UI tweaks, use B8G8R8A8_UNORM in wgui 2025-09-21 20:25:57 +02:00
Aleksander
858c5da21c uidev: make window translucent 2025-09-21 19:06:09 +02:00
Aleksander
46eb1ee00f uidev: use Mailbox swapchain presentation mode (minimize noticeable presentation latency, fix laggy window resize problems on KWin) 2025-09-21 16:13:34 +02:00
Aleksander
1358af75e3 update all cargo crates to the newest version, unify crate versions 2025-09-20 15:28:48 +02:00
Aleksander
aadf11590e wgui: use dark mode 2025-09-20 13:32:07 +02:00
Aleksander
7004e11aa3 wgui: attrib pairs 2025-09-17 13:16:45 +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
54767d75da dash-frontend: tabs, other fixes (desc)
- set rustfmt line width to 120 columns by default for wgui
- dashboard tabs
- wgui: `remove_children`
2025-09-15 20:37:55 +02:00
Aleksander
9efe298f65 dash-frontend: Use native <Button>s, children support 2025-09-13 12:49:36 +02:00
Aleksander
c2628c0a15 uidev: re-format code 2025-09-13 12:18:27 +02:00
Aleksander
1d8f8aca3e move uidev dashboard to dash-frontend crate 2025-09-13 12:16:38 +02:00
galister
3f76dbe9cc add missing assets 2025-08-23 03:49:07 +09:00
Aleksander
cf0dd55a0f wgui: make component names PascalCase 2025-08-17 21:03:17 +02:00
Aleksander
d54f74ed3c wgui: custom attribs 2025-08-16 22:55:40 +02:00
Aleksander
1f8960033c wgui: parser: ParseDocumentParams struct 2025-08-16 20:15:51 +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
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