Repository navigation
Releases: khonsulabs/appit
Releases · khonsulabs/appit
Release list
v0.3.2
v0.3.1
Added
WindowAttributes::delay_visibleis a new setting initializes the window
visible: falsebefore showing it after the first successful redraw. The goal
is to avoid the OS drawing an empty window before the window behavior has
initialized. This new attribute defaults to true.
v0.3.0
Breaking Changes
- This crate no longer specifies a specific raw-window-handle flag for winit.
This crate will maintain feature flags that allow picking whatever versions
winit is exposing. As of writing this note, the choices arerwh_05and
rwh_06.rwh_05was the feature that was activated in v0.2.0. winithas been updated to 0.30.0.Window::idnow returnsOption<WindowId>, as a window may be opened before
the event loop has been started.WindowBehavior::build,WindowBehavior::build_with,WindowBehavior::open,
andWindowBehavior::open_withnow require exclusive references to the
application.- These gesture events have been renamed to match
winit's updated nomenclature:WindowBehavior::touchpad_magnify->WindowBehavior::pinch_gestureWindowBehavior::smart_magnify->WindowBehavior::double_tap_gesture
Changed
- All
&Appplicationbounds now are?Sized, enabling&dyn Application
parameters. - Redraw requests from
winitnow block the event loop thread until the window
has been repainted.
Added
AsApplicationnow providesas_application_mut.WindowBeahvior::pan_gestureis a new event provided bywinit.
v0.2.0
Breaking Changes
UnwindSafeis no longer required forWindowBehavioror
WindowBehavior::Context.
Changed
- This crate's default features now include
wayland-csd-adwaita. This enables
winit's built-in decoration drawing on Wayland.
Fixed
Appnow implementsApplication.Windowis now fully weak. Previously the channel for messages would still
remain allocated while instances ofWindowexisted. Now, the messages
channel is freed as soon as the window is closed.
Added
AsApplicationis a new trait that can be implemented to resolve to theApp
type. This allows wrapper types to be written that hide the appit types.WindowAttributesnow implementDebug.