Commit Graph

1854 Commits

Author SHA1 Message Date
Jonathan Daugherty
fe9f77766a update todo 2015-05-17 19:51:46 -07:00
Jonathan Daugherty
baa3fae0d1 Update todo 2015-05-17 19:47:26 -07:00
Jonathan Daugherty
0a0bad0b9c Move private rendering implementation to internal module 2015-05-17 19:37:43 -07:00
Jonathan Daugherty
bcaf01dd55 Fix broken references to Center module 2015-05-17 19:37:25 -07:00
Jonathan Daugherty
2086c43c97 Split library up into modules 2015-05-17 18:41:38 -07:00
Jonathan Daugherty
a66995aeb9 Move utility functions to a module 2015-05-17 18:04:36 -07:00
Jonathan Daugherty
c1abba1342 Make library exports explicit, remove unused code 2015-05-17 17:55:04 -07:00
Jonathan Daugherty
d138108751 Remove unused function 2015-05-17 17:45:44 -07:00
Jonathan Daugherty
f642704af3 Update todo 2015-05-17 17:44:30 -07:00
Jonathan Daugherty
fa4bb0e64e Add default instance of Render 2015-05-17 17:44:25 -07:00
Jonathan Daugherty
d558cc2a3b Add some todo notes 2015-05-17 10:05:24 -07:00
Jonathan Daugherty
16605e46f8 Group type classes 2015-05-17 10:02:45 -07:00
Jonathan Daugherty
d5f3b0000c Make render fields strict 2015-05-17 10:01:29 -07:00
Jonathan Daugherty
7836dd94d2 Resolve warning 2015-05-17 10:01:23 -07:00
Jonathan Daugherty
cd453949e1 Demo list is initially empty 2015-05-17 09:57:13 -07:00
Jonathan Daugherty
ddfe28610a Append to list in demo 2015-05-17 09:55:37 -07:00
Jonathan Daugherty
5310c31978 Make list insertion position-safe 2015-05-17 09:54:55 -07:00
Jonathan Daugherty
4422a8a99f Implement list element insertion and add demo 2015-05-17 09:53:00 -07:00
Jonathan Daugherty
6e7d92c994 Better construct/draw naming convention 2015-05-17 09:46:17 -07:00
Jonathan Daugherty
3445daade9 Rename draw function 2015-05-17 09:44:18 -07:00
Jonathan Daugherty
dd5148200b Add type class for things that handle events 2015-05-17 09:41:17 -07:00
Jonathan Daugherty
6de61aae2a Derive show instances to make print debugging possible 2015-05-17 09:35:42 -07:00
Jonathan Daugherty
207180e9ad Rename Fixed to Txt 2015-05-17 09:29:53 -07:00
Jonathan Daugherty
da09e80d39 Add VScroll and List implementations 2015-05-17 09:22:08 -07:00
Jonathan Daugherty
4ffa92b017 Rename appHandleResize 2015-05-17 08:17:06 -07:00
Jonathan Daugherty
ef4386e464 Remove stale import hiding 2015-05-17 08:13:41 -07:00
Jonathan Daugherty
c9fcd640d3 whitespace 2015-05-16 19:42:25 -07:00
Jonathan Daugherty
f3a3228f4c Make a type class for things that take resize info 2015-05-16 19:41:33 -07:00
Jonathan Daugherty
27fb30630e Make borders support labels; support vCentering and hCentering with arbitrary fill characters 2015-05-16 19:36:25 -07:00
Jonathan Daugherty
2902742d35 Box layout: if remaining space does not divide evenly, pad the first widget to ensure we use it all 2015-05-16 19:36:02 -07:00
Jonathan Daugherty
2588e48db3 Stale import 2015-05-16 19:17:53 -07:00
Jonathan Daugherty
a720b498c8 Remove unused translation from test program 2015-05-16 19:17:25 -07:00
Jonathan Daugherty
d73f892dae whitespace 2015-05-16 19:16:06 -07:00
Jonathan Daugherty
b102a3fcff Rename mkImage -> render 2015-05-16 19:14:07 -07:00
Jonathan Daugherty
a7a956471d Unused name 2015-05-16 18:03:23 -07:00
Jonathan Daugherty
c7171df604 On editor resizes, scroll to put the cursor in view 2015-05-16 18:03:19 -07:00
Jonathan Daugherty
8d0592cc25 On resize, send two events so that the first one updates sizes and the second one forces a redraw 2015-05-16 18:02:55 -07:00
Jonathan Daugherty
6197cfc881 Set cursor position and update scroll state correctly in editor 2015-05-16 17:56:50 -07:00
Jonathan Daugherty
d9bc62aa21 Refactor edit management functions to manage state consistently 2015-05-16 17:55:14 -07:00
Jonathan Daugherty
2e9e1ca047 Update Editor constructor usage 2015-05-16 17:50:46 -07:00
Jonathan Daugherty
05667004f3 Remove unused editWidth field 2015-05-16 17:50:07 -07:00
Jonathan Daugherty
a763097066 Implement experimental hscroll wrapper and refactor editor to use it 2015-05-16 17:49:41 -07:00
Jonathan Daugherty
12b6daf016 Beginnings of reinstating edit widget functionality 2015-05-16 13:26:05 -07:00
Jonathan Daugherty
937b70f2aa Remove stale widget code 2015-05-16 13:14:34 -07:00
Jonathan Daugherty
7a52e6741d Add primitive for getting widget sizes and reinstate size processing 2015-05-16 13:13:08 -07:00
Jonathan Daugherty
a5128a08ec Group more types together 2015-05-16 13:02:56 -07:00
Jonathan Daugherty
d19e370480 Clean up cursor translation logic in box layout 2015-05-16 13:01:02 -07:00
Jonathan Daugherty
fb6b7ff840 Use strict fields in prim constructors 2015-05-16 12:55:29 -07:00
Jonathan Daugherty
f5e9e049eb Propagate and translate cursors through boxes 2015-05-16 12:53:24 -07:00
Jonathan Daugherty
e929c6f481 Move mkImage out of state monad 2015-05-16 11:16:44 -07:00