Commit Graph

20 Commits

Author SHA1 Message Date
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
7f5ebe0193 Forgot to add Slider to GUI namespace as well 2011-02-01 13:53:14 -05:00
George Michael Brower
0aa2e7eea5 Moved Controller classes to GUI namespace 2011-02-01 13:45:22 -05:00
Jono Brandel
87f7f877c1 changed keyEvent from keyup to keydown 2011-01-31 12:28:18 -08:00
Jono Brandel
7048931536 added key event up and down arrows to controller.number.js 2011-01-31 12:25:57 -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
738b4d0d06 Lots of saving goodness though a few things left to be done / tested. Started to add collapsable sections on demo headers. Won't be stable enough by tomorrow morning. 2011-01-30 23:53:33 -05:00
George Michael Brower
f6324d64cc totally resizeable :) 2011-01-30 16:03:09 -07: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
d47e5662d8 Fixed loop issue. Now watched controllers don't set the value after updating. 2011-01-29 03:56:32 +00: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
d14512b454 Changes to index 2011-01-28 14:19:26 -07:00
George Michael Brower
f9c0b16314 Fixed a bug in slider 2011-01-26 15:55:56 -07:00
George Michael Brower
091a01bbaa CSS3 hover transitions 2011-01-25 15:24:35 -07:00
George Michael Brower
ad26e4835a Fixed constraints on slider and made fixes to css 2011-01-25 15:10:40 -07:00
George Michael Brower
a6aea7d30b Starting on sliders. Still some kinks. 2011-01-25 02:35:45 -07:00
George Michael Brower
1d72449b36 Added controllers folder, some small css fixes 2011-01-25 01:22:04 -07:00