Mercurial > fife-parpg
comparison engine/core/gui/guimanager.cpp @ 220:6d09d310943b
Pass mouseWheelMovedUp and mouseWheelMovedDown events to pychan.
Fixed(?) dragging, mouse events are proceessed by the GUI if the last move was inside the gui.
author | phoku@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Thu, 19 Mar 2009 18:23:00 +0000 |
parents | bb9902910067 |
children | e901bdec7578 |
comparison
equal
deleted
inserted
replaced
219:852da06fc922 | 220:6d09d310943b |
---|---|
107 m_had_mouse = true; | 107 m_had_mouse = true; |
108 input->pushInput(evt); | 108 input->pushInput(evt); |
109 return true; | 109 return true; |
110 } | 110 } |
111 if( m_had_mouse ) { | 111 if( m_had_mouse ) { |
112 m_had_mouse = false; | |
113 input->pushInput(evt); | 112 input->pushInput(evt); |
114 return true; | 113 return true; |
115 } | 114 } |
116 return false; | 115 return false; |
117 | 116 |