Hi,
I have created a bitmap using:
bitmap = BmpCreate(width, height, 8, colorTable, &err);
ptr = BmpGetBits(bitmap);
for (i = 0, pbits = bits; i < h; i++) {
MemMove(ptr, pbits, bytes);
pbits += bitmap->rowBytes;
ptr += bitmap->rowBytes;
}
WinSetDrawWindow(aWindow);
WinPaintBitmap(bitmap, 0, 0);
pbits contains decoded gif information (8 bit pixel values) that index into
the colorTable that I have passed to BmpCreate. All I get on
the screen is a black rectangle (the size of the bitmap).
Is the OS not recognizing that I have changed the bitmap values.
Thanks in advance for your help.
Shekar Mantha
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/