The modified items aren't flags - they're actual X/Y coordinates of the modified area - so I'm not sure it makes sense to put them together? Or you mean to move cursorX/Y to earlier in the struct, so they are always in the same place?
I guess for what you're doing you're unlikely to have to look any further than bgColor though?
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.
The modified items aren't flags - they're actual X/Y coordinates of the modified area - so I'm not sure it makes sense to put them together? Or you mean to move
cursorX/Y
to earlier in the struct, so they are always in the same place?I guess for what you're doing you're unlikely to have to look any further than
bgColor
though?