New
cursive_core-v0.1.1
cursive-core 0.1.1
API updates
- Add
Dialog::into_content. - Add
Callback::from_fn_onceandonce1!macro to wrap aFnOncein aFnMut. - Add
FixedLayoutViewwith manual placement of child views. - Add
OnLayoutViewto 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_scrollcallback. - Add
once1!macro to turn aFnOnceintoFnMut. - Implement
Defaultfor some wrapper views where the child isDefault.
Bugfixes
- More hygienic
wrap_impl!macro using fully-qualified paths. - Fixed
LinearLayoutgiving children incorrect sizes. - More accurate "important area" for
ShadowViewandPaddedView. - Fix potential panic when calling
TextArea::set_cursorbefore its first layout phase. - Disabled views no longer accept input if they are still in focus.