-
Please help, just started
Dear Sirs,
I've just started learning OpenGL. It already looks like i'mgoing to like it. But unfortunately I got stuck on something. I want to define a specific area so when a mouse is over that area i programme could perform a function.
Could anyone please help me.
Looking forward to your replies.
-
Re: Please help, just started
Hi,
OpenGL is for graphics output only. So if you want to implement such a feature you need to use functions of your OS, meaning checking mouse XY-Position on screen and then performing some action.
Maybe GLUT, which is a library that eases some OpenGL things, provides some sort of function that could do this for you.
Greets,
Martin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules