Commit Graph

24 Commits

Author SHA1 Message Date
Oliver 8e58f395ad Fixed multiline text modals. Fixes #696 2022-02-16 11:27:59 +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 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 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 8abbf770ec Change mouse handler func 2020-02-14 02:09:09 +00:00
Chris Miller 9598ca2519 New mouse design
capture bool not finalized
2020-01-24 20:40:34 +00:00
Oliver 0f6549646b Added SetFocus() to Modal, focuses on the provided button. Resolves #364 2019-11-27 18:27:26 +01:00
Chris Miller 96875c75b9 Added mouse handling 2019-11-04 05:34:46 +00:00
rivo cf9d115173
Merge pull request #269 from wedaly/master
Add functions to set background color, button text, and button background color on modal.
2019-05-14 18:34:53 +02:00
Oliver f16ba37c6a Added functions to remove all buttons from forms and from modals. Resolves #259 2019-05-14 16:48:29 +02:00
Will Daly 743e3fe55d Add functions to set background color, button text, and button background color on modal 2019-04-17 10:37:35 -07:00
Oliver 8d5eba0c2f Replaced runewidth.StringWidth() with my own implementation. Fixes #236 2019-03-19 12:13:40 +01:00
Oliver a677b985cc Allowing the use of arrow keys in modal buttons, too. Resolves #167 2018-09-26 11:35:00 +02:00
Sam Whited 65c5186a20 Call modal done func on escape key
Fixes #150
2018-08-03 13:03:11 -05:00
Oliver 258f212e5e Added color tag functionality to all strings. Resolves #25 2018-01-17 17:13:36 +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 8c9be84ef8 Various improvements. 2018-01-01 21:50:20 +01:00
Oliver b8e50f0e44 Embedding frame in modal instead of deriving from it, thus hiding frame's functions. 2017-12-30 22:08:43 +01:00
Oliver 8eb4c5ef48 Added TextView. All subclasses of Box now also have inside padding. 2017-12-21 18:08:53 +01:00
Oliver dad7891c89 Added Checkbox, Modal, and Pages. 2017-12-20 20:54:49 +01:00