43 _in_window(copy._in_window),
48 _length(copy._length),
49 _direction(copy._direction),
50 _rotation(copy._rotation),
51 _sequence(copy._sequence),
61 INLINE
void PointerEvent::
63 _in_window = copy._in_window;
68 _sequence = copy._sequence;
69 _length = copy._length;
70 _direction = copy._direction;
71 _rotation = copy._rotation;
83 return (_in_window == other._in_window &&
84 _xpos == other._xpos &&
85 _ypos == other._ypos &&
88 _sequence == other._sequence &&
89 _length == other._length &&
90 _direction == other._direction &&
91 _rotation == other._rotation);
99 INLINE
bool PointerEvent::
109 INLINE
bool PointerEvent::
111 if (_sequence != other._sequence) {
112 return _sequence < other._sequence;
114 if (_xpos != other._xpos) {
115 return _xpos < other._xpos;
117 if (_ypos != other._ypos) {
118 return _ypos < other._ypos;
120 if (_dx != other._dx) {
121 return _dx < other._dx;
123 if (_dy != other._dy) {
124 return _dy < other._dy;
126 if (_length != other._length) {
127 return _length < other._length;
129 if (_direction != other._direction) {
130 return _direction < other._direction;
132 if (_rotation != other._rotation) {
133 return _rotation < other._rotation;
135 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.