Right now I'm not sure it makes sense to add things like animation to layout, but it'd be pretty easy to add it yourself. There's the 'custom' object type - so you can just provide your own renderer. If you call g.setClipRect you can ensure you don't draw in the wrong place, so you could then just use drawString with an offset - I don't think an offscreen buffer is needed
For the grocery list, does something like E.showMenu make more sense as it'll be scrollable.
© Espruino, powered by microcosm.
Report a problem