Commit Graph

22 Commits

Author SHA1 Message Date
Szymon Nowak
bf30035fe4 Fixed missing semicolons and implied globals. 2011-02-10 22:00:01 +01:00
Szymon Nowak
3895cc188e Removed trailing whitespace. Converted tabs to 4 spaces. 2011-02-10 21:50:57 +01:00
George Michael Brower
f0f8ff2d79 Added options() method for string and number controllers 2011-02-09 13:28:35 -08:00
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
5a9f17b283 Forgot to add Slider to GUI namespace as well 2011-02-01 13:53:14 -05:00
George Michael Brower
548f0fa3d2 Moved Controller classes to GUI namespace 2011-02-01 13:45:22 -05:00
Jono Brandel
c3fd69b95a changed keyEvent from keyup to keydown 2011-01-31 12:28:18 -08:00
Jono Brandel
109474c99c added key event up and down arrows to controller.number.js 2011-01-31 12:25:57 -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
5b38f59def 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
554767fa70 totally resizeable :) 2011-01-30 16:03:09 -07: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
a378d33bae Fixed loop issue. Now watched controllers don't set the value after updating. 2011-01-29 03:56:32 +00: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
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