2
0
mirror of https://github.com/rivo/tview.git synced 2024-11-19 03:25:34 +00:00
Commit Graph

53 Commits

Author SHA1 Message Date
Oliver
ae9464cc35 Upgraded printing and style handling to the new definition of tcell.ColorDefault. 2021-03-12 18:48:52 +01:00
Oliver
dfabe788d4 Allowing list items to shift horizontally. Resolves #512, fixes #513 2021-02-15 18:26:27 +01:00
Oliver
5406288b8e Improved finding the next selectable cells in Tables. Resolves #498 2020-12-04 20:08:10 +01:00
Oliver
675ed5b96b Removed Focusable interface. 2020-11-17 19:33:25 +01:00
Oliver
e4d167311d Upgraded to latest tcell version. Results in a minor incompatibility in the Table class. 2020-10-18 14:15:57 +02:00
Oliver
9b49eb3fef Added a "clicked" handler to TableCell. Resolves #470 2020-09-15 13:09:44 +02:00
Oliver
deb54e1422 Keyboard events are now propagated down the hierarchy, allowing users to intercept them. Closes #421 2020-08-18 12:05:43 +02:00
rivo
7e599fe9aa
Merge pull request #403 from tslocum/scrolltable
Fix scrolling table with PageDown and PageUp
2020-04-14 13:51:03 +02:00
Oliver
f395cf6e33 Added mouse scrolling to List, Table, TextView, and TreeView. 2020-03-29 21:36:06 +02:00
Oliver
5f5b79b00e Added mouse support for Table and TreeView. 2020-03-27 21:13:03 +01:00
Trevor Slocum
5c7d71700b Fix scrolling table with PageDown and PageUp
Resolves #402.
2020-02-20 19:57:35 -08:00
Oliver
ba670d23ba The inner area of a Box does not clamp to screen borders anymore. Consequently added some drawing optimization to primitives. Resolves #405 2020-02-19 18:31:32 +01:00
Oliver
2d957c4be0 Added an "evaluate all rows" flag to Table. Resolves #345 2019-11-21 20:56:45 +01:00
Oliver
23dc8a0944 Table.Select() also triggers "selection changed" event. Fixes #323 2019-07-21 15:54:19 +02:00
Oliver
8d5eba0c2f Replaced runewidth.StringWidth() with my own implementation. Fixes #236 2019-03-19 12:13:40 +01:00
Oliver
03d744dee3 SetOffset() also turns off end-tracking in Table. Fixes #238 2019-03-08 20:13:09 +01:00
Oliver
a45c8edf60 Fixed region/color tag escaping bug. Fixes #234 2019-02-13 16:07:01 +01:00
Oliver
2b7ed85b88 Added InsertRow() and InsertColumn() to Table, see #213 2019-01-23 16:36:09 +01:00
Guendisch, Dieter
55dadc0057 Added a reference to TableCell. Fixes feature request #229. 2019-01-22 20:46:32 +01:00
Oliver
8cf347b745 Added row/column removal functions to Table. Resolves #174 2018-11-10 13:03:06 +01:00
Oliver
6d988e2839 Minor typo fixes. 2018-10-27 14:28:12 +02:00
Oliver
00de4610ae Added custom higlight styles to Table. Resolves #154 2018-09-05 10:39:21 +02:00
Oliver
4631cd7337 Added the tree view. 2018-06-20 10:06:05 +02:00
Benjamin Weidig
06dd16088a replaced old borders code with new configurable borders 2018-06-09 14:58:29 +02:00
Oliver
a26df4e781 Added SetAttributes() and SetStyle() to TableCell. Resolves #111 2018-05-15 16:59:07 +02:00
Oliver
83d0a16fb2 Added background colors and text attributes to color tags. Resolves #91 2018-04-01 21:19:10 +02:00
Oliver
761e3d72da Added Primitive demo to go along with the GitHub Wiki entry on how to create your own primitive. 2018-03-19 21:25:30 +01:00
Oliver
c96894c0cf Bugfix which caused a crash in Table class. Fixes #67 2018-03-10 12:59:42 +01:00
Oliver
ccd80aa4fc Minor code reduction. 2018-03-05 14:18:04 +01:00
Oliver
8cb36ea743 Added expansion factor to table cells which grows columns if there is more space than needed. Resolves #62 2018-03-05 14:07:18 +01:00
Oliver
37a7254a64 Some comment cleanup. 2018-02-13 14:17:51 +01:00
Takumasa Sakao
453c374c1c Add GetOffset method on Table 2018-02-12 03:35:26 +09:00
Oliver
ef6026df3d Fixed table background colors. More sophisticated but more aesthetically pleasing. Fixes #20 2018-01-20 23:04:09 +01:00
Oliver
f3686bfe15 Fixed Table.SetCellSimple(). Resolves #35 2018-01-20 15:59:52 +01:00
Oliver
258f212e5e Added color tag functionality to all strings. Resolves #25 2018-01-17 17:13:36 +01:00
Oliver
95e3124245 Fixed Table cell background colors for column-only selections. 2018-01-17 09:34:45 +01:00
Oliver
626453b2a6 All primitives now offer a way to intercept all key events sent to them. Also made the global key event intercept handler more general/consistent. Resolves #22 2018-01-14 21:29:34 +01:00
Oliver
97450a0de3 Added individual cell background colors. Resolves #20 2018-01-14 15:16:00 +01:00
Oliver
b423641ec2 Expanded the TableCell definition in preparation of adding individual cell background colors. 2018-01-14 14:41:47 +01:00
Oliver
677c227861 Some post-processing of pull request #29. Resolves #27 2018-01-14 13:46:37 +01:00
Jakob Maier
55189331c5 Added GetSelection() and SetSelectionChangedFunc() to Table 2018-01-14 11:23:13 +01:00
Oliver
946d2620b6 Added GetSelectable() to Table so users can find out what is currently selectable. Resolves #21 2018-01-13 12:51:12 +01:00
Oliver
cc7bb29944 Avoiding access to nil pointer. 2018-01-13 11:45:48 +01:00
Oliver
61d8ea30f8 Added support for wide unicode characters (e.g. Chinese). Resolves #9 2018-01-11 15:45:52 +01:00
Oliver
2874294d89 Added Styles variable with default colors for primitives. 2018-01-10 09:44:21 +01:00
Oliver
e4f97a6436 Added links to Wiki to documentation. Also replaced screenshot with GIF screencast. 2018-01-07 16:39:06 +01:00
Oliver
c989300073 Final preparations for the first official release. 2018-01-06 22:49:12 +01:00
Oliver
8c9be84ef8 Various improvements. 2018-01-01 21:50:20 +01:00
Oliver
759602af1b Minor bugfix. 2018-01-01 17:17:32 +01:00
Oliver
7dc0dace25 Improved table navigation. 2017-12-29 22:27:10 +01:00