Mercurial > projects > dynamin
comparison dynamin/gui/events.d @ 27:dfaa3da21b27
Fix stupid mistake with last commit.
author | Jordan Miner <jminer7@gmail.com> |
---|---|
date | Sat, 25 Jul 2009 15:12:21 -0500 |
parents | 87265a206638 |
children | 545af935f201 |
comparison
equal
deleted
inserted
replaced
26:87265a206638 | 27:dfaa3da21b27 |
---|---|
72 real y() { return _location.y; } | 72 real y() { return _location.y; } |
73 /// | 73 /// |
74 MouseButton button() { return _button; } | 74 MouseButton button() { return _button; } |
75 string toString() { | 75 string toString() { |
76 return format("MouseEventArgs [x={}, y={}, button={}]", | 76 return format("MouseEventArgs [x={}, y={}, button={}]", |
77 _x, _y, _button); | 77 x, y, _button); |
78 } | 78 } |
79 } | 79 } |
80 /// | 80 /// |
81 class MouseTurnedEventArgs : StopEventArgs { | 81 class MouseTurnedEventArgs : StopEventArgs { |
82 int _delta; | 82 int _delta; |