19 return (_in_window == other._in_window &&
20 _xpos == other._xpos &&
21 _ypos == other._ypos &&
24 _sequence == other._sequence &&
25 _length == other._length &&
26 _direction == other._direction &&
27 _rotation == other._rotation);
33 INLINE
bool PointerEvent::
41 INLINE
bool PointerEvent::
43 if (_sequence != other._sequence) {
44 return _sequence < other._sequence;
46 if (_xpos != other._xpos) {
47 return _xpos < other._xpos;
49 if (_ypos != other._ypos) {
50 return _ypos < other._ypos;
52 if (_dx != other._dx) {
53 return _dx < other._dx;
55 if (_dy != other._dy) {
56 return _dy < other._dy;
58 if (_length != other._length) {
59 return _length < other._length;
61 if (_direction != other._direction) {
62 return _direction < other._direction;
64 if (_rotation != other._rotation) {
65 return _rotation < other._rotation;
67 return _in_window < other._in_window;
bool operator==(const PointerEvent &other) const
The equality operator does not consider time significant.
Records a pointer movement event.