ferroui_controls/window_state.rs
1/// Defines the minimized/maximized state of a window.
2#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
3#[repr(i32)]
4pub enum WindowState {
5 /// The window is neither minimized or maximized.
6 #[default]
7 Normal = 0,
8
9 /// The window is minimized.
10 Minimized = 1,
11
12 /// The window is maximized.
13 Maximized = 2,
14
15 /// The window is fullscreen.
16 FullScreen = 3,
17}