Jonathan Daugherty
089f9ae41f
Improve module hierarchy
2015-06-24 20:54:32 -07:00
Jonathan Daugherty
7308855d93
Add support for scrollable viewports by making scroll requests in event handlers rather than using render-time visibility requests
2015-06-20 15:02:54 -07:00
Jonathan Daugherty
73a337be4d
Support using arbitrary functions to render editor contents; improve Markup interface to work more easily with editors; add demonstration of using markup with editors
2015-06-15 20:26:29 -07:00
Jonathan Daugherty
a029ffe423
Adds support for attribute mapping
...
- App now provides appAttrMap which extracts an attribute map from
the application state. This enables the application to dictate
which attributes get used for which things.
- Updates list and edit components to use the attribute map to select
attributes.
- Updates the markup implementation to support either direct attriubute
specification or indirect via mapped names.
- Updates the demos to show how to use attribute name maps.
- Renames and adds some core library combinators to support using either
names or attributes.
2015-06-14 16:14:35 -07:00
Jonathan Daugherty
9ad150df47
Add experimental text attribute markup module
2015-06-14 13:23:58 -07:00
Jonathan Daugherty
4e7da0792f
Make border style part of the rendering context and expose functions to get or change it; update border functions so they implicitly use the style in the context
2015-06-07 19:40:49 -07:00
Jonathan Daugherty
52c1fe032e
Make the rogue demo buildable again
2015-06-07 18:41:59 -07:00
Jonathan Daugherty
5aac657d2f
Get rid of scrolling wrappers, replace with viewport abstraction and primitives
2015-06-07 17:33:34 -07:00
Jonathan Daugherty
b409e7f4a8
Rename Prim module hierarchy
2015-05-29 18:25:46 -07:00
Jesse Hallett
d8538b10db
Implements listReplace
- replaces list content while preserving selected index
2015-05-26 03:00:56 -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
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
8ee03756d0
Experiment with approaches for improving state management during rendering
2015-05-18 14:10:00 -07:00
Jonathan Daugherty
0a0bad0b9c
Move private rendering implementation to internal module
2015-05-17 19:37:43 -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
15baa4252d
Prim hacking
2015-05-15 22:03:53 -07:00
Jonathan Daugherty
830cdb695e
Use lenses in test program
2015-05-11 07:55:48 -07:00
Jonathan Daugherty
2b76a75d16
Add ported version of vty rogue demo
2015-05-10 16:57:53 -07:00
Jonathan Daugherty
a78e9cdf7d
Add default instance for app
2015-05-09 09:56:14 -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
a991cdc789
Add support for named and anonymous cursors
2015-05-09 00:45:46 -07:00
Jonathan Daugherty
c47109dc13
Initial commit
2015-05-08 23:09:40 -07:00