egui/emath/src
Emil Ernerfeldt 247026149c
Multiple mouse button support (#135)
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
2021-01-25 18:50:19 +01:00
..
align.rs Improve documentation 2021-01-17 12:24:13 +01:00
lib.rs Improve documentation 2021-01-17 12:24:13 +01:00
pos2.rs [emath] Add Pos2::zero() and Rect::clamp(point) 2021-01-17 00:21:31 +01:00
rect.rs [emath] Add Pos2::zero() and Rect::clamp(point) 2021-01-17 00:21:31 +01:00
rot2.rs Move egui/math into new crate emath 2021-01-10 11:37:47 +01:00
smart_aim.rs Move egui/math into new crate emath 2021-01-10 11:37:47 +01:00
vec2.rs Multiple mouse button support (#135) 2021-01-25 18:50:19 +01:00