fn main() -> Result<(), Box> { let app = thyme::AppBuilder::new() .with_logger() .with_title("Thyme Gl Demo") .with_window_size(1280.0, 720.0) .with_base_dir("examples/data") .with_theme_files(&["themes/base.yml", "themes/pixel.yml"]) .with_font_dir("fonts") .with_image_dir("images") .build_gl()?; app.main_loop(|ui| { ui.window("window", |ui| { ui.gap(20.0); ui.button("label", "Hello, World!"); }); }); }