pub fn clear_screen(c: Color)
Fill the whole frame with the given color.
24 25 26 27 28 29 30
extern fn update() { ff::clear_screen(ff::Color::Light); let image = unsafe { IMAGE.get().unwrap() }; let image: ff::Image = (image).into(); let colors = ff::ImageColors::default(); ff::draw_image(image, ff::Point { x: 60, y: 60 }, colors); }