simple
simple copied to clipboard
Drawing a rectangle code in the documentation
this part app.draw_rect(simple::Rect{ x: 100, y: 110, w: 120, h: 130, });
does not work , after playing around with the code i discovered you have to use the associated function new for it to compile
app.draw_rect(simple::Rect::new(110, 210, 900, 400));