Home | History | Annotate | Download | only in page

Lines Matching refs:wheelEvent

81 #include "WheelEvent.h"
137 static inline bool scrollNode(float delta, WheelEvent::Granularity granularity, ScrollDirection positiveDirection, ScrollDirection negativeDirection, Node* node, Node** stopNode)
150 if (granularity == WheelEvent::Page)
153 if (granularity == WheelEvent::Line)
156 if (granularity == WheelEvent::Pixel)
2169 view->wheelEvent(e);
2173 void EventHandler::defaultWheelEventHandler(Node* startNode, WheelEvent* wheelEvent)
2175 if (!startNode || !wheelEvent)
2182 if (scrollNode(wheelEvent->rawDeltaX(), wheelEvent->granularity(), ScrollLeft, ScrollRight, startNode, &stopNode))
2183 wheelEvent->setDefaultHandled();
2185 if (scrollNode(wheelEvent->rawDeltaY(), wheelEvent->granularity(), ScrollUp, ScrollDown, startNode, &stopNode))
2186 wheelEvent->setDefaultHandled();