From 58b6314dec29debf8e595f3d75c5818ead648d49 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 5 Jan 2024 20:47:24 +0400 Subject: Removed the rudiments of the project --- resource-viewer/src/main.rs | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 resource-viewer/src/main.rs (limited to 'resource-viewer/src') diff --git a/resource-viewer/src/main.rs b/resource-viewer/src/main.rs deleted file mode 100644 index 4fa6b9f..0000000 --- a/resource-viewer/src/main.rs +++ /dev/null @@ -1,13 +0,0 @@ -slint::include_modules!(); - -fn main() -> Result<(), slint::PlatformError> { - let ui = AppWindow::new()?; - - let ui_handle = ui.as_weak(); - ui.on_request_increase_value(move || { - let ui = ui_handle.unwrap(); - ui.set_counter(ui.get_counter() + 1); - }); - - ui.run() -} -- cgit v1.2.3