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 toUI
being!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:
Combobox
insideTabGroup
now 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
SearchEntry
control - Added the
ColorButton
control - Added the
DateTimePicker
control - Added the
FontButton
control - Added the
Table
control - Added the
Form
control - Added the
EditableCombobox
control - New features for
Combobox
- Readonly property for the
MultilineEntry
- Folder dialogs
- Removed the
UI
token from most functions to simplify the API, at the cost of loosing the static library initialization check and lifetime guarantee. Make sure theUI
library handle is kept till the end manually instead.
- No API deprecations.
- Removed the dependency on the
failure
crate, using thestd::error::Error
trait instead.
- Fixed a memory leak in the file dialog functions.
- No security changes.