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

eframe: ask if the window is minimized or maximized (#2672)

* eframe: ask if the window is minimized or maximized

* Improve note
This commit is contained in:
Emil Ernerfeldt
2023-02-04 16:05:23 +01:00
committed by GitHub
parent 430cbe541c
commit 660566c499
3 changed files with 84 additions and 43 deletions

View File

@@ -841,6 +841,12 @@ pub struct WindowInfo {
/// Are we in fullscreen mode?
pub fullscreen: bool,
/// Are we minimized?
pub minimized: bool,
/// Are we maximized?
pub maximized: bool,
/// Window inner size in egui points (logical pixels).
pub size: egui::Vec2,