notedeck

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

egui_test_setup.rs (286B)


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