Jonathan Daugherty
adf599ff49
vBox/hBox: when there is leftover space, spread it amongst the elements instead of assigning it all to the first one
2017-08-21 22:03:35 -07:00
Jonathan Daugherty
7e4ef16279
Include brick tutorial files in extra-doc-files
2017-08-20 18:46:45 -07:00
Jonathan Daugherty
f015d804d8
Bump version, update changelog
2017-08-20 18:43:16 -07:00
Jonathan Daugherty
1162324b2b
API: add setAvailableSize
2017-08-20 18:40:56 -07:00
Jonathan Daugherty
20cb61e485
Add tart to README
2017-08-10 08:58:34 -07:00
Jonathan Daugherty
4fd114cc68
README: fix broken link to tutorial
2017-08-08 12:15:29 -07:00
Jonathan Daugherty
21c9d13ebb
README: Add samtay-tutorial to documentation section
2017-08-08 09:13:25 -07:00
Jonathan Daugherty
76944f17db
samtay-tutorial: update image path
2017-08-08 09:12:06 -07:00
Jonathan Daugherty
cbb10e4359
Merge branch 'master' of github.com:jtdaugherty/brick
2017-08-08 09:11:27 -07:00
Jonathan Daugherty
7a1950daa5
Add Samuel Tay's brick tutorial (with permission)
2017-08-08 09:11:22 -07:00
Jonathan Daugherty
a164f6cf3b
Bump version, update changelog
2017-08-05 14:43:01 -07:00
Jonathan Daugherty
57ffef581c
getVtyHandle: always return a Vty handle rather than Maybe
...
Previously, in appStartEvent you'd get Nothing because Vty had not been
initialized yet. This made various use cases impossible to satisfy
because appStartEvent is a natural place to get initial terminal state
from Vty. This change makes it so that a Vty handle is always available,
even in appStartEvent.
2017-08-05 14:41:12 -07:00
Jonathan Daugherty
8e8a09b28f
txtWrapWith: missing haddock
2017-08-05 09:30:04 -07:00
Jonathan Daugherty
4526e0e2f6
Bump version, update changelog
2017-08-05 09:21:15 -07:00
Jonathan Daugherty
6de72ae6b7
Add txtWrapWith, strWrapWith to provide control over wrapping behavior
2017-08-05 09:20:07 -07:00
Jonathan Daugherty
603cdcae41
Update cabal version for Hackage
2017-08-03 21:09:23 -07:00
Jonathan Daugherty
985c0ed387
Update changelog
2017-08-03 21:08:47 -07:00
Jonathan Daugherty
66fc8e7372
Brick.Types.Internal: improve mouse constructor haddock
2017-08-03 21:07:45 -07:00
Jonathan Daugherty
61a2e42a51
Bump version
2017-08-03 21:06:51 -07:00
Jonathan Daugherty
c09966ee81
Upgrade to word-wrap 0.2
2017-08-03 21:06:45 -07:00
Jonathan Daugherty
c7182aa448
Add a basic fill demonstration program
2017-08-02 15:55:09 -07:00
Jonathan Daugherty
b8af7dcd85
README: add featured projects list
2017-08-02 15:53:09 -07:00
Jonathan Daugherty
8f684c01ec
Edit: haddock fix
2017-07-20 19:32:37 -07:00
Jonathan Daugherty
85c8ed89bf
Update changelog, bump version
2017-07-14 13:22:45 -07:00
Jonathan Daugherty
85d51e092c
str: fix constraint confusion on GHC 7.10.1
2017-07-14 13:22:01 -07:00
Jonathan Daugherty
3f3c780ae4
Bump version, update changelog
2017-07-08 12:15:30 -07:00
Jonathan Daugherty
974453c55c
Core: use word-wrap library for text-wrapping
2017-07-08 12:12:12 -07:00
Jonathan Daugherty
472fba88e8
str/txtWrap: haddock
2017-07-06 21:49:07 -07:00
Jonathan Daugherty
687fe20ca5
Core: add txtWrap, strWrap, and TextWrapDemo ( fixes #128 )
2017-07-06 21:47:41 -07:00
Jonathan Daugherty
6de0154701
Merge branch 'master' of github.com:jtdaugherty/brick
2017-07-05 21:37:11 -07:00
Jonathan Daugherty
456f523d84
txt: fix Haddock
2017-07-05 21:37:08 -07:00
Jonathan Daugherty
e60f54b9d8
guide: fix event type ( fixes #126 )
2017-06-27 08:56:54 -07:00
Jonathan Daugherty
56133bb0c6
Bump version, update changelog
2017-06-26 11:55:35 -07:00
Jonathan Daugherty
c07e9c0503
Edit: move content draw function to render time, not construction
...
This change makes the renderEditor function take the content drawing
function that "editor" previously took. This does a better job of
separating presentation and representation concerns, and the content
drawing function never should have been part of the state to begin with.
This change removed the corresponding lens and Editor accessor for the
drawing function, removed the smart constructor parameter, and moved it
to be a parameter of the renderEditor function.
2017-06-26 11:52:46 -07:00
Jonathan Daugherty
5f6c0e443d
Focus: slightly better haddock
2017-06-18 15:38:42 -07:00
Jonathan Daugherty
c6d0e89a52
Brick.Focus: haddock improvements
2017-06-11 12:30:06 -07:00
Jonathan Daugherty
13f30b8191
Update changelog, bump version
2017-06-11 12:27:32 -07:00
Jonathan Daugherty
d64b89b7fa
Merge branch 'master' of github.com:jtdaugherty/brick
2017-06-11 12:24:30 -07:00
Jonathan Daugherty
0718443b2f
Focus: replace internal list-based implementation with data-clist CList ( fixes #122 )
2017-06-11 12:24:13 -07:00
Jonathan Daugherty
0706673e43
BrickEvent: haddock typo
2017-06-06 10:31:19 -07:00
Jonathan Daugherty
cf96e9e8ea
Update Haddock to avoid mentoining defunct HandleEvent type class
2017-03-27 16:18:13 -07:00
Jonathan Daugherty
c95f29a307
README: tweak
2017-03-12 09:05:05 -07:00
Jonathan Daugherty
c70fe5498c
Bump version, add CHANGELOG
2017-03-11 20:34:28 -08:00
Jonathan Daugherty
14871549a1
README: add simple demo UI and corresponding program
2017-03-11 20:31:55 -08:00
Jonathan Daugherty
2792b309e1
README: tweak
2017-03-11 19:48:14 -08:00
Jonathan Daugherty
8daa03cf30
README: tweak
2017-03-11 19:44:40 -08:00
Jonathan Daugherty
5789ac39ff
README: tweak
2017-03-11 19:41:50 -08:00
Jonathan Daugherty
8cfad48185
Edit: add usage disclaimer
2017-03-11 19:40:10 -08:00
Jonathan Daugherty
0b899849e0
README: various updates
2017-03-11 19:35:57 -08:00
Jonathan Daugherty
0fb07a9d22
Center: make centerAbout right- and bottom-pad to behave consistently with h/vCenter
2017-03-10 18:17:12 -08:00