Commit Graph

76 Commits

Author SHA1 Message Date
Oliver 5508f4b002 Added italics and strikethrough to style attributes. Resolves #457 2021-10-01 12:26:48 +02:00
Oliver 2cef1c04ba Rewrote Table to accommodate virtual tables. 2021-08-08 00:25:53 +02:00
Oliver b610d436f3 Minor improvements. 2021-04-27 13:28:32 +02: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 53d50e499b Bugfix in Flex which led to a panic. 2020-08-18 14:03:38 +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
Oliver b3dc389cb4 Added mouse support to presentation demo. TextView "highlighted" callback also receives remaining highlights. 2020-03-29 21:03:36 +02:00
Oliver 2505a942a1 Added mouse selection of regions in TextViews. 2020-03-29 20:20:05 +02:00
Oliver 5f5b79b00e Added mouse support for Table and TreeView. 2020-03-27 21:13:03 +01:00
Oliver 9af6826328 Added/fixed comments, some structural changes/bugfixes for mouse support. Table, TextView, and TreeView still open. Closes #363 2020-03-27 18:41:44 +01:00
rivo 160d8fda1d
Merge pull request #363 from millerlogic/mouse-support
Mouse support
2020-03-26 19:28:51 +01:00
Chris Miller 55cdc84e25 EnableMouse to take bool and enable/disable directly 2020-03-03 16:24:50 +00:00
Oliver 0f2b919ef2 Resolved merge conflict 2020-02-19 22:08:05 +01:00
ajcarvajal 93e6a490c3 Revert "formatting fixes"
This reverts commit e4b4b7fe82.
2020-01-08 09:43:49 -05:00
Trevor Slocum 99c1df4191 Fix presentation demo appending TextView indefinitely 2020-01-06 16:06:37 -08:00
Chris Miller d891191b78 Fire Selected on list item click 2019-11-04 06:55:58 +00:00
Chris Miller d7250288e2 More mouse handling for primitives 2019-11-04 06:30:25 +00:00
Oliver c3d1d4bcf9 Added autocomplete functionality to InputField. Resolves #299, resolves #77 2019-07-08 09:34:06 +01:00
ajcarvajal e4b4b7fe82 formatting fixes 2019-06-30 14:44:17 -08:00
ajcarvajal 49350e374a make textview1 example sleep when inactive 2019-06-29 18:03:04 -08:00
Oliver 29b0d3cfbf Updated table demo screenshot. Resolves #282 2019-06-02 19:24:19 +02:00
Oliver f13631ce74 Minor indenting change in presentation. 2018-11-26 12:15:57 +01:00
Björn Carlsson 7164c72b7e Fixed example code in presentation demo textview 2018-11-22 08:49:20 +01:00
Oliver c22d5570be Bugfixes/improvements to PR #172. 2018-10-28 13:42:49 +01:00
Oliver 990bc2ebcf InputField can now be navigated freely. Resolves #103, resolves #171, resolves #162 2018-10-18 08:34:08 +02:00
Oliver d53a7c24fd WordWrap() also uses iterator function now. 2018-10-17 17:41:00 +02:00
Benjamin Fagin e94d415863
Create README.md 2018-08-18 09:47:45 -07:00
Oliver c325864561 Added style attributes to Box border. Resolves #152 2018-08-07 09:23:19 +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 bb80ad41aa Minor text change in presentation. Hopefully makes it more clear what's displayed. 2018-05-23 16:56:06 +02:00
Oliver d7d44cb0d2 Flex and Grid don't clear their backgrounds anymore. Resolves #104 2018-05-02 17:02:52 +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 370ee01609 Added placeholder text to InputField. Resolves #75 2018-03-15 17:14:14 +01:00
Oliver c2f07f9548 Some housekeeping. 2018-03-05 16:37:10 +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
Robert Craig 7c2d6fc65f Added README files for demos to make screenshots easier to view on github 2018-02-28 10:24:01 -05:00
Oliver fc2a37cc86 Added a Grid example to the presentation. 2018-02-20 11:35:32 +01:00
Oliver 91a6ff44b6 Finished implementation of grid layout. 2018-02-20 11:19:30 +01:00
Oliver c7b3072f7e Progressing with Grid. 2018-02-19 20:23:01 +01:00
Oliver 4db30f9ed4 "FieldLength" is now "FieldWidth" everywhere for clarity and consistency. Sorry for this breaking change. It is better in the long run. 2018-01-17 21:17:59 +01:00
Oliver 258f212e5e Added color tag functionality to all strings. Resolves #25 2018-01-17 17:13:36 +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 b423641ec2 Expanded the TableCell definition in preparation of adding individual cell background colors. 2018-01-14 14:41:47 +01:00
Oliver 4c0e74ada0 Flex demo is probably better without a border. 2018-01-14 14:20:46 +01:00
Oliver 5fd6365352 Flex must call Box's Draw() function first. Fixes #26 2018-01-14 13:50:58 +01:00
Oliver 1e78c506cb Rewrote TextView's reindex() and Draw() to introduce text alignment and
word wrapping
2018-01-13 23:13:21 +01:00
Oliver 38d663c267 In Form, changed GetElement() to GetFormItem() for consistency reasons. 2018-01-13 13:07:05 +01:00