Init of the game resource viewer

This commit is contained in:
2023-10-27 23:58:12 +04:00
parent a97d68b0e1
commit 9708d73199
6 changed files with 4054 additions and 12 deletions

View File

@ -0,0 +1,13 @@
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()
}