notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

egui_preview_setup.rs (301B)


      1 use notedeck::app_creation::setup_cc;
      2 
      3 pub struct EguiPreviewSetup {}
      4 
      5 pub trait EguiPreviewCase: eframe::App {
      6     fn new(supr: EguiPreviewSetup) -> Self;
      7 }
      8 
      9 impl EguiPreviewSetup {
     10     pub fn new(cc: &eframe::CreationContext<'_>) -> Self {
     11         setup_cc(cc);
     12 
     13         EguiPreviewSetup {}
     14     }
     15 }