ed
|
33dd896ab2
|
Ensure that keyboard focus is always given away when components are made invisible
|
4 years ago |
reuk
|
586ab8927d
|
Fix warnings when building in C++20 mode
|
4 years ago |
ed
|
b7e28541ca
|
Replaced deprecated Displays methods
|
4 years ago |
ed
|
1b2c9c154b
|
iOS: Don't set the font smoothing property of the graphics context on iOS so that cached Component images render the same as the default
|
4 years ago |
ed
|
60b6afd517
|
Added floating-point overrides for some Component area conversion methods
|
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 |
reuk
|
4cf66d6522
|
Cleanup: Remove redundant inlines
|
5 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
|
26c9468dc5
|
Deprecated AffineTransform::getScaleFactor() as it was producing incorrect values for transforms containing rotations. Added getDeterminant() method for getting the determinant of the transform
|
5 years ago |
ed
|
621f6cb6a2
|
Guard against NaN errors in Component::internalRepaintUnchecked()
|
5 years ago |
ed
|
dab4741eb3
|
Tidied up a few bits of graphics code with Graphics::ScopedSaveState
|
5 years ago |
ed
|
2539f4d24f
|
DRY-ed some code by adding a static Component::getApproximateScaleFactorForComponent() method
|
6 years ago |
ed
|
3d8acd864a
|
Fixed some pen input source issues
|
6 years ago |
ed
|
5c03d13f0d
|
Revert previous commit and instead call ComponentHelpers::releaseAllCachedImageResources() from Component::removeFromDesktop()
|
6 years ago |
Tom Poole
|
d06a2b8c13
|
Fixed compatibility with GCC 4.8
|
6 years ago |
jules
|
5979288706
|
Added some macros for asserting when functions are called in an unsafe manner outside the message thread.
|
6 years ago |
ed
|
b78e63aa02
|
Moved Displays class out of Desktop and into its own .h/.cpp and deprecated Displays::getDisplayContaining()
|
6 years ago |
jules
|
935d1ff805
|
Added an assertion in Component to prevent accidental component recursion
|
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 |
jules
|
7909af4ecb
|
Added a parameter includeChildren to Component::isMouseButtonDown
|
7 years ago |
Tom Poole
|
ab863a6dc2
|
Replaced all usage of ScopedPointer with std::unique_ptr
|
7 years ago |
ed
|
fa63dc0fbd
|
Use isLongPressOrDrag() when creating MouseEvents in Component
|
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 |
jules
|
1a60fa9765
|
More ScopedPointer/unique_ptr compatibility work
|
7 years ago |
jules
|
48a5fbd333
|
Another batch of ScopedPointer cleanups
|
7 years ago |
jules
|
4fcedf7be5
|
Standardised some lambda syntax
|
7 years ago |
jules
|
e6267afaae
|
Added a base class MarkerList::MarkerListHolder, and used it to remove the getMarkers() method from Component.
|
7 years ago |
jules
|
84e86a26e6
|
Tweaked the Component::setBoundsToFit method to take a rectangle, and tidied up a few things inside Component
|
7 years ago |
jules
|
78791be3c5
|
Deleted some old deprecated methods from Component, and tidied a few things up
|
7 years ago |
ed
|
a9b74e54c7
|
Take any transforms that have been applied to a component into account in the Component::centreWithSize, ::setCentreRelative() and ::setCentrePosition() methods
|
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 |
Tom Poole
|
47ce713d0b
|
Added Component::isPaintingUnclipped
|
7 years ago |
ed
|
2540e8785e
|
Added a componentEnablementChanged method to ComponentListener
|
7 years ago |
ed
|
e8518048b4
|
Fixed a rounding error in Component::isMouseOver
|
7 years ago |
jules
|
2dc9316420
|
Misc ScopedPointer changes to start using reset() and get() rather than assignments and casts (part of an ongoing drift towards more std::unique_ptr compatibility)
|
7 years ago |
jules
|
ffb64487ed
|
When calling repaint() without a MessageManagerLock, it now always asserts
|
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 |
jules
|
50183e5318
|
Bit of tidying up in Component
|
7 years ago |
ed
|
58fe117260
|
Added a extra check in FocusRestorer to check if the last focused Component is showing before giving it keyboard focus
|
7 years ago |
jules
|
4e5f005421
|
Added a method Component::getChildren() to allow them to be iterated with a range-based for loop, and used this in appropriate places around the codebase
|
7 years ago |
jules
|
f183a506ef
|
Workaround for a VS warning
|
8 years ago |
jules
|
8689df5590
|
Fixed a few c++17 warnings
|
8 years ago |
hogliux
|
b5afccc37c
|
Updated file headers and the README with the JUCE 5 license
|
8 years ago |
hogliux
|
411071f3b1
|
Fixed linux mouse jump issue by removing code that was made redundant after the latest linux improvements
|
8 years ago |
hogliux
|
87a895d5a4
|
Added a check to send fake mouse move events only if the current mouse cursor's position could have an effect on mouseEnter/mouseLeve events
|
8 years ago |