View Full Version : change mouse icon

10-23-2005, 03:12 AM
is it possible to change mouse icon in opengl?

Ehsan Kamrani
10-23-2005, 03:32 AM
Yes.You can load an RGBA texture and use from the alpha testing and/or blending to draw the texture of your icon . the X and Y positions of your mouse specify the position of your texture. But before you draw your texture, you should convert the y coordinate of your mouse to the y coordinate of OpenGL.

10-23-2005, 10:25 AM
Typically the mouse cursor shape is controlled by your windwing system and OS

So you should be able to simply call the relevant function for your windowing API