Commit Graph

73 Commits

Author SHA1 Message Date
Ali Abrar
efe7df854a Add StackWidget 2019-02-17 16:20:46 -05:00
Ali Abrar
784a0a08fc Export ImageWriter 2019-02-17 14:17:46 -05:00
Ali Abrar
8a6f4d7b2b Fix module header haddock 2019-02-17 14:16:19 -05:00
Ali Abrar
0e7e1f192f Update splitVDrag and examples to use DynRegion 2019-02-17 14:14:50 -05:00
Ali Abrar
5e357224c9 WIP: Add pane', separate dynamic widths and heights 2019-02-16 21:00:39 -05:00
Ali Abrar
7a3b28a4ea Use upstream BehaviorWriter now that it's been merged 2018-12-18 12:55:48 -05:00
Ali Abrar
efe18b164c Convert image output to BehaviorWriter 2018-11-05 18:12:55 -05:00
Ali Abrar
1ad9d4fed8 Add ghcid instructions 2018-11-05 08:08:26 +00:00
Ali Abrar
396cddd0ff Fix warnings 2018-11-05 03:07:50 -05:00
Ali Abrar
168dbca1d5 Update README.md 2018-11-05 08:03:48 +00:00
Ali Abrar
ecc299a0a0 Update README.md 2018-11-05 08:03:28 +00:00
Ali Abrar
e72b38363d Add readme 2018-11-05 03:00:59 -05:00
Ali Abrar
09e1a13eda Add another example image 2018-11-05 02:43:28 -05:00
Ali Abrar
d72fe5f067 Update example; Add welcome gif 2018-11-05 02:38:32 -05:00
Ali Abrar
d37db9a5c4 Add PageUp and PageDown 2018-11-05 01:46:28 -05:00
Ali Abrar
2f08cc7fb7 Make tab width configurable 2018-11-05 01:32:59 -05:00
Ali Abrar
8ff57f5208 Handle tab characters in textInput 2018-11-05 01:31:37 -05:00
Ali Abrar
e4d9d8d368 Add checkbox 2018-11-05 01:20:44 -05:00
Ali Abrar
2aa1764208 Add linkStatic 2018-11-05 00:48:24 -05:00
Ali Abrar
ed6ffff516 Add some button widgets and a rich-text widget 2018-11-05 00:46:19 -05:00
Ali Abrar
0ee701e924 Make box style a behavior; Add boxStatic for unchanging style 2018-11-05 00:19:38 -05:00
Ali Abrar
6fc2815025 Add buttons; Make example widgets escapable 2018-11-05 00:08:56 -05:00
Ali Abrar
d333d0cf31 Add example selection 2018-11-04 22:59:59 -05:00
Ali Abrar
a239ebf4b6 Todo example: Add and delete elements 2018-11-04 22:47:16 -05:00
Ali Abrar
82d3abfd8a Use Reflex.Collection to render todo list 2018-11-04 21:53:57 -05:00
Ali Abrar
04cde1597e Text Input: Only show cursor when focused 2018-11-04 21:01:03 -05:00
Ali Abrar
4e197f2d60 Adjustable instance for VtyWidget, and various supporting bits; Start of todo example 2018-11-04 20:56:47 -05:00
Ali Abrar
d589d9ef46 Clarify goToDisplayLinePosition docs 2018-11-04 16:21:54 -05:00
Ali Abrar
c5331bfac8 Click with mouse to move text input cursor 2018-11-04 16:05:49 -05:00
Ali Abrar
1dfbb645e9 Fix Data.Text.Zipper.top; Export MouseDown, MouseUp 2018-11-04 15:53:54 -05:00
Ali Abrar
3bc844e6e0 Zipper: add rightN, leftN. Mouse Events: Fix drag, add MouseDown, MouseUp 2018-11-04 15:17:43 -05:00
Ali Abrar
b31f862ba5 Qualified imports 2018-11-04 14:07:12 -05:00
Ali Abrar
6eb5ef3f06 Line wrapping: Add some internal comments to displayLines 2018-11-04 14:02:03 -05:00
Ali Abrar
4a9af8e950 Fix typo 2018-11-04 12:40:05 -05:00
Ali Abrar
fc35b92e28 Add gitignore 2018-11-04 11:48:45 -05:00
Ali Abrar
d532c8e94b Haddock formatting fixes 2018-11-04 11:43:52 -05:00
Ali Abrar
85ec064bd3 A little more documentation 2018-11-04 11:34:51 -05:00
Ali Abrar
03ec51af32 Haddocks and a slight refactor 2018-11-04 11:27:08 -05:00
Ali Abrar
cecf375d5d Fix warnings 2018-11-04 02:38:08 -05:00
Ali Abrar
81535ded0c Mention widgets in cabal file 2018-11-04 02:37:19 -05:00
Ali Abrar
5ae2f4629f Add haddocks to several things 2018-11-04 02:35:46 -05:00
Ali Abrar
9c9a2abeaa Move generic text zipper stuff; Centralize text input widgets 2018-11-04 02:09:44 -05:00
Ali Abrar
17702449c5 Line wrapping: Keep better track of how text has been transformed for rendering
Also fixes some issues with deleteLeft and deleteRight
2018-11-04 01:59:44 -04:00
Ali Abrar
f162842c1d Line wrapping: Fix wrapping of trailing lines 2018-11-03 22:34:39 -04:00
Ali Abrar
7cd833b0a6 Start to refactor text manipulations using a zipper 2018-11-03 16:28:49 -04:00
Ali Abrar
03f748031e Wrapping: Don't try to wrap if width is <1 2018-11-03 15:00:28 -04:00
Ali Abrar
cc3df47591 Scrollable Input: Calculate cursorY after wrapping lines above 2018-11-03 14:36:32 -04:00
Ali Abrar
747a3d2b9f Minor formatting 2018-11-03 10:53:54 -04:00
Ali Abrar
4551f0600d Add Home and End navigation keys 2018-11-03 02:34:52 -04:00
Ali Abrar
ec68759238 Scrolling text input 2018-11-03 02:26:00 -04:00