Anthony Nicholls
cff722a4af
GUI Basics: Refactor juce_gui_basics file structure
- Created a new detail namespace
- Moved shared module implementation details into the detail namespace
- Split dependencies so source files only rely on details in the detail namespace
- Removed all code from the juce_gui_basics.cpp file
2 years ago
attila
a115c99da4
MouseInputSource: Avoid wrong ComponentPeer association
When the mouse moves from one window to another, the mouseExit event
for the old window can occur after the mouseMove event for the new.
Until this commit this would cause the MouseInputSource to be
associated with the old window, and getComponentUnderMouse() would
incorrectly return a nullptr.
2 years ago
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
reuk
eb6e579f0a
ComponentPeer: Correctly scale drag and drop coordinates to account for global scale
3 years ago
Attila Szarvas
101a886821
MouseInputSource: Eliminate superfluous drag events caused by pressure change
The bug was triggered on Monterey where a pressure of 1 is reported
while a mouse button is being held down. This caused an extra drag
event being triggered between mouse down and up events, even if no
movement occurred.
3 years ago
reuk
eca02270ee
Component: Add Point<float> overloads for some common functions
3 years ago
ed
550127945d
Added floating-point implementations for some Component hit-testing methods to improve reliability when dealing with scaled Components
3 years ago
reuk
394c4fd475
Clang: Fix warnings when building with clang 10
4 years ago
ed
009d685179
Updated all license headers
4 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
Tom Poole
a9a0f6b92f
Enforced more comprehensive const-correctness in the JUCE container classes
6 years ago
ed
b1c4d981da
Fixed an iOS multitouch bug and added MouseInputSource::offscreenMousePos to replace some magic numbers
6 years ago
ed
56302416df
Remove check for touch input in MouseInputSourceInternal::getRawScreenPosition() and instead use the cached mouse position from the native peer impls
6 years ago
jules
7ab4d1708b
Some misc cleanups, mainly around WeakReference usage and rectangles
6 years ago
ed
481221a256
Cleaned up the ModifierKeys class and removed the peer-specific implementations of ModifierKeys::getCurrentModifiersRealtime() and ModifierKeys::updateCurrentModifiers()
7 years ago
ed
7cf8e28fdd
Deprecated MouseInputSource::hasMouseMovedSignificantlySincePressed() and replaced with the more accurate isLongPressOrDrag() and hasMovedSignificantlySincePressed() methods
7 years ago
jules
d0111a4f96
Began phasing out double_Pi and float_Pi in favour of MathConstants::pi. Also added MathConstants::twoPi
7 years ago
ed
7e1ec31df9
Increased the movement tolerance for double-clicks when using a touch input source
7 years ago
ed
5d8d37eb87
Added support for multi-touch drag and drop
7 years ago
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
7 years ago
ed
3947df98a9
Fixed a scaling bug when doing drag auto-repeat
7 years ago
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
7 years ago
tpoole
98cb1011bb
JUCE Demo: Increased the compiler warning level
7 years ago
ed
ca9c8f22d7
Windows: Removed Desktop::clearAllTouchSources() method and cleaned up some Windows touch input code
8 years ago
ed
9d294970d7
Windows: Fixed a bug where multi-touch inputs weren't being cleared correctly
8 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
ed
8ca0bc6791
Fixed call to ComponentPeer::handleMouseEvent() in FakeMouseMoveGenerator. Added isPen() and isMouse() methods to MouseInputSource.
8 years ago
ed
b7b8d5be57
Multiple fixes for touch and pen input on Windows
8 years ago
ed
01aedca76d
Fixed bug where inertial mouse wheel events had screen position (0, 0)
8 years ago
jules
ab3e628f36
Added mouse-up event pressure handling
8 years ago
jules
6fba61fdeb
Allowed mouse-wheel events to be delivered while the mouse button is down
9 years ago
jules
a3426aae10
Added support for iOS force-touch
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
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.
10 years ago
jules
67ab6a562c
Fix for an edge-case where dragging within a triple-click would trigger a false double-click
10 years ago
jules
7dac51859c
Fixes for unbounded mouse behaviour on scaled displays
10 years ago
jules
2f1ef234ce
Tightened up a few places where numeric conversion warnings could happen.
11 years ago
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>.
11 years ago
jules
40ad479b96
Couple of minor cleanups.
11 years ago
jules
ef1f2e6094
Avoided some repainting when moving scaled windows (win32). Also removed the fake drop-shadowing in newer versions of
11 years ago
jules
7bf1da5e17
Added MouseInputSource::isUnboundedMouseMovementEnabled(). Tweaks to mouse cursor snap-back in Sliders.
11 years ago
jules
be1d5253ee
Moved some mouse code out of Desktop class. Made the MouseInputSource class pass-by-value.
11 years ago
jules
39c44c12ed
Added a Component::getDesktopScaleFactor() method which can be overridden to force a scale for a particular window.
11 years ago
jules
fc21a145cf
Fix for broken screen coord conversion in plugin windows.
11 years ago
jules
b91983c480
Work towards supporting a global scaling factor: Desktop::setGlobalScaleFactor().
11 years ago
jules
155859f86b
Internal refactoring.
12 years ago
jules
c75a7300f5
Added some 'override' modifiers to overridden methods.
12 years ago