1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00
Commit graph

59 commits

Author SHA1 Message Date
ed
b1c4d981da Fixed an iOS multitouch bug and added MouseInputSource::offscreenMousePos to replace some magic numbers 2019-03-26 11:40:58 +00:00
ed
56302416df Remove check for touch input in MouseInputSourceInternal::getRawScreenPosition() and instead use the cached mouse position from the native peer impls 2019-03-12 16:45:50 +00:00
jules
7ab4d1708b Some misc cleanups, mainly around WeakReference usage and rectangles 2018-07-09 16:00:45 +01:00
ed
481221a256 Cleaned up the ModifierKeys class and removed the peer-specific implementations of ModifierKeys::getCurrentModifiersRealtime() and ModifierKeys::updateCurrentModifiers() 2018-05-09 10:04:27 +01:00
ed
7cf8e28fdd Deprecated MouseInputSource::hasMouseMovedSignificantlySincePressed() and replaced with the more accurate isLongPressOrDrag() and hasMovedSignificantlySincePressed() methods 2018-04-10 10:14:51 +01:00
jules
d0111a4f96 Began phasing out double_Pi and float_Pi in favour of MathConstants::pi. Also added MathConstants::twoPi 2017-12-06 11:16:22 +00:00
ed
7e1ec31df9 Increased the movement tolerance for double-clicks when using a touch input source 2017-11-20 10:45:36 +00:00
ed
5d8d37eb87 Added support for multi-touch drag and drop 2017-10-04 15:52:31 +01:00
jules
eda613c6db Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools 2017-09-08 08:59:55 +01:00
ed
3947df98a9 Fixed a scaling bug when doing drag auto-repeat 2017-08-07 16:41:25 +01:00
jules
99c5843c3f Worked around a situation where mouse-drag auto-repeat can create a message-queue traffic jam on windows. Also tidied up inside MouseInputSource 2017-07-26 16:19:01 +01:00
tpoole
98cb1011bb JUCE Demo: Increased the compiler warning level 2017-07-18 13:09:03 +01:00
ed
ca9c8f22d7 Windows: Removed Desktop::clearAllTouchSources() method and cleaned up some Windows touch input code 2017-06-15 17:20:55 +01:00
ed
9d294970d7 Windows: Fixed a bug where multi-touch inputs weren't being cleared correctly 2017-06-14 12:11:12 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
ed
8ca0bc6791 Fixed call to ComponentPeer::handleMouseEvent() in FakeMouseMoveGenerator. Added isPen() and isMouse() methods to MouseInputSource. 2017-03-16 08:53:46 +00:00
ed
b7b8d5be57 Multiple fixes for touch and pen input on Windows 2017-03-15 17:16:04 +00:00
ed
01aedca76d Fixed bug where inertial mouse wheel events had screen position (0, 0) 2017-02-13 12:12:38 +00:00
jules
ab3e628f36 Added mouse-up event pressure handling 2016-07-08 12:33:58 +01:00
jules
6fba61fdeb Allowed mouse-wheel events to be delivered while the mouse button is down 2016-02-22 10:54:20 +00:00
jules
a3426aae10 Added support for iOS force-touch 2015-11-02 11:51:16 +00:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
jules
9b79610cb0 Added a flag MouseWheelEvent::isInertial (currently only implemented for OSX 10.7 or later), and used this to replace some clunky behaviour in the Viewport class that was there to avoid inertial wheel movements triggering nested scrollable components. 2015-06-22 20:28:15 +01:00
jules
67ab6a562c Fix for an edge-case where dragging within a triple-click would trigger a false double-click 2015-05-11 11:22:39 +01:00
jules
7dac51859c Fixes for unbounded mouse behaviour on scaled displays 2014-07-31 11:18:38 +01:00
jules
2f1ef234ce Tightened up a few places where numeric conversion warnings could happen. 2014-07-10 18:57:24 +01:00
jules
6c61dbb68e Refactored the internal mouse-handling code to use floating point coords. This shouldn't affect much user code, but a few methods in MouseInputSource have now changed to use Point<float> rather than Point<int>. 2014-06-14 13:06:53 +01:00
jules
40ad479b96 Couple of minor cleanups. 2014-04-30 10:10:35 +01:00
jules
ef1f2e6094 Avoided some repainting when moving scaled windows (win32). Also removed the fake drop-shadowing in newer versions of 2013-10-17 20:50:17 +01:00
jules
7bf1da5e17 Added MouseInputSource::isUnboundedMouseMovementEnabled(). Tweaks to mouse cursor snap-back in Sliders. 2013-09-09 12:29:06 +01:00
jules
be1d5253ee Moved some mouse code out of Desktop class. Made the MouseInputSource class pass-by-value. 2013-09-03 10:44:55 +01:00
jules
39c44c12ed Added a Component::getDesktopScaleFactor() method which can be overridden to force a scale for a particular window. 2013-08-21 19:02:50 +01:00
jules
fc21a145cf Fix for broken screen coord conversion in plugin windows. 2013-07-29 16:31:03 +01:00
jules
b91983c480 Work towards supporting a global scaling factor: Desktop::setGlobalScaleFactor(). 2013-07-26 17:35:33 +01:00
jules
155859f86b Internal refactoring. 2013-07-03 18:39:18 +01:00
jules
c75a7300f5 Added some 'override' modifiers to overridden methods. 2013-06-23 23:09:52 +01:00
jules
03c2801f3f Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3 2013-06-13 13:17:12 +01:00
jules
c7506df13f Changed some pass-by-references to pass-by-value to improve compiler optimisation. 2013-05-22 23:05:53 -06:00
jules
e9d160b545 Fixed a problem where modal loops could stop a mouse-up event. 2013-04-19 16:59:49 +01:00
jules
b26cc92546 Fixes for Windows 8 DPI awareness, Windows GL window touch events, and some GL compatibility tweaks. 2013-04-07 19:28:52 +01:00
jules
7bc0cf13b1 Added method Component::mouseMagnify(), to respond to pinch-to-zoom gestures. Supported in OSX and (untested) Windows. 2013-04-01 20:12:51 +01:00
jules
071267c252 Avoid double-clicks being triggered if they occurred in different windows. 2013-01-19 22:20:28 +00:00
jules
0ceeb573d8 Minor changes to avoid pedantic compiler warnings. 2012-12-04 21:39:15 +00:00
jules
89d5e19fca misc cleanups. 2012-10-18 09:50:10 +01:00
jules
3578465cba Small change for DLL build. 2012-09-27 10:00:55 +01:00
jules
391e99443e Added a method Desktop::getMouseWheelMoveCounter(), and made the existing getMouseButtonClickCounter() method non-static. 2012-07-15 13:59:13 +01:00
jules
5a69cc6ce2 Internal tidying-up. 2012-07-13 19:31:00 +01:00
jules
df729be74a Cleaned-up class inheritance visibilities and encapsulation for some internal classes. 2012-07-12 14:10:46 +01:00
jules
4233f603db More MouseInputSource tweaks. 2012-07-05 11:29:03 +01:00
jules
705de64237 Fix for MouseInputSource. 2012-07-03 14:38:37 +01:00