Another quick update. I’ve added in “drawPixel()” and associated clipping methods to the GraphicsPort class. The signatures were there, but the functions were missing. Oops.
I’ve also added a new “DimmedScreen” class to the “bonus” folder rather than the Woopsi folder as it’s a hack job - look at the source for some nasty direct framebuffer access. It’s not particularly fast, either. However, it might come in useful. It follows the pattern of the now-defunct “ModalScreen” class, with one difference. Instead of just erasing itself, it dims the display behind it. Any gadgets within the screen don’t get dimmed. If you’ve seen Ubuntu asking for your password before you delete a file called “kernel-something-or-other”, you know what I mean.
Here’s a screenshot: