void masksprite(char* scrbuf, char* sprite, int x, int y, int w, int h) { int i, j; for (i = 0; i < w; i++) { for (j = 0; j < h; j++) { if (sprite[i + w * j] < 16) { setPixelBuf(scrbuf, i + x, j + y, sprite[i + w * j]); } } } }Any value over 15 in the sprite will be treated as transparent.
@bwang: A sprite mask determines which pixels in an image are transparent, so those pixels don't get copied to the screen. There is a more detailed explanation here. There are two ways to do this: create a second buffer with the mask data, or have one color in the image represent transparent.
There are two types of backglights: LED and EL LEDs are cheaper, but use more power and some areas of the screen will be brighter than others. EL panels are what is used on watches, look better, use less power, and cost more.
I guess this was designed for phones. Oh well... Something that would be more doable is a theme that contains zero images, with maybe an exception for the omnimaga logo.
Interesting. When I'm using a slow computer, this would be nice, except the navigation is too limited, and there's no recent posts list. Is there any possibility of changing this?
Yeah, I remember using a gba emulator on my wii, and when I used the analog stick on the nunchuck, it got annoying. I haven't had any troubles with it on my nspire, though.