LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: WiESi on June 05, 2005, 07:03:47

Title: Cursor issue
Post by: WiESi on June 05, 2005, 07:03:47
Hi!

I intend to use a native Cursor in my app. Unfortunately the Cursor is not transparent where it has to be, instead of it inverts the background colors at this positions. I already checked the Cursor's alpha values: only 0x00 and 0xFF where used. Does anyone have an idea why this is so?

WiESi
Title: Cursor issue
Post by: tomb on June 05, 2005, 13:57:25
This is a feature in windows I think. The alpha values is not the only thing that mathers. There is also a xor mode. Try setting the color values on the transparent pixels to either 0x000000 or 0xffffff.
Title: Cursor issue
Post by: WiESi on June 05, 2005, 14:55:45
Hey, thanks, all other values have to be set to 0x00.

WiESi