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
3cf34f1954
Added 'it gives you this'
2011-01-27 14:24:25 -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
e648445346
Attempt to make text in number boxes unselectable.
2011-01-24 15:08:48 -07:00
George Michael Brower
2bdafaf2c9
Functional string and boolean controllers.
2011-01-24 13:11:19 -07:00
George Michael Brower
222a82a9a1
Added dummy classes for TODO controllers and updated demo/gui css
2011-01-24 03:36:57 -07:00
George Michael Brower
ab86edc849
Changes to gui.css
2011-01-23 19:59:29 -07:00
George Michael Brower
2c03829a83
Changes to gui.css
2011-01-23 17:50:14 -07:00
jonobr1
9394f945bd
min and max added to NumberController
2011-01-23 16:47:26 -08:00
George Michael Brower
506d5b597c
Merge branch 'master' of github.com:jonobr1/GUI-DAT
2011-01-23 17:21:44 -07:00
George Michael Brower
1eef439650
Small changes to gui.css
2011-01-23 17:21:36 -07:00
jonobr1
9100b13e1c
NumberController works-ish
2011-01-23 16:15:04 -08:00
George Michael Brower
50543e3530
Merge branch 'master' of github.com:jonobr1/GUI-DAT
2011-01-23 17:03:38 -07:00
George Michael Brower
bf6d8cb0ac
Small fix to gui.js
2011-01-23 17:03:32 -07:00
jonobr1
2e942df08b
Created Controller class and started NumberController object
2011-01-23 16:02:15 -08:00
George Michael Brower
ba1ff6f492
Hide/show controls
2011-01-23 16:56:22 -07:00
George Michael Brower
d140f6e02d
Began gui.css
2011-01-23 16:43:02 -07:00
George Michael Brower
7c1fcb6cd8
Updated README and fleshed out gui.js
2011-01-23 15:57:12 -07:00
George Michael Brower
b716dc8225
Merged
2011-01-23 15:37:28 -07:00
George Michael Brower
b3127f12ed
Updated README and fleshed out gui.js
2011-01-23 15:35:19 -07:00
jonobr1
4d5febb0e5
handles properly
2011-01-23 14:04:08 -08:00
jonobr1
354eeb3c0b
edited log method
2011-01-23 13:59:29 -08:00
jonobr1
51e844ec48
added log method to gui.js
2011-01-23 13:54:09 -08:00
George Michael Brower
7f9467358f
Added add handlers
2011-01-23 14:47:42 -07:00
George Michael Brower
8126a0cf4b
Initial files
2011-01-23 14:39:07 -07:00
George Michael Brower
c3021baa2f
Initial files
2011-01-23 14:23:53 -07:00