All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Added system menu items
Menu::append_<xxx>_item()(quit/preferences/about). - Added
Window::set_resizeable()andWindow::resizeable(). - Added
Window::set_position(),Window::position()and event callback. - Added
Window::set_content_size(),Window::content_size()and event callback. - Added
Checkbox::set_text()andCheckbox::text(). - Added
EventQueueWithData::queue_main()to run code on the main thread.UI::queue_main()is unsuitable due toUIbeing!Send.
- Fixed clang build on Windows.
- Fixed window focus after pop-up dialogs. Workaround to be removed some day.
- Updated build dependencies. Users of up-to-date libraries will have less to download. Some of the dependencies now require an edition 2021 compatible Rust toolchain however - which have trouble running on Windows 7.
libui::layout!macro for easier UI description.libui::menu!macro for main menu creation.MultilineEntry::new_nonwrapping()constructor.
- No API changes.
- No API deprecations.
- No API removals.
- Windows:
ComboboxinsideTabGroupnow render properly. - Windows: Reduced flicker during resize.
MenuItem::on_clicked()no longer requires an UI handle.
- No security changes.
This is the initial version of the library, based on iui. The following changes refer to this version.
- Added the
SearchEntrycontrol - Added the
ColorButtoncontrol - Added the
DateTimePickercontrol - Added the
FontButtoncontrol - Added the
Tablecontrol - Added the
Formcontrol - Added the
EditableComboboxcontrol - New features for
Combobox - Readonly property for the
MultilineEntry - Folder dialogs
- Removed the
UItoken from most functions to simplify the API, at the cost of loosing the static library initialization check and lifetime guarantee. Make sure theUIlibrary handle is kept till the end manually instead.
- No API deprecations.
- Removed the dependency on the
failurecrate, using thestd::error::Errortrait instead.
- Fixed a memory leak in the file dialog functions.
- No security changes.