summaryrefslogtreecommitdiffstats
path: root/src/template.rs
blob: 9e3695da4cb84e4767a1b4d2f8b29b080adbccb9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
  }
}