George Michael Brower
62e50fc8a0
Added onFinishChange() for string and number controllers, onFire() for function controllers and noSlider() for number controllers.
2011-02-09 11:39:18 -08:00
George Michael Brower
548f0fa3d2
Moved Controller classes to GUI namespace
2011-02-01 13:45:22 -05:00
Jono Brandel
d099440e0e
fixed the firefox horizontal issue
2011-01-31 19:06:34 -08:00
George Michael Brower
ea585f0de4
Saving via URL is on lock. Almost done making it so that panel appearance is saved as well, but bugs with resizing afterwards.
2011-01-31 10:47:07 -05:00
George Michael Brower
ad78b157e1
Merged my changes with doob's -- exact same external functionality, some internal differences
2011-01-28 21:28:12 -07:00
George Michael Brower
dc814e0055
Changed Controller class to prototype syntax, added a method updateDisplay() for Controller (used by listen()), implemented by each Controller subclass.
2011-01-28 21:04:33 -07:00
Mr.doob
136cd367fe
Merge remote branch 'jonobr1/master'
2011-01-29 03:57:26 +00:00
Mr.doob
a378d33bae
Fixed loop issue. Now watched controllers don't set the value after updating.
2011-01-29 03:56:32 +00:00
jonobr1
2dc271fa44
updated index to reflect the new listen() and onChange() functionality
2011-01-28 20:22:05 -07:00
jonobr1
f736507fd4
Merged in mr doobs changes for watchers and changed setName to name
2011-01-28 19:55:43 -07:00
Mr.doob
d770dbb0c2
Hacked in a Controllers Watcher.
...
It would be nice if the controllers had the last value cached so setValue will execute only if _value != value.
Added a setWatched example in the demo.
2011-01-29 01:23:20 +00:00
Mr.doob
3b4f6e3944
Changed GUI to be instanceable (rather than just one GUI per project). GUI.start() is now var gui = new GUI();
...
Included prettify.js in the repo so people checking the demo localy doesn't need the internets.
Changed way of hidding the panel (controllerContainer.style.height rather than this.domElement.stylemarginTop).
2011-01-29 00:38:58 +00:00
George Michael Brower
f9c0b16314
Fixed a bug in slider
2011-01-26 15:55:56 -07:00
George Michael Brower
86f5579cbe
Changes to index.html
2011-01-25 18:55:59 -07:00
George Michael Brower
1d72449b36
Added controllers folder, some small css fixes
2011-01-25 01:22:04 -07:00