diff options
Diffstat (limited to 'src/template.rs')
-rw-r--r-- | src/template.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/template.rs b/src/template.rs new file mode 100644 index 0000000..9e3695d --- /dev/null +++ b/src/template.rs @@ -0,0 +1,18 @@ +#![allow(unused_variables)] + +use eframe::egui; + +pub struct TemplateApp; + +impl TemplateApp { + pub fn generate(cc: &eframe::CreationContext<'_>) -> Box<dyn eframe::App> { + Box::new(TemplateApp) + } +} + +impl eframe::App for TemplateApp { + fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { + // CODEGEN START - PUT CUSTOM CODE ABOVE AND BELOW + // CODEGEN END + } +} |