10 lines
172 B
Rust
10 lines
172 B
Rust
|
pub mod file_dialog;
|
||
|
pub trait View {
|
||
|
fn ui(&mut self, ui: &mut egui::Ui);
|
||
|
}
|
||
|
|
||
|
pub trait Dialog {
|
||
|
fn open(&mut self);
|
||
|
fn show(&mut self, ctx: &egui::Context);
|
||
|
}
|