void sendMouseWheel (Component& comp, Point<float> screenPos, Time time, const MouseWheelDetails& wheel)
 {
     JUCE_MOUSE_EVENT_DBG ("wheel")
     comp.internalMouseWheel (MouseInputSource (this), screenPosToLocalPos (comp, screenPos), time, wheel);
 }
 void sendMagnifyGesture (Component& comp, Point<float> screenPos, Time time, const float amount)
 {
     JUCE_MOUSE_EVENT_DBG ("magnify")
     comp.internalMagnifyGesture (MouseInputSource (this), screenPosToLocalPos (comp, screenPos), time, amount);
 }
 void sendMouseDrag (Component& comp, Point<float> screenPos, Time time)
 {
     JUCE_MOUSE_EVENT_DBG ("drag")
     comp.internalMouseDrag (MouseInputSource (this), screenPosToLocalPos (comp, screenPos), time, pressure);
 }
 void sendMouseUp (Component& comp, Point<float> screenPos, Time time, const ModifierKeys oldMods)
 {
     JUCE_MOUSE_EVENT_DBG ("up")
     comp.internalMouseUp (MouseInputSource (this), screenPosToLocalPos (comp, screenPos), time, oldMods);
 }
 void sendMouseDown (Component& comp, Point<int> screenPos, Time time)
 {
     JUCE_MOUSE_EVENT_DBG ("down")
     comp.internalMouseDown (MouseInputSource (this), screenPosToLocalPos (comp, screenPos), time);
 }
 void sendMouseMove (Component& comp, Point<float> screenPos, Time time)
 {
     JUCE_MOUSE_EVENT_DBG ("move")
     comp.internalMouseMove (MouseInputSource (this), screenPosToLocalPos (comp, screenPos), time);
 }
Beispiel #7
0
 void sendMouseExit (Component* const comp, Point<int> screenPos, Time time)
 {
     JUCE_MOUSE_EVENT_DBG ("exit")
     comp->internalMouseExit (source, comp->getLocalPoint (nullptr, screenPos), time);
 }
Beispiel #8
0
 void sendMagnifyGesture (Component* const comp, Point<int> screenPos, Time time, const float amount)
 {
     JUCE_MOUSE_EVENT_DBG ("magnify")
     comp->internalMagnifyGesture (source, comp->getLocalPoint (nullptr, screenPos), time, amount);
 }
Beispiel #9
0
 void sendMouseWheel (Component* const comp, Point<int> screenPos, Time time, const MouseWheelDetails& wheel)
 {
     JUCE_MOUSE_EVENT_DBG ("wheel")
     comp->internalMouseWheel (source, comp->getLocalPoint (nullptr, screenPos), time, wheel);
 }
Beispiel #10
0
 void sendMouseUp (Component* const comp, Point<int> screenPos, Time time, const ModifierKeys oldMods)
 {
     JUCE_MOUSE_EVENT_DBG ("up")
     comp->internalMouseUp (source, comp->getLocalPoint (nullptr, screenPos), time, oldMods);
 }
Beispiel #11
0
 void sendMouseEnter (Component* const comp, const Point<int>& screenPos, const Time& time)
 {
     JUCE_MOUSE_EVENT_DBG ("enter")
     comp->internalMouseEnter (source, comp->getLocalPoint (nullptr, screenPos), time);
 }