mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
06d64be0a0
* Allow taking the content of a dialog without destroying it by replacing it with another view. * Add getters for all three ways of mutating padding (`Margins` struct, LRTB tuple, and individual fields) * Allow setting focus * Add a getter for the title of the dialog * Add getter for title position * Add immutable button iterator for `Dialog` * Rename `buttons_mut` to fit with `iter_buttons_mut`. * Add getter for horizontal alignment property * Remove `replace_content` and replace it with just having `set_content` return the previous view. * Actually clamp dialog focus rather than forcibly unclamping it * Use the existing convention for button iterators rather than the `iter`/`iter_mut` convention * Remove extraneous padding getters * Remove import of `std::mem::replace` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
Readme.md |
Cursive-core
This crate is where most of cursive is defined, except for the backends.
Third-party libraries are encouraged to depend on this instead of cursive
, as it should have fewer semver breaking updates.