mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Removed warning.
This commit is contained in:
parent
9b3501bfe4
commit
2816b2883a
2 changed files with 15 additions and 15 deletions
|
|
@ -23,26 +23,26 @@
|
|||
==============================================================================
|
||||
*/
|
||||
|
||||
MouseEvent::MouseEvent (MouseInputSource& source_,
|
||||
MouseEvent::MouseEvent (MouseInputSource& inputSource,
|
||||
const Point<int>& position,
|
||||
const ModifierKeys& mods_,
|
||||
Component* const eventComponent_,
|
||||
const ModifierKeys& modKeys,
|
||||
Component* const eventComp,
|
||||
Component* const originator,
|
||||
const Time& eventTime_,
|
||||
const Point<int> mouseDownPos_,
|
||||
const Time& mouseDownTime_,
|
||||
const int numberOfClicks_,
|
||||
const Time& time,
|
||||
const Point<int>& downPos,
|
||||
const Time& downTime,
|
||||
const int numClicks,
|
||||
const bool mouseWasDragged) noexcept
|
||||
: x (position.x),
|
||||
y (position.y),
|
||||
mods (mods_),
|
||||
eventComponent (eventComponent_),
|
||||
mods (modKeys),
|
||||
eventComponent (eventComp),
|
||||
originalComponent (originator),
|
||||
eventTime (eventTime_),
|
||||
source (source_),
|
||||
mouseDownPos (mouseDownPos_),
|
||||
mouseDownTime (mouseDownTime_),
|
||||
numberOfClicks ((uint8) numberOfClicks_),
|
||||
eventTime (time),
|
||||
mouseDownTime (downTime),
|
||||
source (inputSource),
|
||||
mouseDownPos (downPos),
|
||||
numberOfClicks ((uint8) numClicks),
|
||||
wasMovedSinceMouseDown ((uint8) (mouseWasDragged ? 1 : 0))
|
||||
{
|
||||
}
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ public:
|
|||
Component* eventComponent,
|
||||
Component* originator,
|
||||
const Time& eventTime,
|
||||
const Point<int> mouseDownPos,
|
||||
const Point<int>& mouseDownPos,
|
||||
const Time& mouseDownTime,
|
||||
int numberOfClicks,
|
||||
bool mouseWasDragged) noexcept;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue