Looks nice and useful. Is there also color attribute? Or one could separate layouts per color and do g.setColor between.
EDIT: oh yes, there is col,bgCol documented in https://raw.githubusercontent.com/espruino/BangleApps/master/modules/Layout.js
However now I see there is lot of "Bangle." calls inside so it is not so universal and reusable for other devices.
@fanoush started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Looks nice and useful. Is there also color attribute? Or one could separate layouts per color and do g.setColor between.
EDIT: oh yes, there is col,bgCol documented in https://raw.githubusercontent.com/espruino/BangleApps/master/modules/Layout.js
However now I see there is lot of "Bangle." calls inside so it is not so universal and reusable for other devices.