Mercurial > projects > dynamin
diff dynamin/gui/events.d @ 30:545af935f201
Remove delta from MouseTurnedEventArgs (Windows-centric).
author | Jordan Miner <jminer7@gmail.com> |
---|---|
date | Sat, 25 Jul 2009 15:27:35 -0500 |
parents | dfaa3da21b27 |
children | 2a194d52fdb5 |
line wrap: on
line diff
--- a/dynamin/gui/events.d Sat Jul 25 15:25:38 2009 -0500 +++ b/dynamin/gui/events.d Sat Jul 25 15:27:35 2009 -0500 @@ -79,17 +79,11 @@ } /// class MouseTurnedEventArgs : StopEventArgs { - int _delta; double _scrollAmount; public: - this(int delta, double scrollAmount) { - _delta = delta; + this(double scrollAmount) { _scrollAmount = scrollAmount; } - /* - * This is the amount the mouse wheel was turned. - */ - //int delta() { return _delta; } /** * The amount that a control should scroll in response to this event. * In a text control, this is the number of lines to scroll.