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
d099440e0e
fixed the firefox horizontal issue
2011-01-31 19:06:34 -08:00
George Michael Brower
69a9f1e4dd
Saving on lock, memorizes panel appearance, scrollOffsets, you name it. Gonna give this a lookover in FF then minify and push to gh-pages
2011-01-31 19:49:14 -05:00
George Michael Brower
a960a0d1ca
Working on string controller
2011-01-31 18:15:29 -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
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
fe172c75fb
Added updateValue method to StringController (so watched string controllers update).
...
Moved easing from margin-top to height. It's now showing an ugly scrollbar jump. Hmm...
2011-01-29 02:25:48 +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
86f5579cbe
Changes to index.html
2011-01-25 18:55:59 -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