Classes | |
struct | ComponentHelpers |
class | TemporaryFilesDecorator |
class | ConcreteScopedMessageBoxImpl |
Macros | |
#define | JUCE_MOUSE_EVENT_DBG(desc, screenPos) |
Enumerations | |
enum class | Event { Event::elementCreated , Event::elementDestroyed , Event::elementMovedOrResized , Event::focusChanged , Event::windowOpened , Event::windowClosed } |
enum class | NavigationDirection { NavigationDirection::forwards , NavigationDirection::backwards } |
#define JUCE_MOUSE_EVENT_DBG | ( | desc, | |
screenPos | |||
) |
|
strong |
|
strong |
AccessibilityRole isRadioButton | ( | buttonToWrap | ) |
|
override |
|
override |
References Button::getButtonText(), and AccessibilityHandler::getTitle().
|
override |
References SettableTooltipClient::getTooltip().
MouseInputSourceImpl | ( | int | i, |
MouseInputSource::InputSourceType | type | ||
) |
Referenced by addSource().
|
noexcept |
|
noexcept |
References buttonState, ModifierKeys::currentModifiers, ModifierKeys::getRawFlags(), ModifierKeys::withFlags(), and ModifierKeys::withoutMouseButtons().
Referenced by setButtons().
|
noexcept |
References ComponentPeer::isValidPeer().
Referenced by handleEvent(), setPeer(), setPointerState(), and showMouseCursor().
|
noexcept |
References getRawScreenPosition().
|
noexcept |
References inputType, lastPointerState, MouseInputSource::touch, and unboundedMouseOffset.
Referenced by getScreenPosition().
void setScreenPosition | ( | Point< float > | p | ) |
Referenced by enableUnboundedMouseMovement(), and handleUnboundedDrag().
void sendMouseEnter | ( | Component & | comp, |
const detail::PointerState & | pointerState, | ||
Time | time | ||
) |
References JUCE_MOUSE_EVENT_DBG.
Referenced by setComponentUnderMouse().
void sendMouseExit | ( | Component & | comp, |
const detail::PointerState & | pointerState, | ||
Time | time | ||
) |
References JUCE_MOUSE_EVENT_DBG.
Referenced by setComponentUnderMouse().
void sendMouseMove | ( | Component & | comp, |
const detail::PointerState & | pointerState, | ||
Time | time | ||
) |
References JUCE_MOUSE_EVENT_DBG.
Referenced by setPointerState().
void sendMouseDown | ( | Component & | comp, |
const detail::PointerState & | pointerState, | ||
Time | time | ||
) |
References JUCE_MOUSE_EVENT_DBG.
Referenced by setButtons().
void sendMouseDrag | ( | Component & | comp, |
const detail::PointerState & | pointerState, | ||
Time | time | ||
) |
References JUCE_MOUSE_EVENT_DBG.
Referenced by setPointerState().
void sendMouseUp | ( | Component & | comp, |
const detail::PointerState & | pointerState, | ||
Time | time, | ||
ModifierKeys | oldMods | ||
) |
References JUCE_MOUSE_EVENT_DBG.
Referenced by setButtons().
void sendMouseWheel | ( | Component & | comp, |
Point< float > | screenPos, | ||
Time | time, | ||
const MouseWheelDetails & | wheel | ||
) |
References JUCE_MOUSE_EVENT_DBG.
Referenced by handleWheel().
References JUCE_MOUSE_EVENT_DBG.
Referenced by handleMagnifyGesture().
bool setButtons | ( | const detail::PointerState & | pointerState, |
Time | time, | ||
ModifierKeys | newButtonState | ||
) |
References buttonState, enableUnboundedMouseMovement(), getComponentUnderMouse(), getCurrentModifiers(), Desktop::getInstance(), inputType, ModifierKeys::isAnyMouseButtonDown(), sendMouseDown(), sendMouseUp(), setPointerState(), MouseInputSource::touch, and unboundedMouseOffset.
Referenced by handleEvent(), and setComponentUnderMouse().
void setComponentUnderMouse | ( | Component * | newComponent, |
const detail::PointerState & | pointerState, | ||
Time | time | ||
) |
References buttonState, WeakReference< ObjectType, ReferenceCountingType >::get(), getComponentUnderMouse(), revealCursor(), sendMouseEnter(), sendMouseExit(), and setButtons().
Referenced by setPeer(), and setPointerState().
void setPeer | ( | ComponentPeer & | newPeer, |
const detail::PointerState & | pointerState, | ||
Time | time | ||
) |
References getPeer(), and setComponentUnderMouse().
Referenced by getTargetForGesture(), and handleEvent().
void setPointerState | ( | const detail::PointerState & | newPointerState, |
Time | time, | ||
bool | forceUpdate | ||
) |
References AsyncUpdater::cancelPendingUpdate(), getComponentUnderMouse(), getPeer(), handleUnboundedDrag(), isUnboundedMouseModeOn, lastPointerState, revealCursor(), sendMouseDrag(), sendMouseMove(), setComponentUnderMouse(), and unboundedMouseOffset.
Referenced by getTargetForGesture(), handleAsyncUpdate(), handleEvent(), and setButtons().
void handleEvent | ( | ComponentPeer & | newPeer, |
Point< float > | positionWithinPeer, | ||
Time | time, | ||
const ModifierKeys | newMods, | ||
float | newPressure, | ||
float | newOrientation, | ||
PenDetails | pen | ||
) |
Component * getTargetForGesture | ( | ComponentPeer & | peer, |
Point< float > | positionWithinPeer, | ||
Time | time, | ||
Point< float > & | screenPos | ||
) |
References getComponentUnderMouse(), lastPointerState, ComponentPeer::localToGlobal(), setPeer(), setPointerState(), and triggerFakeMove().
Referenced by handleMagnifyGesture(), and handleWheel().
void handleWheel | ( | ComponentPeer & | peer, |
Point< float > | positionWithinPeer, | ||
Time | time, | ||
const MouseWheelDetails & | wheel | ||
) |
void handleMagnifyGesture | ( | ComponentPeer & | peer, |
Point< float > | positionWithinPeer, | ||
Time | time, | ||
const float | scaleFactor | ||
) |
References getTargetForGesture(), and sendMagnifyGesture().
|
noexcept |
|
noexcept |
References MouseEvent::getDoubleClickTimeout(), isLongPressOrDrag(), jmin(), and numElementsInArray().
|
noexcept |
References RelativeTime::milliseconds().
Referenced by getNumberOfMultipleClicks(), and hasMouseMovedSignificantlySincePressed().
|
noexcept |
|
noexcept |
References isLongPressOrDrag().
void triggerFakeMove | ( | ) |
References AsyncUpdater::triggerAsyncUpdate().
Referenced by getTargetForGesture().
|
override |
References Time::getCurrentTime(), jmax(), lastPointerState, and setPointerState().
Referenced by ChangeBroadcaster::dispatchPendingMessages().
void enableUnboundedMouseMovement | ( | bool | enable, |
bool | keepCursorVisibleUntilOffscreen | ||
) |
void handleUnboundedDrag | ( | Component & | current | ) |
References Rectangle< ValueType >::getCentre(), Component::getParentMonitorArea(), Component::getScreenBounds(), isCursorVisibleUntilOffscreen, Point< ValueType >::isOrigin(), lastPointerState, Rectangle< ValueType >::reduced(), setScreenPosition(), Rectangle< ValueType >::toFloat(), and unboundedMouseOffset.
Referenced by setPointerState().
void showMouseCursor | ( | MouseCursor | cursor, |
bool | forcedUpdate | ||
) |
References getPeer(), isCursorVisibleUntilOffscreen, Point< ValueType >::isOrigin(), isUnboundedMouseModeOn, MouseCursor::NoCursor, and unboundedMouseOffset.
Referenced by hideCursor(), and revealCursor().
void hideCursor | ( | ) |
References MouseCursor::NoCursor, and showMouseCursor().
void revealCursor | ( | bool | forcedUpdate | ) |
References getComponentUnderMouse(), MouseCursor::NormalCursor, and showMouseCursor().
Referenced by enableUnboundedMouseMovement(), setComponentUnderMouse(), and setPointerState().
addSource | ( | 0 | , |
mainMouseInputType | |||
) |
References addSource().
Referenced by addSource(), and getOrCreateMouseInputSource().
MouseInputSource * addSource | ( | int | index, |
MouseInputSource::InputSourceType | type | ||
) |
References addSource(), index, MouseInputSourceImpl(), sourceArray, and sources.
|
noexcept |
References index, isPositiveAndBelow(), and sourceArray.
MouseInputSource * getOrCreateMouseInputSource | ( | MouseInputSource::InputSourceType | type, |
int | touchIndex = 0 |
||
) |
References addSource(), jassert, MouseInputSource::mouse, MouseInputSource::pen, sourceArray, and MouseInputSource::touch.
|
noexcept |
References sources.
|
noexcept |
References index, and sourceArray.
void beginDragAutoRepeat | ( | int | interval | ) |
References Timer::getTimerInterval(), Timer::startTimer(), and Timer::stopTimer().
|
override |
|
default |
|
noexcept |
|
noexcept |
|
noexcept |
References position.
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
References pressure.
|
noexcept |
References orientation.
|
noexcept |
References rotation.
|
virtual |
References NullCheckedInvocation::invoke(), and jassertfalse.
|
virtual |
Referenced by DynamicLibrary::~DynamicLibrary().
|
pure virtual |
|
pure virtual |
Referenced by ConcreteScopedMessageBoxImpl::showUnmanaged().
setRepaintsOnMouseActivity | ( | true | ) |
setMouseCursor | ( | MouseCursor::DraggingHandCursor | ) |
|
override |
References ToolbarItemComponent::editableOnToolbar, Toolbar::editingModeOutlineColourId, and jmin().
|
override |
References MouseEvent::x, and MouseEvent::y.
|
override |
|
override |
References ToolbarItemComponent::editableOnToolbar.
|
override |
|
override |
void checkFocusAsync | ( | ) |
References Timer::startTimer().
Referenced by addWindow(), and removeWindow().
void checkFocus | ( | ) |
References Desktop::getInstance(), Timer::getTimerInterval(), jmin(), Timer::startTimer(), and windows.
bool addWindow | ( | TopLevelWindow *const | w | ) |
References checkFocusAsync(), and windows.
void removeWindow | ( | TopLevelWindow *const | w | ) |
References checkFocusAsync(), and windows.
__pad0__ |
__pad0__ |
__pad0__ |
AccessibilityRole roleIn |
__pad0__ |
__pad0__ |
Point<int> hotspot |
__pad0__ |
__pad0__ |
WeakReference<Component> lastFocus |
__pad0__ |
__pad0__ |
const int index |
Referenced by ReferenceCountedArray< ObjectClass, TypeOfCriticalSectionToUse >::addOrReplaceSorted(), OwnedArray< ObjectClass, TypeOfCriticalSectionToUse >::addSorted(), ReferenceCountedArray< ObjectClass, TypeOfCriticalSectionToUse >::addSorted(), Array< ElementType, TypeOfCriticalSectionToUse, minimumAllocatedSize >::addSorted(), addSource(), dsp::LookupTable< FloatType >::get(), AttributedString::getAttribute(), CodeEditorComponent::getCaretRectangleForCharIndex(), ApplicationCommandManager::getCommandForIndex(), getDraggingMouseSource(), getMouseSource(), AudioProcessorGraph::getNode(), ReferenceCountedArray< ObjectClass, TypeOfCriticalSectionToUse >::getObjectPointer(), ReferenceCountedArray< ObjectClass, TypeOfCriticalSectionToUse >::getObjectPointerUnchecked(), RectangleList< ValueType >::getRectangle(), SortedSet< ElementType, TypeOfCriticalSectionToUse >::getReference(), Array< ElementType, TypeOfCriticalSectionToUse, minimumAllocatedSize >::getReference(), SelectedItemSet< SelectableItemType >::getSelectedItem(), Synthesiser::getSound(), SortedSet< ElementType, TypeOfCriticalSectionToUse >::getUnchecked(), dsp::LookupTable< FloatType >::getUnchecked(), Array< ElementType, TypeOfCriticalSectionToUse, minimumAllocatedSize >::getUnchecked(), OwnedArray< ObjectClass, TypeOfCriticalSectionToUse >::getUnchecked(), ReferenceCountedArray< ObjectClass, TypeOfCriticalSectionToUse >::getUnchecked(), ArrayBase< ElementType, TypeOfCriticalSectionToUse >::getValueWithDefault(), CharacterFunctions::indexOf(), CharacterFunctions::indexOfIgnoreCase(), LinkedListPointer< ObjectType >::insertAtIndex(), dsp::LookupTableTransform< FloatType >::operator()(), HeapBlock< ElementType, throwOnFailure >::operator+(), SortedSet< ElementType, TypeOfCriticalSectionToUse >::operator[](), ArrayBase< ElementType, TypeOfCriticalSectionToUse >::operator[](), dsp::LookupTable< FloatType >::operator[](), dsp::LookupTableTransform< FloatType >::operator[](), HeapBlock< ElementType, throwOnFailure >::operator[](), Array< ElementType, TypeOfCriticalSectionToUse, minimumAllocatedSize >::operator[](), OwnedArray< ObjectClass, TypeOfCriticalSectionToUse >::operator[](), ReferenceCountedArray< ObjectClass, TypeOfCriticalSectionToUse >::operator[](), StringRef::operator[](), dsp::Polynomial< FloatingType >::operator[](), LinkedListPointer< ObjectType >::operator[](), Span< Value, Extent >::operator[](), SparseSet< Type >::operator[](), dsp::ProcessorChain< Processors >::process(), dsp::LookupTableTransform< FloatType >::processSample(), ListenerList< ListenerClass, ArrayType >::remove(), KnownPluginList::setCustomScanner(), and DragAndDropContainer::setDragImageForIndex().
const MouseInputSource::InputSourceType inputType |
Referenced by getRawScreenPosition(), and setButtons().
Point<float> unboundedMouseOffset |
detail::PointerState lastPointerState |
ModifierKeys buttonState |
Referenced by getCurrentModifiers(), Button::getState(), setButtons(), and setComponentUnderMouse().
bool isUnboundedMouseModeOn = false |
Referenced by enableUnboundedMouseMovement(), setPointerState(), and showMouseCursor().
bool isCursorVisibleUntilOffscreen = false |
Referenced by enableUnboundedMouseMovement(), handleUnboundedDrag(), and showMouseCursor().
__pad0__ |
OwnedArray<MouseInputSourceImpl> sources |
Referenced by addSource(), getNumDraggingMouseSources(), and timerCallback().
Array<MouseInputSource> sourceArray |
Referenced by addSource(), getDraggingMouseSource(), getMouseSource(), and getOrCreateMouseInputSource().
__pad0__ |
float pressure = MouseInputSource::defaultPressure |
Referenced by isPressureValid(), and MPEKeyboardComponent::setPressure().
float orientation = MouseInputSource::defaultOrientation |
float rotation = MouseInputSource::defaultRotation |
Referenced by isRotationValid().
float tiltX = MouseInputSource::defaultTiltX |
Referenced by isTiltValid().
float tiltY = MouseInputSource::defaultTiltY |
Referenced by isTiltValid().
Point<float> position |
Referenced by Range< ValueType >::contains(), getLastMouseDownPosition(), CodeDocument::Iterator::getPosition(), ARAInputStream::getPosition(), ARAOutputStream::getPosition(), MemoryOutputStream::getPosition(), AnimatedPositionBehaviours::SnapToPageBoundaries::isStopped(), ColourGradient::operator!=(), AnimatedPositionBehaviours::SnapToPageBoundaries::releasedWithVelocity(), and withPositionOffset().
__pad0__ |
PointOrRect pos noexcept |
__pad0__ |
private AsyncUpdater |
std::unique_ptr<ScopedContentSharerInterface> nativeImplementation |
std::shared_ptr<ConcreteScopedContentSharerImpl> self |
__pad0__ |
__pad0__ |
__pad0__ |
__pad0__ |
__pad0__ |
private DeletedAtShutdown |
Array<TopLevelWindow*> windows |
Referenced by addWindow(), checkFocus(), and removeWindow().
__pad0__ |
__pad0__ |