dataarts / dat.guiVR

A flexible graphical user interface for changing variables within WebVR.
https://workshop.chromeexperiments.com/examples/guiVR/
Apache License 2.0
312 stars 49 forks source link

Add "drop down" control #6

Closed customlogic closed 8 years ago

customlogic commented 8 years ago

As in dat.GUI, when the user passes in a list of string/value pairs we create a drop down control.

When not activated, the drop down should show the current state: vrcompositor 2016-08-29 11-25-10-458

When you click the drop down, the list of options should open up. As you point up/down the list, the items highlight as you pass over them. When you "click" the current item is selected. If you point away from the drop down, it closes.

vrcompositor 2016-08-29 11-25-27-361

mflux commented 8 years ago

Actually, it still needs to support arrays.

customlogic commented 8 years ago

Can you add a little down arrow to the right of the control (the international sign for "this is a drop down")?

vrcompositor 2016-09-08 10-15-55-867

mflux commented 8 years ago

screenshot 2016-09-08 18 42 32 Just for you Jeff