Go to the documentation of this file.
25 #ifndef JUCE_MOUSEINPUTSOURCE_H_INCLUDED
26 #define JUCE_MOUSEINPUTSOURCE_H_INCLUDED
71 bool canHover()
const;
74 bool hasMouseWheel()
const;
88 bool isDragging()
const;
99 Component* getComponentUnderMouse()
const;
104 void triggerFakeMove()
const;
111 int getNumberOfMultipleClicks() const
noexcept;
122 bool hasMouseMovedSignificantlySincePressed() const
noexcept;
125 bool hasMouseCursor() const
noexcept;
137 void forceMouseCursorUpdate();
140 bool canDoUnboundedMovement() const
noexcept;
159 void enableUnboundedMouseMovement (
bool isEnabled,
bool keepCursorVisibleUntilOffscreen = false) const;
162 bool isUnboundedMouseMovementEnabled() const;
165 void setScreenPosition (
Point<
float> newPosition);
181 static
Point<
float> getCurrentRawMousePosition();
182 static
void setRawMousePosition (
Point<
float>);
188 #endif // JUCE_MOUSEINPUTSOURCE_H_INCLUDED
bool operator==(const var &v1, const var &v2) noexcept
Definition: juce_Variant.cpp:565
#define JUCE_LEAK_DETECTOR(OwnerClass)
Definition: juce_LeakedObjectDetector.h:141
#define JUCE_API
Definition: juce_StandardHeader.h:139
#define noexcept
Definition: juce_CompilerSupport.h:141
Definition: juce_ComponentPeer.h:41
Definition: juce_Component.h:33
Definition: juce_ModifierKeys.h:38
Definition: juce_Time.h:41
Definition: juce_MouseCursor.h:36
Definition: juce_Desktop.h:52
long long int64
Definition: juce_MathsFunctions.h:60
bool operator!=(const var &v1, const var &v2) noexcept
Definition: juce_Variant.cpp:566
Definition: juce_MouseEvent.h:329