annoying mouse clicks and GLUT problem
I've got a GLUT game where I click my mouse happily along. Everything
is fine and dandly. Then I perform a pull down menu (option+mouse down;
select new option) and let go.
I click on the game board and everything seems normal. ie I select a game piece.
Then I click again for the piece's destination and absolutely nothing. I select again
and this click is registered. I can repeat the on demand and for all options of the
menu.
I even put this thru the debugger and I'm only seeing a mouse up for the click
that is ignored. I only do an action on mouse down so this makes sense in the
context of my code.
I tried so hokey stuff like setting the mouse func to NULL upon entering the
menu function and then activating it again upon leaving.
Any ideas?
is fine and dandly. Then I perform a pull down menu (option+mouse down;
select new option) and let go.
I click on the game board and everything seems normal. ie I select a game piece.
Then I click again for the piece's destination and absolutely nothing. I select again
and this click is registered. I can repeat the on demand and for all options of the
menu.
I even put this thru the debugger and I'm only seeing a mouse up for the click
that is ignored. I only do an action on mouse down so this makes sense in the
context of my code.
I tried so hokey stuff like setting the mouse func to NULL upon entering the
menu function and then activating it again upon leaving.
Any ideas?
file a bug report?
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| GLUT mouse detection | Jones | 8 | 3,028 |
Jul 26, 2006 09:50 PM Last Post: Jones |
|
| annoying cosmetic texture problem. | WhatMeWorry | 14 | 5,273 |
Jun 6, 2005 06:15 PM Last Post: WhatMeWorry |
|
| mouse input problem | leggo | 13 | 5,503 |
Oct 5, 2004 06:10 AM Last Post: aaronsullivan |
|
| Using alpha channel to detect inbounds clicks | LongJumper | 8 | 3,610 |
Aug 27, 2004 04:47 PM Last Post: LongJumper |
|
| GL/GLUT texture alpha problem | Joseph Duchesne | 3 | 3,646 |
Jul 17, 2004 11:02 AM Last Post: PowerMacX |
|

