mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
compositor can get mouse point from window event
This commit is contained in:
parent
8486ba4325
commit
d2f8b593a9
6 changed files with 28 additions and 5 deletions
|
@ -21,6 +21,7 @@ pub enum Event_ {
|
|||
ClickEvent(uint, Point2D<f32>),
|
||||
MouseDownEvent(uint, Point2D<f32>),
|
||||
MouseUpEvent(uint, Point2D<f32>),
|
||||
MouseMoveEvent(Point2D<f32>)
|
||||
}
|
||||
|
||||
pub struct AbstractEvent {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue