reuk
82df66100c
MouseCursor: Allow arbitrarily-sized cursors on Windows
3 years ago
reuk
03428561ed
ScaledImage: Use in a few more places
3 years ago
reuk
34fdea0708
DragAndDropContainer: Allow custom scaling
3 years ago
reuk
eca02270ee
Component: Add Point<float> overloads for some common functions
3 years ago
reuk
fe4515adb6
MouseCursor: Refactor platform-specific MouseCursor internals
This new factoring is a bit more typesafe, as it avoids casting
internals to void*.
It also allows cursors to scale appropriately on high resolution
displays on Windows.
3 years ago
reuk
5c50ee4f94
MouseCursor: Simplify implementation using shared_ptr instead of manual refcounting
3 years ago
ed
b9542ccc4c
Update code to use C++14 [[deprecated]] attribute
This commit removes the various compiler-specific JUCE_DEPRECATED macros and replaces them with C++14's deprecated attribute. It also removes the JUCE_CATCH_DEPRECATED_CODE_MISUSE flag as we can rely on the override specifier catching usage of these old virtual methods, and tidies up the DOXYGEN preprocessor checks as they were inconsistent across the codebase.
3 years ago
Attila Szarvas
823bfb0c32
DragAndDropContainer: fix positioning when source Component is transformed
3 years ago
ed
550127945d
Added floating-point implementations for some Component hit-testing methods to improve reliability when dealing with scaled Components
4 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
ed
a313357d39
Update DragAndDropTarget::SourceDetails::localPosition before calling DragAndDropContainer::dragOperationStarted()
5 years ago
ed
a54da0b832
Fixed some more typos
5 years ago
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
Tom Poole
a9a0f6b92f
Enforced more comprehensive const-correctness in the JUCE container classes
6 years ago
ed
46a97e1f2c
Linux: Recreate mouse cursors when showing them on a different display to the one that they were originally created on
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
ed
a234721110
Added various clang-tidy modernize-* fixes
6 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
6 years ago
jules
df5be847c3
Removed a redundant method and did some minor tidying
6 years ago
Tom Poole
a3219c7fc6
Linux: Fixed a DragAndDrop issue between different containers
6 years ago
Tom Poole
e763ac3de2
Fixed a bug when performing a DragAndDrop across windows
6 years ago
Tom Poole
9dde83e662
Fixed a z-order bug when DragAndDrop-ing between plug-in windows
6 years ago
ed
4280b51d09
Made the DragAndDropContainer::performExternalDragDropOfFiles() and ::performExternalDragDropOfText() methods asynchronous on Windows so that behaviour is consistent across all platforms and updated the documentation to reflect this
6 years ago
Tom Poole
6cff481c6a
Fixed some gcc 8 compiler warnings
6 years ago
jules
7ab4d1708b
Some misc cleanups, mainly around WeakReference usage and rectangles
6 years ago
jules
974b4a8351
Removed some legacy friend class declarations that are no longer needed with modern compilers
7 years ago
jules
ea43a1f57d
Provided a public field MouseEvent::mouseDownPosition, to provide a floating point version of the mouse-down pos
7 years ago
jules
dee78f29f6
Misc cleanups and modernisation
7 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
5fdfe3ceda
Clarified the documentation of MouseEvent::mouseWasDraggedSinceMouseDown()
7 years ago
ed
7cf8e28fdd
Deprecated MouseInputSource::hasMouseMovedSignificantlySincePressed() and replaced with the more accurate isLongPressOrDrag() and hasMovedSignificantlySincePressed() methods
7 years ago
hogliux
266beb22b2
Mouse: Added MouseListener::mouseMagnify and cleaned up some mouse event handler code
7 years ago
ed
cdbc28c18b
Add documentation tags
7 years ago
jules
4fcedf7be5
Standardised some lambda syntax
7 years ago
Tom Poole
cc67e26658
Fixed a typo in SelectedItemSet
7 years ago
Tom Poole
cff37f5b6a
Fixed some const violation errors
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
jules
f85d706131
Some minor formatting and comment fixes
7 years ago
jules
a586966c65
Added lambda callback methods to ListenerList. Its old method-invocation callbacks were refactored to use variadic templates instead of the old awful macros they used in the past, but please move your code to use the new lambda functions, as the one stuff will eventually be deprecated!
7 years ago
ed
7e1ec31df9
Increased the movement tolerance for double-clicks when using a touch input source
7 years ago
ed
1356ab1819
Fixed an issue in the last commit where an assertion would be triggered when not explicitly passing the inputSourceCausingDrag parameter to DragAndDropContainer::startDragging()
7 years ago
ed
112f1af3e8
Fixed a bug where multiple itemDropped() callbacks were being triggered when using drag and drop
7 years ago
ed
3ed0e05c9e
Fixed a bug when using drag and drop on devices with both mouse and touch inputs
7 years ago
jules
eece581e73
Added an assertion if you try to create a MouseCursor with a hotspot that's outside the image bounds
7 years ago
jules
970eda679e
Added 'final' keyword to a lot of classes from which you really shouldn't be inheriting!
7 years ago