• Looks good! The RGB functions are tricky - right now the Graphics lib doesn't really understand about R, G and B in a meaningful way, as a lot of displays are different. Even with 16 bits, you get different ordering of colour channels - so there would be some extra complexity and configuration required.

    For the sake of saving a bit of memory, you could convert all your RGB triples into 16 bit values when you store them in the button class though? It makes doing an invert nice and easy too, with just col^0xFFFF ;)

    I'm afraid there's no screencap - I think you can get the pixel data back on those displays using getPixel (on some you can't), but it'll be a slow and painful process :)


Avatar for Gordon @Gordon started