ferroui_controls/window_startup_location.rs
1/// Determines the startup location of the window.
2#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
3#[repr(i32)]
4pub enum WindowStartupLocation {
5 /// The startup location is defined by the position property.
6 #[default]
7 Manual = 0,
8
9 /// The startup location is the center of the screen.
10 CenterScreen = 1,
11
12 /// The startup location is the center of the owner window. If the owner
13 /// window is not specified, the startup location will be manual.
14 CenterOwner = 2,
15}