1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Moved some mouse code out of Desktop class. Made the MouseInputSource class pass-by-value.

This commit is contained in:
jules 2013-09-03 10:44:55 +01:00
parent 380a303adf
commit be1d5253ee
22 changed files with 246 additions and 237 deletions

View file

@ -56,7 +56,7 @@ public:
@param numberOfClicks how many clicks, e.g. a double-click event will be 2, a triple-click will be 3, etc
@param mouseWasDragged whether the mouse has been dragged significantly since the previous mouse-down
*/
MouseEvent (MouseInputSource& source,
MouseEvent (MouseInputSource source,
Point<int> position,
ModifierKeys modifiers,
Component* eventComponent,
@ -126,7 +126,7 @@ public:
const Time mouseDownTime;
/** The source device that generated this event. */
MouseInputSource& source;
MouseInputSource source;
//==============================================================================
/** Returns the x coordinate of the last place that a mouse was pressed.