Add support for primary, secondary and middle mouse buttons. Also improve ability to click things in low FPS situations.
This introduces a lot of breaking changes:
Backends/integrations now pass mouse events via the even stream.
Response has an interface of mostly methods instead of public members.
input.mouse is now input.pointer and has new interface.
* Rename 'mouse' to 'pointer' everywhere (pointer = mouse or touch)
* Make Response::clicked and Response::double_clicked into methods
* Remove Response::active and add dragged() and interact_pointer_pos()
* Support multiple mouse buttons
* Make PointerState interface all methods
* Make most members of Response private
|
||
|---|---|---|
| .. | ||
| examples | ||
| src | ||
| CHANGELOG.md | ||
| Cargo.toml | ||
| README.md | ||
README.md
egui framework
This aims to be the entry-level crate if you want to write an egui app.
eframe calls into your code (it is a framework) and supports web apps (via egui_web) and native apps (via egui_glium).
eframe is a very thin crate that re-exports egui, epi and thin wrappers over the backends.
On Linux you need to first run sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev to compile eframe natively.