Commit Graph

300 Commits

Author SHA1 Message Date
Jonathan Daugherty
6a1160c111 Rename event demo 2015-06-28 22:43:52 -07:00
Jonathan Daugherty
7aa4e264a4 Add attribute handling demo program 2015-06-28 22:40:25 -07:00
Jonathan Daugherty
2e3bef7f8e Add resizeOrQuit for easy simple event handling 2015-06-28 22:40:12 -07:00
Jonathan Daugherty
52bf9ec288 Clean up attribute management combinators, use attribute names instead of attributes 2015-06-28 22:08:54 -07:00
Jonathan Daugherty
e02192e38a BorderStyle: derive Read, Show 2015-06-28 21:39:46 -07:00
Jonathan Daugherty
6d9e555d18 Border.Style: module docstring 2015-06-28 21:37:19 -07:00
Jonathan Daugherty
9ec2d7eb7b Border: add function to build border style from a character 2015-06-28 21:28:55 -07:00
Jonathan Daugherty
ce54d48f42 Markup: export GetAttr type class 2015-06-28 21:25:21 -07:00
Jonathan Daugherty
fd2d379d68 Haddock for border style module 2015-06-28 21:25:07 -07:00
Jonathan Daugherty
8d93c71f03 Expand box benchmarks 2015-06-28 21:04:57 -07:00
Jonathan Daugherty
55a22a21a5 Update TODO 2015-06-28 21:01:09 -07:00
Jonathan Daugherty
94c0061299 Border: remove stale imports 2015-06-28 21:00:56 -07:00
Jonathan Daugherty
e2cfcb3b9f Add beginnings of a benchmark suite 2015-06-28 21:00:46 -07:00
Jonathan Daugherty
3027120a4e Update TODO 2015-06-28 20:19:16 -07:00
Jonathan Daugherty
349d682512 Use more explicit imports in markup demo 2015-06-28 20:18:59 -07:00
Jonathan Daugherty
927220864e Update TODO 2015-06-28 20:16:55 -07:00
Jonathan Daugherty
47da95a36b Add markup demo 2015-06-28 20:16:51 -07:00
Jonathan Daugherty
687dc91412 Update TODO 2015-06-28 20:07:07 -07:00
Jonathan Daugherty
0faa130f13 List demo improvements 2015-06-28 20:05:30 -07:00
Jonathan Daugherty
361046b203 List: render list elements using default attribute names so that elements that use attribute names still fall back to the list defaults 2015-06-28 20:05:23 -07:00
Jonathan Daugherty
6c762fb95b Simplify edit demo application state 2015-06-28 13:24:36 -07:00
Jonathan Daugherty
34e14bf1dd Simplify list demo application state 2015-06-28 13:22:05 -07:00
Jonathan Daugherty
549c4b8663 Improve list demo 2015-06-28 13:15:15 -07:00
Jonathan Daugherty
371d7768eb Fix bugs in listRemove 2015-06-28 13:10:51 -07:00
Jonathan Daugherty
dc5b8f51e2 Add list demo 2015-06-28 13:06:22 -07:00
Jonathan Daugherty
4f55085a1a Make simpleMain interface as simple as possible 2015-06-28 12:48:39 -07:00
Jonathan Daugherty
7461901679 Add editor demo 2015-06-28 12:45:26 -07:00
Jonathan Daugherty
e24f2c438e Rename minimal demo to hello world demo 2015-06-28 12:37:24 -07:00
Jonathan Daugherty
a1a7a4d5f0 Simplify minimal demo 2015-06-28 12:36:16 -07:00
Jonathan Daugherty
2857be7b10 Rename event demo 2015-06-28 12:34:39 -07:00
Jonathan Daugherty
6cbe25962a Add custom style to border demo 2015-06-28 12:31:44 -07:00
Jonathan Daugherty
141586a086 Minor border demo improvements 2015-06-28 12:25:21 -07:00
Jonathan Daugherty
b643cd9249 Minor border demo improvement 2015-06-28 12:21:58 -07:00
Jonathan Daugherty
6bee7578d9 Minor border demo improvements 2015-06-28 12:21:44 -07:00
Jonathan Daugherty
4f3039b093 Update border demo to show all border features 2015-06-28 12:20:40 -07:00
Jonathan Daugherty
ffbf2d89c6 Add demonstration program for borders 2015-06-28 12:15:55 -07:00
Jonathan Daugherty
4b679d1fad simpleMain: only halt on input event; permit resizes 2015-06-28 12:08:00 -07:00
Jonathan Daugherty
700081f7cd Change list/edit lens naming convention to use L suffix
- Lenses for edit and list widgets now have L suffixes, e.g.
  editorNameL
- Non-lens equivalents for edit and list field accessors are now
  exported for non-lens use cases
- suffixLenses is added as an alternative to makeLenses for building
  these lenses
2015-06-28 11:57:38 -07:00
Jonathan Daugherty
0ba00780c0 Add TerminalLocation interface for Location-like things and use it 2015-06-28 11:35:28 -07:00
Jonathan Daugherty
a4ed1dda89 Make editor fields lenses and export them 2015-06-28 11:20:53 -07:00
Jonathan Daugherty
e79d145766 Export editCursorPos 2015-06-28 11:13:18 -07:00
Jonathan Daugherty
af4ff1dfe1 Rename editStr to editContents 2015-06-28 11:13:04 -07:00
Jonathan Daugherty
6e8ac5eb57 Remove location field export in favor of overloaded _1 and _2 lenses 2015-06-28 11:10:42 -07:00
Jonathan Daugherty
4e9de7c80c Make editor interface consistent with list by accepting a content drawing function 2015-06-28 11:02:18 -07:00
Jonathan Daugherty
3bcc144114 Make list fields lenses and export them 2015-06-28 10:58:54 -07:00
Jonathan Daugherty
a599acb143 Remove stale comments 2015-06-27 18:32:50 -07:00
Jonathan Daugherty
3ebdcbee9a Move infinite widget size checks to viewport renderer 2015-06-27 18:32:14 -07:00
Jonathan Daugherty
882fde1e08 h/vBox: reduce to emptyWidget on empty lists 2015-06-27 18:31:55 -07:00
Jonathan Daugherty
5eb61ff8ef Add emptyWidget 2015-06-27 18:31:35 -07:00
Jonathan Daugherty
b840db52bb Remove withContext 2015-06-27 17:07:25 -07:00