pub fn screen_size() -> (f64, f64)
Returns a pair of the width and height of the screen
30 31 32 33 34 35
pub fn center() -> (i32, i32) { ( (app::screen_size().0 / 2.0) as i32, (app::screen_size().1 / 2.0) as i32, ) }