Commit Graph

230 Commits

Author SHA1 Message Date
Christopher Jeffrey 34b7520c44 setCell function. 2013-06-13 14:57:46 -05:00
Christopher Jeffrey 1c6681e99d different border drawing. 2013-06-13 05:30:21 -05:00
Christopher Jeffrey fccb1627a6 fix text alignment. 2013-06-13 04:44:00 -05:00
Christopher Jeffrey 1765d44a69 add shrink option to Box. 2013-06-13 04:22:45 -05:00
Christopher Jeffrey d9a0b49bce text alignment. first step to deprecate Text. 2013-06-13 04:14:14 -05:00
Christopher Jeffrey bca271fbe6 refactor attr swap. 2013-06-13 02:26:09 -05:00
Christopher Jeffrey 607013b22b blink, inverse, invisible. 2013-06-13 02:22:01 -05:00
Christopher Jeffrey 461af61a59 refactor colors/attr. 2013-06-13 02:16:32 -05:00
Christopher Jeffrey 761e2a2aaf insert and delete line functions utilizing csr. 2013-06-13 01:33:10 -05:00
Christopher Jeffrey 9963df5343 optimize setters. 2013-06-12 14:31:48 -05:00
Christopher Jeffrey 843736d5b1 allow vertical progress bars. 2013-06-12 04:18:47 -05:00
Christopher Jeffrey 796a3f0ddd fix hide/show error. 2013-06-12 03:47:35 -05:00
Christopher Jeffrey db001078b2 minor. 2013-06-11 20:16:18 -05:00
Christopher Jeffrey 9eaac2045b improve parsed content handling. 2013-06-11 15:16:41 -05:00
Christopher Jeffrey 0eb04e4e6e fix scroll resizing. 2013-06-11 14:30:36 -05:00
Christopher Jeffrey b4566dc48b comment. 2013-06-11 14:23:39 -05:00
Christopher Jeffrey 6357b4dfff stop reverting to el.height for offsets if it is bigger than parent.height. 2013-06-11 14:00:18 -05:00
Christopher Jeffrey 94426dfd79 remove old code. comments. 2013-06-11 13:57:06 -05:00
Christopher Jeffrey 02c57a34ce emit more events. use tput. 2013-06-11 13:51:01 -05:00
Christopher Jeffrey 6bf8afb357 docs. minor changes. 2013-06-11 12:05:14 -05:00
Christopher Jeffrey 39b7ae7546 multiple positioning improvements. tests. 2013-06-11 10:37:22 -05:00
Christopher Jeffrey a7f2823df2 stop hooking addListener. 2013-06-11 09:27:50 -05:00
Christopher Jeffrey 8f4e23130e positioning test. fix screen key listening. 2013-06-11 09:23:42 -05:00
Christopher Jeffrey f463aa7b52 moving. resizing. fix scrolling. 2013-06-11 09:09:57 -05:00
Christopher Jeffrey e3571d1281 setContent content handling for scrollable text. 2013-06-09 21:35:18 -05:00
Christopher Jeffrey 07351bdcb0 cleanup recent scroll work. fix max. 2013-06-09 20:33:57 -05:00
Christopher Jeffrey ee739c6e7a better content parsing and scrolling. 2013-06-09 20:19:32 -05:00
Christopher Jeffrey c260bb9a02 add focus history. 2013-06-09 15:52:22 -05:00
Christopher Jeffrey a19d9baf48 global element events. automatically focus on click. 2013-06-09 15:24:57 -05:00
Christopher Jeffrey b04f8d04b2 fix textbox focusing. 2013-06-09 15:02:12 -05:00
Christopher Jeffrey 87aef67274 cleanup old textbox code. 2013-06-09 14:34:13 -05:00
Christopher Jeffrey b29dddc547 refactor progressbar. horizontal scroll for textbox. 2013-06-09 14:32:29 -05:00
Christopher Jeffrey 41c4560a6f add text input and setContent. 2013-06-09 13:17:24 -05:00
Christopher Jeffrey 812aa7fa42 automatically use alternate buffer etc. 2013-06-09 11:48:36 -05:00
Christopher Jeffrey 2cbbe786fb better screen and parent handling. scroll improvements. 2013-06-09 11:39:05 -05:00
Christopher Jeffrey 48658c4cf9 fix progressbar. 2013-06-07 07:12:53 -05:00
Christopher Jeffrey 8cca60beac add workaround for screen-256color terminfo. use correct terminfo fallback. 2013-06-07 06:47:17 -05:00
Christopher Jeffrey 8f0025c650 comments. 2013-06-07 06:17:15 -05:00
Christopher Jeffrey 3eee2599b7 more efficient content scrolling. 2013-06-07 05:58:00 -05:00
Christopher Jeffrey 7fb6b2cc3b fix mouse events for overlapping elements. 2013-06-06 10:27:19 -05:00
Christopher Jeffrey 0477f38a2d escape code and newline handling for Text. 2013-06-06 10:14:00 -05:00
Christopher Jeffrey 5902e224e5 better escape/newline handling. 2013-06-06 09:37:39 -05:00
Christopher Jeffrey cbda45ae11 positioning 2013-06-06 08:18:46 -05:00
Christopher Jeffrey b7f18f6f61 escape codes and newline handling. 2013-06-06 07:57:50 -05:00
Christopher Jeffrey 2cf1e5ee44 fix mousewheel on scrollables. 2013-06-06 05:49:47 -05:00
Christopher Jeffrey 5d67e189a8 allow element hiding. 2013-06-06 05:38:30 -05:00
Christopher Jeffrey ac10c408e3 optimize rendering even more. 2013-06-06 05:19:52 -05:00
Christopher Jeffrey d0473749c9 potentially allow newlines in text content. 2013-06-06 04:40:06 -05:00
Christopher Jeffrey ed2b9ae4d0 major improvements. 2013-06-06 04:03:25 -05:00
Christopher Jeffrey 1d37b2b6e2 reorganize 2013-06-03 20:33:08 -05:00
Christopher Jeffrey dbacb6f8ed Revert "auto calculate top for lists."
This reverts commit 5ec1f2808c.
2013-06-03 20:06:58 -05:00
Christopher Jeffrey 5ec1f2808c auto calculate top for lists. 2013-06-03 20:06:55 -05:00
Christopher Jeffrey 45dec1039c first working scrollable box. 2013-06-02 22:32:34 -05:00
Christopher Jeffrey 4b61da17c9 full list item fix. 2013-06-01 06:43:09 -05:00
Christopher Jeffrey 210d956214 border measures. 2013-06-01 06:08:18 -05:00
Christopher Jeffrey 493004b521 fixes. scrollble work. 2013-06-01 05:47:18 -05:00
Christopher Jeffrey 4fe0e98704 lists. misc. 2013-06-01 02:06:04 -05:00
Christopher Jeffrey 7e85f82426 first working highlevel example. 2013-06-01 00:29:31 -05:00
Christopher Jeffrey 58b2bf8f74 example. resize. 2013-05-31 21:44:43 -05:00
Christopher Jeffrey 0b77cb0d27 more cleanup 2013-05-31 21:40:04 -05:00
Christopher Jeffrey 4c52543f98 example, fix scrollable, cleanup, percentage positions. 2013-05-31 21:39:15 -05:00
Christopher Jeffrey 342f56a822 finally commit experimental high level interface. 2013-05-31 21:09:07 -05:00
Christopher Jeffrey a1c82b1aa7 set-title for screen. 2013-04-28 17:39:46 -05:00
Christopher Jeffrey 110059704d fix else...then. 2013-03-09 04:57:39 -06:00
Christopher Jeffrey 00b5a5b6f7 have extended area start on an even byte. 2013-03-06 04:53:08 -06:00
Christopher Jeffrey 2c41e0b862 include extended header in output. 2013-03-06 04:44:48 -06:00
Christopher Jeffrey 42815f72fa add extended xterm features. 2013-03-06 04:27:42 -06:00
Christopher Jeffrey 78c2803523 do not gracefully handle bad parse errors. 2013-03-06 04:03:54 -06:00
Christopher Jeffrey 134ebe28c0 Revert "misc changes."
This reverts commit 20121bec954e6744d9756e3f60a65f04fd897bbc.
2013-03-05 21:49:45 -06:00
Christopher Jeffrey 14c3e82d16 misc changes. 2013-03-05 18:16:14 -06:00
Christopher Jeffrey 962a7bdcc6 handle terminfo fallback better. 2013-03-05 17:38:41 -06:00
Christopher Jeffrey 464451859a comments. 2013-03-05 02:40:00 -06:00
Christopher Jeffrey 7f0ab93e0d cleanup 2013-03-05 02:28:20 -06:00
Christopher Jeffrey 176df61343 refactor 2013-03-04 20:03:00 -06:00
Christopher Jeffrey c7f68baec6 improve test. add configurable termcap/info file options. 2013-03-04 18:22:23 -06:00
Christopher Jeffrey f7a569c628 refactor. assert. 2013-03-04 13:00:14 -06:00
Christopher Jeffrey 51bc7c388c comments. misc. 2013-03-01 07:02:14 -06:00
Christopher Jeffrey 36971ed715 minor 2013-02-28 18:01:07 -06:00
Christopher Jeffrey a3bf0984ca fix termcap aliases. 2013-02-28 01:41:25 -06:00
Christopher Jeffrey 36df8ef3ca fix termcap aliases. 2013-02-28 01:36:27 -06:00
Christopher Jeffrey 4ed0bda9ff recursively inherit from other termcap entries. 2013-02-28 01:26:08 -06:00
Christopher Jeffrey 6acb18fba4 improve compileTerminfo. try to read from $TERMCAP. 2013-02-28 01:17:37 -06:00
Christopher Jeffrey 76fa728a89 fix %r. remove comment. 2013-02-27 19:55:03 -06:00
Christopher Jeffrey 629995a669 add an assert. 2013-02-27 19:40:57 -06:00
Christopher Jeffrey 086414a5c5 fix printf %c. 2013-02-27 19:39:08 -06:00
Christopher Jeffrey f2c4c01d9e expose data for debugging. 2013-02-27 19:28:59 -06:00
Christopher Jeffrey d5208b758f refactor 2013-02-27 18:25:59 -06:00
Christopher Jeffrey df0aeb5005 more work 2013-02-27 17:43:28 -06:00
Christopher Jeffrey fe004fff34 work 2013-02-27 17:26:34 -06:00
Christopher Jeffrey 3897e49ef8 more termcap work. 2013-02-27 17:17:26 -06:00
Christopher Jeffrey 8f09c278f1 translate termcap caps to terminfo. 2013-02-27 16:57:11 -06:00
Christopher Jeffrey 1f979b35ac cleanup 2013-02-27 16:36:02 -06:00
Christopher Jeffrey f1fe73e974 termcap compilation 2013-02-27 16:34:57 -06:00
Christopher Jeffrey 8a3f29fddb refactor 2013-02-27 12:26:33 -06:00
Christopher Jeffrey 983dfa943e inherit tput objects properties. 2013-02-27 12:23:55 -06:00
Christopher Jeffrey f7e8cde45e misc 2013-02-27 12:17:15 -06:00
Christopher Jeffrey ea85c1778f remove comments. 2013-02-25 19:10:51 -06:00
Christopher Jeffrey 44ca13c291 refactor. misc fixes. 2013-02-25 19:10:19 -06:00
Christopher Jeffrey 618ba14369 optional printf. 2013-02-25 06:29:46 -06:00
Christopher Jeffrey 1684a267dc Revert "use sprintf"
This reverts commit af1ad01b99.
2013-02-25 06:12:52 -06:00