示例#1
0
 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);
 }
示例#2
0
 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);
 }
示例#3
0
 void sendMouseDrag (Component& comp, Point<float> screenPos, Time time)
 {
     JUCE_MOUSE_EVENT_DBG ("drag")
     comp.internalMouseDrag (MouseInputSource (this), screenPosToLocalPos (comp, screenPos), time, pressure);
 }
示例#4
0
 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);
 }
示例#6
0
 void sendMouseMove (Component& comp, Point<float> screenPos, Time time)
 {
     JUCE_MOUSE_EVENT_DBG ("move")
     comp.internalMouseMove (MouseInputSource (this), screenPosToLocalPos (comp, screenPos), time);
 }
示例#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);
 }
示例#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);
 }
示例#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);
 }
示例#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);
 }
示例#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);
 }