30MouseInputSource::MouseInputSource (detail::MouseInputSourceImpl* s) noexcept : pimpl (s) {}
31MouseInputSource::MouseInputSource (
const MouseInputSource&
other) noexcept : pimpl (
other.pimpl) {}
32MouseInputSource::~MouseInputSource() noexcept {}
34MouseInputSource& MouseInputSource::operator= (
const MouseInputSource&
other)
noexcept
83void MouseInputSource::handleWheel (ComponentPeer& peer, Point<float> pos,
int64 time,
const MouseWheelDetails&
wheel)
85 pimpl->handleWheel (peer, pos, Time (time),
wheel);
88void MouseInputSource::handleMagnifyGesture (ComponentPeer& peer, Point<float> pos,
int64 time,
float scaleFactor)
90 pimpl->handleMagnifyGesture (peer, pos, Time (time), scaleFactor);
98const float MouseInputSource::invalidTiltY = 0.0f;
103bool MouseInputSource::hasMouseMovedSignificantlySincePressed()
const noexcept {
return pimpl->hasMouseMovedSignificantlySincePressed(); }
The Component class uses a ComponentPeer internally to create and manage a real operating-system wind...
The base class for all JUCE user-interface objects.
Represents the state of the mouse buttons and modifier keys.
ModifierKeys withOnlyMouseButtons() const noexcept
Returns a copy of only the mouse-button flags.
Represents a mouse cursor image.
A pair of (x, y) coordinates.
Holds an absolute date and time.
Type unalignedPointerCast(void *ptr) noexcept
Casts a pointer to another type via void*, which suppresses the cast-align warning which sometimes ar...
long long int64
A platform-independent 64-bit integer type.
Contains status information about a pen event.