fn paint_card_box( ui: &mut dyn UiBuilder, x: f32, y: f32, w: f32, title: &str, icon: Icon, theme: &UiTheme, ) -> f32