Commit Graph

50 Commits

Author SHA1 Message Date
galister a44aa2e426 wgui to use srgb 2025-12-27 02:49:11 +09:00
Aleksander ff9ecda68f Merge remote-tracking branch 'origin/main' into next-dash-interface
[skip ci]
2025-12-23 19:24:08 +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 a0bc4001c0 settings for text+bg colors, anim speed, rounding 2025-12-22 15:03:17 +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 bdc1bf87b2 sunset theme.xml in favor of globals 2025-12-16 18:55:03 +01:00
galister 17165123b9 sunset theme.xml in favor of globals 2025-12-14 00:34:06 +09:00
Aleksander 67435d5fc9 src_ext 2025-12-10 18:24:32 +01:00
galister 1724d39697 FileOrBuiltIn asset paths, theming support 2025-12-11 01:09:49 +09:00
galister 6c5ab63bec watch & edit to use theme.xml; device batteries 2025-11-30 18:01:52 +09:00
Aleksander 192ffab4fd wgui: `new_pass` attrib, refactoring 2025-11-27 20:32:59 +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 67017a9f54 clippy 2025-10-31 17:33:38 +09:00
galister fa562f7b12 panel: per-element interactibility 2025-10-31 17:32:10 +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 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 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 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 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 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 857c5ec865 listener handles, auto-clean destroyed listeners, minor refactor 2025-07-06 20:53:40 +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
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 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