use nxui::natives_and_messaging::{DF_WINDOW_POS, DF_WINDOW_SIZE, WS_NORMAL};
use nxui::window::Attributes;
use nxui::window::window::{Window, WindowHandler};
fn main() {
nxui::initialize();
let win = Window::new(Attributes::new(WS_NORMAL, "Window Sample".to_string(), "io.github.lattesyobon.window".to_string(), DF_WINDOW_SIZE, DF_WINDOW_SIZE, DF_WINDOW_POS, DF_WINDOW_POS));
win.run(run_app);
}
fn run_app(wh: WindowHandler) {
wh.show();
}