Commit Graph

48 Commits

Author SHA1 Message Date
galister adb093b725 snappy sliders 2025-11-13 00:34:38 +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 67017a9f54 clippy 2025-10-31 17:33:38 +09: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 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 ce8cd3bce7 wgui: WguiWindow, open/close 2025-10-06 19:09:34 +02:00
Aleksander 3dff9c5882 wgui: Separate user and wgui assets, topmost widgets (poc) 2025-10-05 13:48:58 +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
galister a78ae55bdc attribs rework 2025-09-29 14:50:13 +09:00
Aleksander b5a3ba2954 dash-frontend: Application list 2025-09-28 13:13:37 +02:00
Aleksander 5e6852e5d0 wgui: parser: normalize paths in <include>s, (fix rust-embed file not found in release build) 2025-09-22 14:31:49 +02:00
Aleksander 4afdde1793 UI tweaks, use B8G8R8A8_UNORM in wgui 2025-09-21 20:25:57 +02:00
Aleksander 7a97e9dee2 wgui: prevent data copy, parser data 2025-09-21 13:39:14 +02:00
Aleksander 4f71dc6097 dash-frontend: tab titles, home screen username 2025-09-20 16:54:16 +02:00
Aleksander b9e5541971 📦📎-fixes, typo fixes 2025-09-20 12:17:17 +02:00
galister cfb733de09 sorry about monster commit 2025-09-20 15:28:42 +09:00
Aleksander c6a32f4109 ParserState: add fetch_component_by_widget_id 2025-09-18 17:01:30 +02:00
Aleksander 7004e11aa3 wgui: attrib pairs 2025-09-17 13:16:45 +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 f115d2d2cf Button: hover_color, hover_border_color 2025-09-13 13:09:33 +02:00
Aleksander 9efe298f65 dash-frontend: Use native <Button>s, children support 2025-09-13 12:49:36 +02: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 481db7f23c refactor: pedantic cargo clippy, do not use Results for always-succeeding functions 2025-08-16 21:27:47 +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 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 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 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
Aleksander 28d58fef59 implement listeners for Button component back 2025-06-28 18:30:38 +02:00
Aleksander 2420e8007c parser refactoring 2025-06-28 17:39:53 +02:00
galister 247c51c3b7 sprite colors 2025-06-28 19:28:28 +09:00
Aleksander 887a2f6bde wgui: add <macro> support, propagate variables into ParserResult 2025-06-20 00:27:25 +02:00
galister 44a9faac14 keyboard progress & refactors 2025-06-20 00:48:37 +09:00
Aleksander 7d7ab8055d fix keyboard layout 2025-06-18 23:28:03 +02:00
Aleksander 09ea4f3096 wgui: parser: template injection support 2025-06-18 21:30:32 +02:00
Aleksander b9e462f88b wgui: move parser.rs into a separate directory 2025-06-18 20:07:13 +02:00