compositor can get mouse point from window event

This commit is contained in:
HyunJune Kim 2014-02-05 17:39:18 +09:00
parent 8486ba4325
commit d2f8b593a9
6 changed files with 28 additions and 5 deletions

View file

@ -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 {