PDA

View Full Version : Mouse Input Events



ianwillo
12-11-2003, 11:26 AM
HELP!

I have a 3d scene with a couple of squares translated. How do i right click on the screen to change the colour of the object? the current colour is red? I want to change it to another colour using a menu.

thanks!

nexusone
12-11-2003, 11:46 AM
Depends on what type of menu's you want, windows bar type drop down or glut popup type menu's?

Also what OS are you using and programming language.



Originally posted by ianwillo:
HELP!

I have a 3d scene with a couple of squares translated. How do i right click on the screen to change the colour of the object? the current colour is red? I want to change it to another colour using a menu.

thanks!

ianwillo
12-11-2003, 12:22 PM
i am using c++, win32 and when i right click i want a menu like on your desktop when you right click and for it to have two options:

PC
Bookcase

when you go on one of these you then choose a colour.

thanks ian