[Haskell] ANNOUNCE: vty-ui 0.2
Jonathan Daugherty
drcygnus at gmail.com
Wed Oct 7 23:44:44 EDT 2009
I'm happy to announce the release of vty-ui 0.2.
Get it from Hackage:
http://hackage.haskell.org/package/vty-ui
Or get the source with darcs:
http://repos.codevine.org/vty-ui
This version of vty-ui is everything you hoped it would be: fewer
bugs, more widget types, cleaner code, better abstractions, and more
generality. If you've written any applications to use vty-ui, only a
few of your type signatures will need to change.
Here's a summary of changes:
General
* Unify HBorder and VBorder types (now called Border)
* Unify HFill and VFill types (now called Fill)
* Unify HBox and VBox types (now called Box)
* Box layout: layout documentation, edge case bug fixes
* Widget class: refactor growthPolicy into growHorizontal and
growVertical
* Add Graphics.Vty.Widgets.Composed for high-level widget
compositions
* Add Graphics.Vty.Widgets.All convenience module to export
everything in the library
Lists
* List items may now be of any widget type!
* Add resize, pageUp, pageDown, scrollBy functions and expose other
list functionality
* Generalize scrolling API
* Add convenience API for using lists of Text widgets
* Support internal identifiers for list items
* Always consume scrollWindowSize lines of space even if the list is
smaller
New widgets
* WrappedText: automatically wraps text in available space; try
resizing the demo.
* Borders module: one-row/one-column ASCII borders between boxed
widgets; ASCII art box container
* Demo: use crazy boxed list items to show off border boxes and
generic widget support in Lists!
* Demo: support PageUp/PageDown to demonstrate List paging API
Enjoy!
--
Jonathan Daugherty
More information about the Haskell
mailing list