Commit Graph

44 Commits

Author SHA1 Message Date
George Michael Brower
548f0fa3d2 Moved Controller classes to GUI namespace 2011-02-01 13:45:22 -05:00
Jono Brandel
a32e125876 Merge branch 'master' of github.com:jonobr1/gui-dat 2011-01-31 19:06:50 -08:00
Jono Brandel
d099440e0e fixed the firefox horizontal issue 2011-01-31 19:06:34 -08:00
George Michael Brower
84472b9b77 typo 2011-01-31 20:24:30 -05:00
George Michael Brower
e79720794f Merge branch 'master' of github.com:jonobr1/gui-dat 2011-01-31 19:51:22 -05: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
Jono Brandel
b1631b0327 added unListenTo method 2011-01-31 15:50:06 -08:00
George Michael Brower
a960a0d1ca Working on string controller 2011-01-31 18:15:29 -05:00
Jono Brandel
0a220426e9 updated index to handle toggling of documentation and also css fix to gui.css 2011-01-31 12:21:14 -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
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