| 59 | } |
| 60 | |
| 61 | bool mitk::MouseWheelEvent::IsEqual(const mitk::InteractionEvent &interactionEvent) const |
| 62 | { |
| 63 | const auto &mwe = static_cast<const MouseWheelEvent &>(interactionEvent); |
| 64 | return ((this->GetWheelDelta() * mwe.GetWheelDelta() >= |
| 65 | 0) // Consider WheelEvents to be equal if the scrolling is done in the same direction. |
| 66 | && |
| 67 | this->GetModifiers() == mwe.GetModifiers() && this->GetButtonStates() == mwe.GetButtonStates() && |
| 68 | Superclass::IsEqual(interactionEvent)); |
| 69 | } |
| 70 | |
| 71 | bool mitk::MouseWheelEvent::IsSuperClassOf(const InteractionEvent::Pointer &baseClass) const |
| 72 | { |
nothing calls this directly
no test coverage detected