View Full Version : change mouse icon
10-23-2005, 04:12 AM
is it possible to change mouse icon in opengl?
10-23-2005, 04: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, 11: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
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.