Function centered_window

Source
pub fn centered_window(
    width: u32,
    height: u32,
    title: Option<&str>,
) -> Result<(), ()>
Expand description

Open a window in the center of the screen.