Commit Graph

115 Commits

Author SHA1 Message Date
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
Jonathan Daugherty
c519ab9029 Reinstate cursor metadata tracking 2015-05-16 00:01:27 -07:00
Jonathan Daugherty
6958147760 Put mkImage into a state monad to track rendering metadata results 2015-05-15 23:52:41 -07:00
Jonathan Daugherty
7270eca855 Remove debugging type signatures from box layout code 2015-05-15 23:23:49 -07:00
Jonathan Daugherty
6bc1305f6a Add cropping primitives 2015-05-15 23:22:06 -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
6c3c43e9fe Support embedding raw images in Prim 2015-05-11 23:35:35 -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
ecd5d18a2f Use neverShowCursor in App default instance 2015-05-11 07:57:57 -07:00
Jonathan Daugherty
830cdb695e Use lenses in test program 2015-05-11 07:55:48 -07:00
Jonathan Daugherty
17f8c9eefd Make Location a monoid 2015-05-11 07:55:37 -07:00
Jonathan Daugherty
9a7371e9af Experimental: v/hLimit actually crop to enforce limits 2015-05-10 17:18:01 -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
1eb8c84b65 Add centeredAbout 2015-05-10 16:57:26 -07:00
Jonathan Daugherty
9632847b64 Remove counter thread test 2015-05-10 15:51:08 -07:00
Jonathan Daugherty
734c5ee7a0 whitespace 2015-05-10 15:43:02 -07:00
Jonathan Daugherty
adf4f806e4 Add more cursor handler options 2015-05-10 15:42:59 -07:00
Jonathan Daugherty
c366b5644c Added centering widgets 2015-05-10 15:36:23 -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
11ce620339 Add gitignore 2015-05-09 14:41:43 -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
3585e4f470 Naming improvements 2015-05-09 14:14:26 -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
6caf896a0f Add edit keybinding 2015-05-09 14:06:24 -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
6a66416336 Use strict fields where possible 2015-05-09 09:49:58 -07:00
Jonathan Daugherty
0d303cedf0 Group types together 2015-05-09 09:45:57 -07:00
Jonathan Daugherty
be5ae586b7 Use Data.Default and package rendering results for easier processing 2015-05-09 09:43:40 -07:00
Jonathan Daugherty
a86ef59e54 Make application abstraction to house callbacks 2015-05-09 09:24:59 -07:00