mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 21:00:03 -04:00
This reverts commit 0db74f3000.
This commit is contained in:
@@ -251,12 +251,6 @@ impl<'a> Frame<'a> {
|
||||
self.0.output.window_size = Some(size);
|
||||
}
|
||||
|
||||
/// Set whether to show window decorations (i.e. a frame around you app).
|
||||
/// If false it will be difficult to move and resize the app.
|
||||
pub fn set_decorations(&mut self, decorated: bool) {
|
||||
self.0.output.decorated = decorated;
|
||||
}
|
||||
|
||||
/// If you need to request a repaint from another thread, clone this and send it to that other thread.
|
||||
pub fn repaint_signal(&self) -> std::sync::Arc<dyn RepaintSignal> {
|
||||
self.0.repaint_signal.clone()
|
||||
@@ -492,8 +486,6 @@ pub mod backend {
|
||||
pub output: &'a mut AppOutput,
|
||||
/// If you need to request a repaint from another thread, clone this and send it to that other thread.
|
||||
pub repaint_signal: std::sync::Arc<dyn RepaintSignal>,
|
||||
/// If the window has decorations
|
||||
pub decorated: bool,
|
||||
}
|
||||
|
||||
impl<'a> FrameBuilder<'a> {
|
||||
@@ -512,8 +504,5 @@ pub mod backend {
|
||||
|
||||
/// Set to some size to resize the outer window (e.g. glium window) to this size.
|
||||
pub window_size: Option<egui::Vec2>,
|
||||
|
||||
/// If the window has decorations
|
||||
pub decorated: bool,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user