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.
ProgressBar
control for tracking the completion of a task with automatic value conversionsenable()
anddisable()
methods on all controlsRadioButtons
control for groups of radio buttonsCombobox::selected()
method to retrieve the currently selected index of the combobox- Officially move communications to the Matrix room #rust-native-ui:matrix.nora.codes
str_tools
module provides utilities for converting to and from systemCString
andCStr
values, while enforcing correct newline values (CR vs CRLF).
ui-sys
is now built with Bindgen. This means it can track libui more closely.- README.md now links to libui, and is more explanatory
LayoutGrid::insert_at
no longer takesleft
andheight
arguments- Many APIs which took
u64
ori64
arguments now takei32
for wider compatibility - The semi-unstable
iui::draw
subsystem is again exported to downstream consumers of theiui
crate. UI::queue_main
andUI::on_should_quit
now require passed closures to be'static
, for soundness- All callback registration functions require that their callbacks live at least as long as the
UI
token, for soundness
No deprecations.
Transform
no longer implementsPartialEq
as the existing implementation was broken.Button
andLabel
no longer implementtext_ref
as we cannot ensure toolkit newline compliance.
VerticalBox
andHorizontalBox
no longer link to the removedBoxExt
trait.ui-sys
now builds on modern macOS.inputs
andinputs-grid
examples no longer erroneously start at 0 for inputs starting at 1.- Text no longer uses incorrect newlines per platform.
UI::run_delay
no longer spins on the callback, but actually calls it at the appropriate interval
No security changes.
- README now has syntax coloring
- README now has badges and sample screenshot
Checkbox
control for Boolean inputCombobox
control for selecting from one of a fixed set of optionsLayoutGrid
control for grid-based 2D layoutsui-sys
can now be built without either pulling or buildinglibui
, controlled by Cargo features- Building on MSVC now works
ptr()
method on controls is no longerunsafe
iui
now usesbitflags
1.0Area
functions which have UB based on the type ofArea
are nowunsafe
No deprecations.
- The old
ui
codebase no longer lives in this repository.
HorizontalBox::new
now correctly returns aHorizontalBox
No security changes.