#include <juce_PointerState.h>

Public Member Functions | |
| PointerState ()=default | |
| bool | isOrientationValid () const noexcept |
| bool | isPressureValid () const noexcept |
| bool | isRotationValid () const noexcept |
| bool | isTiltValid (bool isX) const noexcept |
| bool | operator!= (const PointerState &other) const noexcept |
| bool | operator== (const PointerState &other) const noexcept |
| PointerState | withOrientation (float x) const noexcept |
| PointerState | withPosition (Point< float > x) const noexcept |
| PointerState | withPositionOffset (Point< float > x) const noexcept |
| PointerState | withPressure (float x) const noexcept |
| PointerState | withRotation (float x) const noexcept |
| PointerState | withTiltX (float x) const noexcept |
| PointerState | withTiltY (float x) const noexcept |
Private Member Functions | |
| auto | tie () const noexcept |
| template<typename Value > | |
| PointerState | with (Value PointerState::*member, Value item) const |
|
default |
|
inlinenoexcept |
References orientation.
|
inlinenoexcept |
References tie().
|
inlinenoexcept |
References tie().
|
inlineprivatenoexcept |
References orientation, position, pressure, rotation, tiltX, and tiltY.
Referenced by operator!=(), and operator==().
|
inlineprivate |
Referenced by withOrientation(), withPosition(), withPositionOffset(), withPressure(), withRotation(), withTiltX(), and withTiltY().
|
inlinenoexcept |
References orientation, and with().
Referenced by juce::detail::MouseInputSourceImpl::handleEvent().
|
inlinenoexcept |
References position, and with().
Referenced by juce::detail::MouseInputSourceImpl::getTargetForGesture(), juce::detail::MouseInputSourceImpl::handleEvent(), juce::detail::MouseInputSourceImpl::sendMouseDown(), juce::detail::MouseInputSourceImpl::sendMouseDrag(), and juce::detail::MouseInputSourceImpl::sendMouseUp().
|
inlinenoexcept |
References position, and with().
Referenced by juce::detail::MouseInputSourceImpl::setButtons(), and juce::detail::MouseInputSourceImpl::setPointerState().
|
inlinenoexcept |
References pressure, and with().
Referenced by juce::detail::MouseInputSourceImpl::handleEvent().
|
inlinenoexcept |
References rotation, and with().
Referenced by juce::detail::MouseInputSourceImpl::handleEvent().
|
inlinenoexcept |
Referenced by juce::detail::MouseInputSourceImpl::handleEvent().
|
inlinenoexcept |
Referenced by juce::detail::MouseInputSourceImpl::handleEvent().
| float juce::detail::PointerState::orientation = MouseInputSource::defaultOrientation |
Referenced by isOrientationValid(), juce::detail::makeMouseEvent(), tie(), and withOrientation().
Referenced by juce::detail::MouseInputSourceImpl::enableUnboundedMouseMovement(), juce::detail::MouseInputSourceImpl::getRawScreenPosition(), juce::detail::MouseInputSourceImpl::handleUnboundedDrag(), juce::detail::makeMouseEvent(), juce::detail::MouseInputSourceImpl::sendMouseDown(), juce::detail::MouseInputSourceImpl::sendMouseDrag(), juce::detail::MouseInputSourceImpl::sendMouseEnter(), juce::detail::MouseInputSourceImpl::sendMouseExit(), juce::detail::MouseInputSourceImpl::sendMouseMove(), juce::detail::MouseInputSourceImpl::sendMouseUp(), juce::detail::MouseInputSourceImpl::setButtons(), juce::detail::MouseInputSourceImpl::setPeer(), juce::detail::MouseInputSourceImpl::setPointerState(), tie(), withPosition(), and withPositionOffset().
| float juce::detail::PointerState::pressure = MouseInputSource::defaultPressure |
Referenced by isPressureValid(), juce::detail::makeMouseEvent(), tie(), and withPressure().
| float juce::detail::PointerState::rotation = MouseInputSource::defaultRotation |
Referenced by isRotationValid(), juce::detail::makeMouseEvent(), tie(), and withRotation().
| float juce::detail::PointerState::tiltX = MouseInputSource::defaultTiltX |
Referenced by isTiltValid(), juce::detail::makeMouseEvent(), tie(), and withTiltX().
| float juce::detail::PointerState::tiltY = MouseInputSource::defaultTiltY |
Referenced by isTiltValid(), juce::detail::makeMouseEvent(), tie(), and withTiltY().