Christopher Jeffrey
|
0f4b60314b
|
allow tabbing from textboxes in forms.
|
2013-07-18 22:49:06 -05:00 |
Christopher Jeffrey
|
df317bb472
|
improve position, attribute parsing. misc.
|
2013-07-18 22:27:18 -05:00 |
Christopher Jeffrey
|
b8e0fafaeb
|
misc. options. refactor tests/bin.
|
2013-07-18 18:02:45 -05:00 |
Christopher Jeffrey
|
f03f51267b
|
only emit attach if the element was not previously attached.
|
2013-07-18 15:06:33 -05:00 |
Christopher Jeffrey
|
48c2bae2a0
|
do not violate 80 col limit.
|
2013-07-18 15:01:42 -05:00 |
Christopher Jeffrey
|
4333952081
|
fix recursion in Form object.
|
2013-07-18 14:33:00 -05:00 |
Christopher Jeffrey
|
6141b383f1
|
add a getCoords() method.
|
2013-07-18 03:56:12 -05:00 |
Christopher Jeffrey
|
3c42a91fc5
|
add wrapContent to Element prototype.
|
2013-07-18 02:44:31 -05:00 |
Christopher Jeffrey
|
42351724d3
|
move wrapContent.
|
2013-07-18 02:37:18 -05:00 |
Christopher Jeffrey
|
b46d1161c5
|
refactor responses.
|
2013-07-18 01:51:08 -05:00 |
Christopher Jeffrey
|
5c114b8b69
|
fixed shrunken centered nested elements.
|
2013-07-17 12:43:13 -05:00 |
Christopher Jeffrey
|
ab449a12e3
|
scrollbar and list attr fixes.
|
2013-07-17 12:01:54 -05:00 |
Christopher Jeffrey
|
e9f7d933bd
|
replace shrink padding code.
|
2013-07-17 05:44:58 -05:00 |
Christopher Jeffrey
|
8e81ef015b
|
refactor shrink.
|
2013-07-17 05:22:42 -05:00 |
Christopher Jeffrey
|
1ae6a19b35
|
refactor scrollbar. fix shrink comparisons.
|
2013-07-17 04:59:21 -05:00 |
Christopher Jeffrey
|
e13f0ce5d4
|
rename _lastPos to lpos.
|
2013-07-17 04:41:43 -05:00 |
Christopher Jeffrey
|
29cd1a376f
|
more Box.render refactoring. docs. misc.
|
2013-07-17 04:32:13 -05:00 |
Christopher Jeffrey
|
6f8ab54a4f
|
refactor. stop usign xi_, yi_.
|
2013-07-17 03:57:30 -05:00 |
Christopher Jeffrey
|
566b800a04
|
refactor shrink.
|
2013-07-17 03:52:21 -05:00 |
Christopher Jeffrey
|
8776ec2c2d
|
listbar and improve shrinkBox.
|
2013-07-17 03:20:37 -05:00 |
Christopher Jeffrey
|
70953689e2
|
allow style.hover and style.focus. no autofocus on buttons.
|
2013-07-17 01:55:08 -05:00 |
Christopher Jeffrey
|
c805b80209
|
do not set lastPos on render(true). remove old code.
|
2013-07-17 01:34:43 -05:00 |
Christopher Jeffrey
|
7981f8d749
|
add shrinkBox. add forms. add RadioSet. misc refactor.
|
2013-07-17 01:28:42 -05:00 |
Christopher Jeffrey
|
cac1924b14
|
docs. fix line. fix attr objects.
|
2013-07-16 22:28:56 -05:00 |
Christopher Jeffrey
|
1561bdef7d
|
add valign. simpler way of rendering padding bg.
|
2013-07-16 20:19:44 -05:00 |
Christopher Jeffrey
|
c8c0d1f269
|
have padding maintain background color.
|
2013-07-16 20:09:01 -05:00 |
Christopher Jeffrey
|
fbf08e1288
|
fix progress bar colors.
|
2013-07-16 19:23:39 -05:00 |
Christopher Jeffrey
|
8a32e87cd9
|
remove all cens() calls.
|
2013-07-16 19:13:16 -05:00 |
Christopher Jeffrey
|
aa9bd9da6a
|
permanently rename ascii->line for borders.
|
2013-07-16 19:07:46 -05:00 |
Christopher Jeffrey
|
9ed9764b74
|
fix ACS/UTF8. use style object. rename ascii to line.
|
2013-07-16 19:05:44 -05:00 |
Christopher Jeffrey
|
7e238a470e
|
itemBg, style object, el.sattr.
|
2013-07-16 12:33:55 -05:00 |
Christopher Jeffrey
|
db365a2228
|
pass object in to attr functions.
|
2013-07-16 04:23:11 -05:00 |
Christopher Jeffrey
|
0aafeb2530
|
parseContent comment.
|
2013-07-16 03:50:42 -05:00 |
Christopher Jeffrey
|
28bd6ba3e4
|
fix textareas. 1 cell margin on content for textareas.
|
2013-07-16 01:57:07 -05:00 |
Christopher Jeffrey
|
c5d47187cf
|
comments for wrapContent.
|
2013-07-16 01:42:21 -05:00 |
Christopher Jeffrey
|
edc216fa37
|
allow attributes to be functions.
|
2013-07-16 01:06:00 -05:00 |
Christopher Jeffrey
|
b266f389e9
|
fix colors.
|
2013-07-16 00:18:31 -05:00 |
Christopher Jeffrey
|
3332e9d34e
|
hex colors in program. another wrapContent fix.
|
2013-07-15 19:35:36 -05:00 |
Christopher Jeffrey
|
87dc701b46
|
misc. docs.
|
2013-07-15 18:53:04 -05:00 |
Christopher Jeffrey
|
12e7eab68d
|
docs. key() fix. wrapContent() fix. box.{insert,delete}Line fix.
|
2013-07-15 17:50:27 -05:00 |
Christopher Jeffrey
|
bc99d7fc37
|
small refactor.
|
2013-07-15 13:15:41 -05:00 |
Christopher Jeffrey
|
97b442d3ec
|
misc high level widget fixes.
|
2013-07-15 05:00:26 -05:00 |
Christopher Jeffrey
|
211491409b
|
allow multiple lines for box insert/delete lines.
|
2013-07-15 04:40:44 -05:00 |
Christopher Jeffrey
|
51413c346e
|
docs. smartCSR option. minor fixes.
|
2013-07-15 04:31:09 -05:00 |
Christopher Jeffrey
|
158572ae38
|
fix max scroll lines number.
|
2013-07-14 23:37:36 -05:00 |
Christopher Jeffrey
|
4683b1d542
|
remove old prepend/append code.
|
2013-07-14 22:13:18 -05:00 |
Christopher Jeffrey
|
aa951c640f
|
use better cleanside detection algorithm. add insert method.
|
2013-07-14 22:11:48 -05:00 |
Christopher Jeffrey
|
4541fc5c50
|
minor change to alloc.
|
2013-07-14 12:21:14 -05:00 |
Christopher Jeffrey
|
caa21ee356
|
optimize alloc+clear. add a output dump option.
|
2013-07-14 12:08:03 -05:00 |
Christopher Jeffrey
|
c9c01e0805
|
refactor. comments.
|
2013-07-14 11:58:44 -05:00 |
Christopher Jeffrey
|
5ebfb4835f
|
fix and enable cleanSides.
|
2013-07-14 11:39:03 -05:00 |
Christopher Jeffrey
|
fd5bd89d56
|
check scrollable elements for "clean" sides for CSR rendering.
|
2013-07-14 11:26:19 -05:00 |
Christopher Jeffrey
|
95848bafa3
|
automatically optimize scrollable elements for csr and il/dl.
|
2013-07-14 11:07:48 -05:00 |
Christopher Jeffrey
|
6a44fd9a35
|
misc. add sigtstp method.
|
2013-07-14 10:16:19 -05:00 |
Christopher Jeffrey
|
04b0adac56
|
fix padding implementation. tests.
|
2013-07-14 08:57:05 -05:00 |
Christopher Jeffrey
|
0c6695d236
|
colors, line, and mouses fixes.
|
2013-07-14 08:05:42 -05:00 |
Christopher Jeffrey
|
965af859b0
|
make mouse coords zero indexed.
|
2013-07-14 07:35:00 -05:00 |
Christopher Jeffrey
|
155eac8677
|
potential cursor handling during render.
|
2013-07-14 07:02:59 -05:00 |
Christopher Jeffrey
|
d0f99be764
|
lazily convert colors. other misc color fixes.
|
2013-07-14 06:57:15 -05:00 |
Christopher Jeffrey
|
5753d7b6ab
|
better color reduction.
|
2013-07-14 06:43:17 -05:00 |
Christopher Jeffrey
|
363bc44caa
|
fix terminfo if/else. detect features.
|
2013-07-14 06:24:04 -05:00 |
Christopher Jeffrey
|
ccf3794be2
|
unicode detect. docs. device attr. focus/blur. smacs checks.
|
2013-07-13 23:38:43 -05:00 |
Christopher Jeffrey
|
8aa718c280
|
comment.
|
2013-07-13 21:03:03 -05:00 |
Christopher Jeffrey
|
b5be1f318d
|
remove unnecessary characters from SCLD.
|
2013-07-13 20:54:27 -05:00 |
Christopher Jeffrey
|
3c0582c304
|
first implementation of SCLD usage.
|
2013-07-13 20:47:29 -05:00 |
Christopher Jeffrey
|
fe39c786a6
|
higher level widgets.
|
2013-07-13 20:46:25 -05:00 |
Christopher Jeffrey
|
2b15290021
|
resize delay.
|
2013-07-12 21:51:24 -05:00 |
Christopher Jeffrey
|
95c527ff73
|
save cursor position before spawning process. fixes textareas.
|
2013-07-12 11:44:04 -05:00 |
Christopher Jeffrey
|
9fd97f0b03
|
small pick method improvement.
|
2013-07-12 11:30:32 -05:00 |
Christopher Jeffrey
|
932fe2b8f6
|
comment. docs.
|
2013-07-12 10:22:06 -05:00 |
Christopher Jeffrey
|
a801b47e28
|
improve mouse events by sorting by index.
|
2013-07-12 09:14:42 -05:00 |
Christopher Jeffrey
|
7414922a76
|
add filemanager widget. g keys.
|
2013-07-12 08:28:58 -05:00 |
Christopher Jeffrey
|
5dcb8f3200
|
action event. docs.
|
2013-07-12 05:39:22 -05:00 |
Christopher Jeffrey
|
97c582164b
|
keys. no mouse focus events.
|
2013-07-12 05:11:15 -05:00 |
Christopher Jeffrey
|
87a5188de9
|
docs. keys. misc.
|
2013-07-12 04:59:58 -05:00 |
Christopher Jeffrey
|
b92c0b7758
|
drop old insert/delete line methods.
|
2013-07-12 03:54:01 -05:00 |
Christopher Jeffrey
|
933b5442bd
|
insert, set, get, delete, clear lines.
|
2013-07-12 03:52:14 -05:00 |
Christopher Jeffrey
|
42399b17ab
|
setEffects. misc fixes.
|
2013-07-12 03:34:32 -05:00 |
Christopher Jeffrey
|
3ef2048289
|
omove. misc.
|
2013-07-12 01:13:29 -05:00 |
Christopher Jeffrey
|
ead26b4a66
|
start using zero-indexed instance of Program.
|
2013-07-12 00:36:36 -05:00 |
Christopher Jeffrey
|
d452b72dd8
|
optimize updateCursor with CUU, CUD, CUF, and CUB.
|
2013-07-11 23:17:10 -05:00 |
Christopher Jeffrey
|
2356d30394
|
hide focus. public index prop. select item on dbl click.
|
2013-07-11 22:52:46 -05:00 |
Christopher Jeffrey
|
3eb382e8f1
|
color names. tabs in textareas/boxes. cleanup old code. focus behavior.
|
2013-07-11 20:54:52 -05:00 |
Christopher Jeffrey
|
2c43b2ccec
|
fix hover effects. refactor.
|
2013-07-10 12:48:18 -05:00 |
Christopher Jeffrey
|
31a0a0a2e6
|
fix textarea cursor position.
|
2013-07-06 02:54:04 -05:00 |
Christopher Jeffrey
|
9b363b47de
|
remove old code.
|
2013-07-04 02:18:27 -05:00 |
Christopher Jeffrey
|
e7e8216611
|
clearPos. fix textarea.
|
2013-07-04 02:18:26 -05:00 |
Christopher Jeffrey
|
06400d089f
|
add multiline textareas. remove old hoverBg code.
|
2013-07-04 02:18:26 -05:00 |
Christopher Jeffrey
|
6355b1259f
|
docs, tests, examples, misc, editor.
|
2013-07-04 02:18:26 -05:00 |
Christopher Jeffrey
|
05216eadbb
|
remove _isScreen.
|
2013-07-04 02:18:26 -05:00 |
Christopher Jeffrey
|
6ec3534fcd
|
misc fixes. remove dead code.
|
2013-07-04 02:18:26 -05:00 |
Christopher Jeffrey
|
44904082ad
|
blank line
|
2013-06-29 15:56:32 -07:00 |
Christopher Jeffrey
|
888ba0d1a4
|
remove old code.
|
2013-06-29 15:46:47 -07:00 |
Christopher Jeffrey
|
7908b34f2e
|
compare indexes for render order on mouseover.
|
2013-06-29 11:09:22 -07:00 |
Christopher Jeffrey
|
5d5c522577
|
fix hover and mouse events.
|
2013-06-29 10:07:51 -07:00 |
Christopher Jeffrey
|
6663c6c3f0
|
potential wrap content fix.
|
2013-06-26 19:15:49 -05:00 |
Christopher Jeffrey
|
a1e9ec5a55
|
cleanup render. ignore border option on scrollbar.
|
2013-06-25 18:23:15 -05:00 |
Christopher Jeffrey
|
edc5535682
|
add an optional scrollbar for scrollable-box.
|
2013-06-25 18:17:21 -05:00 |
Christopher Jeffrey
|
c265194182
|
change screen keypress behavior.
|
2013-06-25 17:31:13 -05:00 |
Christopher Jeffrey
|
77593efd05
|
readme, tput, mouse, types, misc.
|
2013-06-25 06:35:15 -05:00 |
Christopher Jeffrey
|
07334af6fc
|
readme. reduce screen events.
|
2013-06-24 06:16:02 -05:00 |
Christopher Jeffrey
|
e094f843db
|
save/restore focus.
|
2013-06-20 13:03:31 -05:00 |
Christopher Jeffrey
|
5265275d0d
|
cleaner content parsing.
|
2013-06-20 12:07:35 -05:00 |
Christopher Jeffrey
|
38c9f1f177
|
textbox hidden. insert lines.
|
2013-06-20 11:48:12 -05:00 |
Christopher Jeffrey
|
8a39e9aaf4
|
check for parseTags in wrapContent. recenter shrunken elements.
|
2013-06-20 08:12:39 -05:00 |
Christopher Jeffrey
|
dc623ee0d1
|
vshrink and hshrink checks.
|
2013-06-20 07:55:52 -05:00 |
Christopher Jeffrey
|
5ef468c192
|
cleanup textbox.
|
2013-06-20 07:47:42 -05:00 |
Christopher Jeffrey
|
4f0f9e53d7
|
major cleanup. remove old code.
|
2013-06-20 07:18:04 -05:00 |
Christopher Jeffrey
|
f431e98c03
|
major changes. better content formatting and parsing.
|
2013-06-20 06:43:56 -05:00 |
Christopher Jeffrey
|
d4ce9322cd
|
more events. setItems. predefined keys. docs.
|
2013-06-18 10:52:48 -05:00 |
Christopher Jeffrey
|
ef9178f7d0
|
docs. better cleanup.
|
2013-06-18 06:30:26 -05:00 |
Christopher Jeffrey
|
787c7c6945
|
more scroll fixing.
|
2013-06-18 05:44:36 -05:00 |
Christopher Jeffrey
|
3d52833fa3
|
numerous improvements.
|
2013-06-18 05:33:24 -05:00 |
Christopher Jeffrey
|
dc2bfda057
|
mousemove and mouse refactor. fixes.
|
2013-06-16 10:12:47 -05:00 |
Christopher Jeffrey
|
f0b107978b
|
button and shrink work.
|
2013-06-16 08:38:14 -05:00 |
Christopher Jeffrey
|
2c632522e7
|
sattr changes.
|
2013-06-14 20:22:20 -05:00 |
Christopher Jeffrey
|
5247b41d8b
|
constructor and options handling.
|
2013-06-14 15:58:54 -05:00 |
Christopher Jeffrey
|
8cf00fe1b7
|
rename Screen._default.
|
2013-06-14 03:51:12 -05:00 |
Christopher Jeffrey
|
59b13fae82
|
alignment refactor.
|
2013-06-14 03:46:40 -05:00 |
Christopher Jeffrey
|
4f199c26aa
|
replace Text with Box element .shrink=true.
|
2013-06-14 03:35:45 -05:00 |
Christopher Jeffrey
|
b0b949b301
|
list resizing.
|
2013-06-14 03:28:59 -05:00 |
Christopher Jeffrey
|
268fbfef6a
|
minor changes to sgr handling.
|
2013-06-14 00:38:36 -05:00 |
Christopher Jeffrey
|
9eaf45acab
|
parsable attribute tags.
|
2013-06-13 20:21:41 -05:00 |
Christopher Jeffrey
|
6669d199ef
|
add padding option.
|
2013-06-13 19:02:02 -05:00 |
Christopher Jeffrey
|
aca4fd9833
|
default fg/bg.
|
2013-06-13 14:58:50 -05:00 |
Christopher Jeffrey
|
c70ec71e07
|
Revert "setCell function."
This reverts commit 34b7520c44 .
|
2013-06-13 14:58:00 -05:00 |
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
|
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 |