Commit Graph

461 Commits

Author SHA1 Message Date
Alexandre Bury
e17ca97136 Add ViewPath and Cursive::find
Callbacks now include a path to the triggering view.
The Cursive root can find the View corresponding to a ViewPath.
In the future, ViewPaths may be returned when creating the layout.
2015-05-15 17:56:38 -07:00
Alexandre Bury
6cd2a28966 StackView now centers its children 2015-05-15 16:06:48 -07:00
Alexandre Bury
90ea4af1ea Implement TextView::draw 2015-05-15 15:00:20 -07:00
Alexandre Bury
6fad4aa36a More documentation 2015-05-15 12:16:58 -07:00
Alexandre Bury
e5c623bb07 Add printer abstraction on ncurses::WINDOW
Also rename Size -> Vec2
2015-05-15 12:03:19 -07:00
Alexandre Bury
4ebb422611 Hide the cursor 2015-05-14 18:41:13 -07:00
Alexandre Bury
ec7b76c564 Add screens to Cursive 2015-05-14 18:38:58 -07:00
Alexandre Bury
506c41c0f8 Fix some warnings 2015-05-14 17:48:24 -07:00
Alexandre Bury
a387bf5f06 Add stack, box and text views
Also add some documentation
2015-05-14 17:41:17 -07:00
Alexandre Bury
7dbeedcb49 Add readme with basic example 2015-05-09 12:57:41 -07:00
Alexandre Bury
13c4e86779 First commit 2015-05-09 12:18:31 -07:00