1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 13:50:04 -04:00

epi/eframe: move options out of trait App into new NativeOptions

This commit is contained in:
Emil Ernerfeldt
2021-05-08 10:14:56 +02:00
parent 5e46bd404c
commit 7374ed9d00
8 changed files with 57 additions and 40 deletions

View File

@@ -54,10 +54,6 @@ impl epi::App for WrapApp {
self.backend_panel.max_size_points_active
}
// Let's show off that we support transparent windows (on native):
fn transparent(&self) -> bool {
true
}
fn clear_color(&self) -> egui::Rgba {
egui::Rgba::TRANSPARENT // we set a `CentralPanel` fill color in `demo_windows.rs`
}