add module system and move sensor into core with it

This commit is contained in:
2025-09-24 16:11:39 -04:00
parent 2adf7a43a1
commit 26c248dcba
13 changed files with 515 additions and 342 deletions

View File

@@ -14,8 +14,6 @@ pub struct WidgetData {
pub label: String,
/// dynamic borrow checking
pub borrowed: bool,
/// whether this widget has any sensors
pub sensor: bool,
}
impl Widgets {
@@ -85,7 +83,6 @@ impl Widgets {
widget,
label,
borrowed: false,
sensor: false,
},
);
}