#include <surface.h>
Public Member Functions | |
| Pixel (byte *vidMem, uint8 bpp, byte *min, byte *max) | |
| Pixel & | operator++ () |
| Pixel | operator++ (int x) |
| Pixel & | operator-- () |
| Pixel | operator-- (int x) |
| Pixel & | operator+= (int x) |
| Pixel & | operator-= (int x) |
| uint32 | get () const |
| void | set (uint32 p) |
| bool | isValid () const |
An iterator over a surface's image data, automatically handles different color depths.