cursive-core 0.1.1
API updates
- Add
Dialog::into_content
. - Add
Callback::from_fn_once
andonce1!
macro to wrap aFnOnce
in aFnMut
. - Add
FixedLayoutView
with manual placement of child views. - Add
OnLayoutView
to overrideView::Layout
- Add
Cursive::{dump, restore}
to save and load the global state. - Add
NamedView::{name, set_name}
to retrieve or replace the given name. - Add
LinearLayout::find_child_with_name
. - Add
ScrollView::on_scroll
callback. - Add
once1!
macro to turn aFnOnce
intoFnMut
. - Implement
Default
for some wrapper views where the child isDefault
.
Bugfixes
- More hygienic
wrap_impl!
macro using fully-qualified paths. - Fixed
LinearLayout
giving children incorrect sizes. - More accurate "important area" for
ShadowView
andPaddedView
. - Fix potential panic when calling
TextArea::set_cursor
before its first layout phase. - Disabled views no longer accept input if they are still in focus.