Commit Graph

160 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
a7a956471d Unused name 2015-05-16 18:03:23 -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
e4cfba7753 Update edit widget 2015-05-15 23:06:55 -07:00
Jonathan Daugherty
5b3597b79d More flexible box layout to support centering and padding 2015-05-15 23:01:33 -07:00
Jonathan Daugherty
15baa4252d Prim hacking 2015-05-15 22:03:53 -07:00
Jonathan Daugherty
ebc5c80a79 Experiment with rendering primitives 2015-05-11 23:20:01 -07:00
Jonathan Daugherty
5b6c795862 Inline editor widget name 2015-05-11 09:56:11 -07:00
Jonathan Daugherty
830cdb695e Use lenses in test program 2015-05-11 07:55:48 -07:00
Jonathan Daugherty
86332b6c6b Rogue: updates 2015-05-10 17:17:47 -07:00
Jonathan Daugherty
2b76a75d16 Add ported version of vty rogue demo 2015-05-10 16:57:53 -07:00
Jonathan Daugherty
9632847b64 Remove counter thread test 2015-05-10 15:51:08 -07:00
Jonathan Daugherty
adf4f806e4 Add more cursor handler options 2015-05-10 15:42:59 -07:00
Jonathan Daugherty
9f9f0c2c51 Add bordered widget 2015-05-10 15:09:52 -07:00
Jonathan Daugherty
45b095a6a2 Support concurrent operation 2015-05-10 14:56:58 -07:00
Jonathan Daugherty
642dee8d4f Add support for vty translation 2015-05-09 14:37:27 -07:00
Jonathan Daugherty
458bc3fbe1 Add support for vty layers 2015-05-09 14:28:37 -07:00
Jonathan Daugherty
3e65af58e9 UI tweak 2015-05-09 14:11:09 -07:00
Jonathan Daugherty
70a137abe4 Make boxes pad children for width/height consistency to avoid attribute artifacts 2015-05-09 14:06:43 -07:00
Jonathan Daugherty
7f671c394a Simplify position calculation 2015-05-09 13:42:50 -07:00
Jonathan Daugherty
4d61bb0ebe Updates 2015-05-09 10:20:31 -07:00
Jonathan Daugherty
085ba506ae Remove unused resize handler 2015-05-09 10:11:58 -07:00
Jonathan Daugherty
01c2c079e7 runVty runs in IO and handles exceptions gracefully 2015-05-09 10:11:36 -07:00
Jonathan Daugherty
a78e9cdf7d Add default instance for app 2015-05-09 09:56:14 -07:00
Jonathan Daugherty
a86ef59e54 Make application abstraction to house callbacks 2015-05-09 09:24:59 -07:00
Jonathan Daugherty
7b0bcd9b99 Abstract use of focus ring to choose cursor 2015-05-09 09:19:23 -07:00
Jonathan Daugherty
d0d29e472d Whitespace 2015-05-09 09:16:00 -07:00
Jonathan Daugherty
66fffdaaf3 Support generation of resize info from rendering process 2015-05-09 09:14:56 -07:00
Jonathan Daugherty
01499fbc37 Editor improvements 2015-05-09 08:37:16 -07:00
Jonathan Daugherty
857faebbf6 Misc updates 2015-05-09 01:23:25 -07:00
Jonathan Daugherty
5e91b0b617 Very basic incomplete text editor experiment 2015-05-09 01:19:09 -07:00
Jonathan Daugherty
4fc7813918 Misc updates 2015-05-09 01:05:34 -07:00
Jonathan Daugherty
7f09d6e5d1 Move focus ring code to library 2015-05-09 00:57:53 -07:00
Jonathan Daugherty
a699e172ba Add support for easier focus management 2015-05-09 00:57:14 -07:00
Jonathan Daugherty
a991cdc789 Add support for named and anonymous cursors 2015-05-09 00:45:46 -07:00
Jonathan Daugherty
195e20419b Implement cursor handling 2015-05-09 00:18:29 -07:00
Jonathan Daugherty
c47109dc13 Initial commit 2015-05-08 23:09:40 -07:00