Commit Graph

803 Commits

Author SHA1 Message Date
Jonathan Daugherty
526fc05f22 Rename SetSize to SaveSize 2015-05-24 12:14:43 -07:00
Jonathan Daugherty
0173aa55db Add gross hack to work around rendering staleness in With interpretation 2015-05-24 12:11:51 -07:00
Jonathan Daugherty
8ff7a3d390 Make Render fields lazy 2015-05-24 12:11:36 -07:00
Jonathan Daugherty
44e211d18f Export list moveBy and use in demo 2015-05-24 12:11:27 -07:00
Jonathan Daugherty
6c1a61abe2 v/hBox: long lines 2015-05-24 00:11:00 -07:00
Jonathan Daugherty
fdcdf21b09 Update todo 2015-05-22 13:20:52 -07:00
Jonathan Daugherty
debe0e4653 Make list/edit draw functions build outer prims and take a lens for list/edit access 2015-05-19 20:43:15 -07:00
Jonathan Daugherty
6130d81e3e Add hBorderWithLabel 2015-05-19 20:34:54 -07:00
Jonathan Daugherty
1489557418 whitespace 2015-05-19 20:26:48 -07:00
Jonathan Daugherty
6a2bbf6bbf Improve organization of scrolling types and re-use common logic 2015-05-19 19:56:22 -07:00
Jonathan Daugherty
aaab0edfa1 Update todo 2015-05-19 19:34:28 -07:00
Jonathan Daugherty
6eb4f7ca28 hScroll: add support for scrolling to windows rather than points 2015-05-19 19:34:18 -07:00
Jonathan Daugherty
6221a2e229 whitespace/layout 2015-05-19 19:31:24 -07:00
Jonathan Daugherty
0977f4bd2c Update todo 2015-05-19 19:29:49 -07:00
Jonathan Daugherty
76a7fc83c8 Add support for scrolling to windows rather than points and add support for variably-sized list prims 2015-05-19 19:28:22 -07:00
Jonathan Daugherty
0c7914175a Merge simple demo 2015-05-19 10:25:12 -07:00
Jonathan Daugherty
2af0357d46 Add ultra-minimal demo program 2015-05-19 10:23:58 -07:00
Jonathan Daugherty
5232a53b97 Add gitignore 2015-05-18 22:17:36 -07:00
Jonathan Daugherty
94b891ee6b Add ctrl-arrow note 2015-05-18 21:58:56 -07:00
Jonathan Daugherty
1f91ed32ff Improve translation prim, add translation demo 2015-05-18 21:58:16 -07:00
Jonathan Daugherty
5a75e0a7b5 Update UI 2015-05-18 21:52:26 -07:00
Jonathan Daugherty
54f26d9ba5 Remove "ed" suffix from bordering and centering functions 2015-05-18 21:48:02 -07:00
Jonathan Daugherty
327ea3045b List: pad horizontally on the right to fill available space 2015-05-18 21:34:50 -07:00
Jonathan Daugherty
c9c4b611fb Make demo UI a little more interesting 2015-05-18 21:18:51 -07:00
Jonathan Daugherty
9d3367e46a Just use a single style keybinding in the demo 2015-05-18 21:09:59 -07:00
Jonathan Daugherty
cb61befb03 Syntax nit 2015-05-18 21:07:55 -07:00
Jonathan Daugherty
f277551e88 Improve border function argument ordering 2015-05-18 21:03:48 -07:00
Jonathan Daugherty
188883dfdb Shorten border style names 2015-05-18 21:01:59 -07:00
Jonathan Daugherty
0357bd22ce Demo: show different border styles 2015-05-18 20:59:58 -07:00
Jonathan Daugherty
00baf3ad1e Update cabal author/maintainer 2015-05-18 19:37:11 -07:00
Jonathan Daugherty
efcaac93df Enable -O3 ghc option 2015-05-18 19:36:35 -07:00
Jonathan Daugherty
3a8bb03e03 renderer: move w/h region into rendering context 2015-05-18 19:30:35 -07:00
Jonathan Daugherty
d47de345ab Use shorter name for rendering context 2015-05-18 19:18:37 -07:00
Jonathan Daugherty
51c73b01f6 Make rendering context use lenses 2015-05-18 19:17:33 -07:00
Jonathan Daugherty
1856574c2e renderer: move attribute into rendering context 2015-05-18 19:15:04 -07:00
Jonathan Daugherty
900bc295c8 Make bordered widgets skinnable 2015-05-18 19:10:28 -07:00
Jonathan Daugherty
1bf497d43a Use more idiomatic state change operator 2015-05-18 18:57:03 -07:00
Jonathan Daugherty
2809fd4a19 Rename Name to CursorName since that is what it is 2015-05-18 18:53:34 -07:00
Jonathan Daugherty
1df6668712 Get rid of unused list name 2015-05-18 18:51:06 -07:00
Jonathan Daugherty
02a85dc112 Update todo 2015-05-18 18:47:18 -07:00
Jonathan Daugherty
4b0e192a90 Code cleanup and rename WithState to With 2015-05-18 18:44:28 -07:00
Jonathan Daugherty
af99a58e23 Make resizing happen during rendering by using state lenses provided in Prim constructors 2015-05-18 18:39:10 -07:00
Jonathan Daugherty
17517e917f Syntax nit 2015-05-18 18:05:48 -07:00
Jonathan Daugherty
2bade50c6c Make WithState transition state types 2015-05-18 14:14:13 -07:00
Jonathan Daugherty
8ee03756d0 Experiment with approaches for improving state management during rendering 2015-05-18 14:10:00 -07:00
Jonathan Daugherty
42fb2ae811 Main: cleanup 2015-05-18 08:38:30 -07:00
Jonathan Daugherty
32f6ebc95f Update todo 2015-05-17 21:10:01 -07:00
Jonathan Daugherty
13d693c6d8 Update todo 2015-05-17 20:47:21 -07:00
Jonathan Daugherty
047119f7ab layout 2015-05-17 19:51:51 -07:00
Jonathan Daugherty
fe9f77766a update todo 2015-05-17 19:51:46 -07:00