Commit Graph

17 Commits

Author SHA1 Message Date
Szymon Nowak
9520275b4d Removed trailing whitespace. Converted tabs to 4 spaces. 2011-02-10 21:50:57 +01:00
George Michael Brower
7c9143a8e2 Added options() method for string and number controllers 2011-02-09 13:28:35 -08:00
George Michael Brower
9c2c24aeeb 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
0aa2e7eea5 Moved Controller classes to GUI namespace 2011-02-01 13:45:22 -05:00
Jono Brandel
4354f96be7 fixed the firefox horizontal issue 2011-01-31 19:06:34 -08:00
George Michael Brower
5bde5f79a1 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
19bc3b1eac 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
8fd5eee320 Merge remote branch 'jonobr1/master' 2011-01-29 03:57:26 +00:00
Mr.doob
d47e5662d8 Fixed loop issue. Now watched controllers don't set the value after updating. 2011-01-29 03:56:32 +00:00
jonobr1
d3effd0e8a updated index to reflect the new listen() and onChange() functionality 2011-01-28 20:22:05 -07:00
jonobr1
e11bd9b98a Merged in mr doobs changes for watchers and changed setName to name 2011-01-28 19:55:43 -07:00
Mr.doob
eb410d3fda 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