Commit Graph

475 Commits

Author SHA1 Message Date
Christopher Jeffrey 8ebbbbac65 add setText and getText methods. expose element and node. 2013-08-04 04:59:28 -05:00
Christopher Jeffrey dadf185a87 cleanup mouse handler. improve "visible" getter. 2013-08-04 04:38:29 -05:00
Christopher Jeffrey c746cd7197 v0.0.20 2013-08-04 01:29:54 -05:00
Christopher Jeffrey 17c4cb1e2a minor changes and cleanup. 2013-08-04 01:21:48 -05:00
Christopher Jeffrey b5c7aed3ad clean up old code. 2013-08-04 01:21:48 -05:00
Christopher Jeffrey 5317e14c98 fix Button in readme. 2013-08-04 01:21:48 -05:00
Christopher Jeffrey 981de641ae Merge pull request #5 from mscdex/master
better Windows support
2013-08-03 23:20:38 -07:00
mscdex a1616aec0a Better Windows support 2013-08-02 21:59:49 -04:00
Christopher Jeffrey b7fa80cc2e fix uncaught error throwing. 2013-08-02 12:47:22 -05:00
Christopher Jeffrey 7a8a0d2591 setMouse improvements. do not allow fg changes on selected items. do not bubble render events. 2013-08-02 05:59:54 -05:00
Christopher Jeffrey 8efe06e8f4 explain event bubbling in the readme. 2013-08-01 20:10:21 -05:00
Christopher Jeffrey 52a9f5d182 fix scroll rendering for children with padding. 2013-08-01 20:00:24 -05:00
Christopher Jeffrey c4a7f05025 obscure overlapping sides in scrolling elements. 2013-08-01 04:19:58 -05:00
Christopher Jeffrey 598be3bb88 refactor constructors. 2013-08-01 03:28:10 -05:00
Christopher Jeffrey d3c34f6f89 optimize clickable sort. better autofocus. flush on exception. 2013-08-01 02:52:03 -05:00
Christopher Jeffrey b2666ffecb add event bubbling. 2013-08-01 01:02:16 -05:00
Christopher Jeffrey 0e047b8e51 minor fixes. 2013-07-31 19:21:10 -05:00
Christopher Jeffrey f3df07a237 buffer everything. cancel acs at the end of draw() if necessary. 2013-07-31 17:43:03 -05:00
Christopher Jeffrey 51771dc19a add log method to program object. 2013-07-31 00:43:24 -05:00
Christopher Jeffrey 2e58aed1ea refactor position and new padding code. 2013-07-30 23:57:48 -05:00
Christopher Jeffrey 78a3726f2f add auto-positioning which respects padding and borders. 2013-07-30 23:46:07 -05:00
Christopher Jeffrey ac88ceaebe remove radio-button handling from checkbox. 2013-07-29 19:27:15 -05:00
Christopher Jeffrey 33214ee924 cleanup new dump method. 2013-07-29 19:06:22 -05:00
Christopher Jeffrey b7e7a8264b better dumps. 2013-07-29 19:00:31 -05:00
Christopher Jeffrey 81267dbd2a move el._focus to screen._focus. 2013-07-29 17:40:48 -05:00
Christopher Jeffrey af27e80447 fix readme typo. 2013-07-29 17:35:48 -05:00
Christopher Jeffrey 82322ac017 allow border option to be a string. 2013-07-29 17:22:21 -05:00
Christopher Jeffrey 1f17a48af3 maintain the readme example in example/ 2013-07-29 17:18:30 -05:00
Christopher Jeffrey 31c0d2a550 add keywords to package.json. 2013-07-29 17:11:42 -05:00
Christopher Jeffrey 9328c0e401 fix scrollablebox/text mixup in readme. 2013-07-29 17:09:23 -05:00
Christopher Jeffrey 3b5196910c update readme code example. 2013-07-29 17:06:36 -05:00
Christopher Jeffrey 24ceab93f9 new textarea/textbox options. 2013-07-29 17:04:39 -05:00
Christopher Jeffrey 631f42bd74 v0.0.19 2013-07-29 16:59:05 -05:00
Christopher Jeffrey 1a4c0cd761 fix mwidth for elements with no content. 2013-07-29 16:49:44 -05:00
Christopher Jeffrey 36415f76b6 fix textbox/textarea. 2013-07-29 16:38:19 -05:00
Christopher Jeffrey d2226c3295 improve focus. fix getCoords. readme. 2013-07-29 15:49:09 -05:00
Christopher Jeffrey a3e2983b4b fix form errors. 2013-07-29 10:40:59 -05:00
Christopher Jeffrey 6a03ad42ff textbox. progressbar. misc. readme. 2013-07-29 09:14:03 -05:00
Christopher Jeffrey 2dfedf5e47 enable textbox input-on-focus. 2013-07-29 04:23:52 -05:00
Christopher Jeffrey 9b77e3df63 fix setEffects and failed fg/bg 256 color sequences. 2013-07-29 04:22:20 -05:00
Christopher Jeffrey 9a1411338c fix small error. 2013-07-28 14:49:01 -05:00
Christopher Jeffrey 0bc25d9989 make dumps for all tests. 2013-07-28 14:45:38 -05:00
Christopher Jeffrey 3bcbd9b39f enable new parseTags method. clean up old code. 2013-07-28 14:18:28 -05:00
Christopher Jeffrey 084f28fcff content attribute and tag handling.
- handle content attributes with better respect to element's style.
- add a more sophisticated tag parser.
2013-07-28 13:20:52 -05:00
Christopher Jeffrey 927c40d2f3 fix mwidth. minor. 2013-07-28 10:51:43 -05:00
Christopher Jeffrey f8fbb2a0c8 remove dwidth characters for now. 2013-07-28 10:19:04 -05:00
Christopher Jeffrey f236898f73 optimize shrink width. 2013-07-28 10:02:04 -05:00
Christopher Jeffrey 9cc1f53d9a refactor wrapContent. 2013-07-28 09:43:28 -05:00
Christopher Jeffrey 88da43bfaf fix empty lines in wrapContent. 2013-07-28 09:24:08 -05:00
Christopher Jeffrey a82ad19110 fixed only affects one level of scrollable ancestors. 2013-07-28 03:01:09 -05:00