fltk-rs version 1.3.0 released
Hello
fltk-rs is a Rust bindings crate for FLTK, the cross-platfrom & lightweight gui library.
Version 1.3.0 was released. Thank you to all who have contributed by contributing code, fixes, docs, examples, showcase projects and by reporting issues.
Major changes since version 1.2:
Pull FLTK's new native wayland backend (this also uses Cairo for drawing). Previously FLTK worked on wayland via xwayland. To enable this, the use-wayland feature is required in addition to building from source (i.e. not using the fltk-bundled flag), this also requires several wayland dependencies:
libwayland-dev wayland-protocols libxkbcommon-dev libpango1.0-dev libdbus-1-devinstead of the X11 development packages.
Sample project and CIIncorporate Flex widget into fltk-rs proper, instead of being a separate crate.
Update raw-window-handle optional dependency to 0.4.
Constify several util and enum functions, which makes it possible to use things like:
const SEL_BLUE: Color = Color::from_hex(0x2196F3);
fn main() {}
Replace syn & quote with paste. (Improves compile times, simplifies code and is better for auto-completion with rust-analyzer).
Switch to crossbeam-channel instead of FLTK's internal channel implementation, which had some issues on windows.
Switch to ttf-parser instead of stb_truetype, which had some issues with some fonts. It also allows better maintainability, since stb_truetype was vendored as a header file into the cfltk repo.
Port more dialog free functions, to set the font, icon etc.
Add TextBuffer methods of secondary selection.
Add DisplayExt::set_highlight_data_ext() and text::StyleTableEntryExt (supports underline, strikethrough, background color...etc)
Improved documentation & examples.
Various fixes.