pub fn input_to_egui<W>(win: &mut W, event: Event, state: &mut EguiState)where W: WindowExt,
Handles input/events from FLTK