egui-fltk-frontend

Crates.ioegui-fltk-frontend
lib.rsegui-fltk-frontend
version0.22.1
sourcesrc
created_at2021-10-12 16:08:17.760932
updated_at2022-09-13 11:22:02.742367
descriptionFLTK frontend for Egui WGPU backend
homepage
repositoryhttps://github.com/Ar37-rs/egui-fltk-frontend
max_upload_size
id464024
size242,919
Adia Robbie (ar37-rs)

documentation

https://docs.rs/egui-fltk-frontend

README

Egui FLTK Frontend

Crates.io minimum rustc 1.61.0 Documentation CI

FLTK frontend for egui WGPU.

On linux Debian/Ubuntu based distros, install latest build tools:

sudo apt-get update && sudo apt-get install build-essential cmake ninja-build

make sure to install the latest FLTK requirements:

sudo apt-get update && sudo apt-get install -y libpango1.0-dev libx11-dev libxext-dev libxft-dev libxinerama-dev libxcursor-dev libxrender-dev libxfixes-dev libgl1-mesa-dev libglu1-mesa-dev

and egui requirements as well:

sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev

Usage

[dependencies]
egui-fltk-frontend = "0.22.1"

Note: on xwayland based desktop (like gnome 41+) doesn't require to enable the "wayland" features.

Example

Running example *.rs files:

cargo r --example image
cargo r --example main
cargo r --example smaa
cargo r --example custom3d

or click here on how to use it inside Cargo.toml

Screenshot

main_example running on WSL2 + X Server:

alt_test

Commit count: 110

cargo fmt