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

170 commits

Author SHA1 Message Date
ed
891d86fe6b Don't trigger a fake mouse move from Component::sendFakeMouseMove() if the component passes through all mouse events 2021-01-28 11:26:41 +00:00
ed
33dd896ab2 Ensure that keyboard focus is always given away when components are made invisible 2021-01-22 10:44:25 +00:00
reuk
586ab8927d Fix warnings when building in C++20 mode 2021-01-15 13:33:40 +00:00
ed
b7e28541ca Replaced deprecated Displays methods 2020-10-27 12:38:59 +00:00
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 2020-07-20 17:17:54 +01:00
ed
60b6afd517 Added floating-point overrides for some Component area conversion methods 2020-07-08 17:47:10 +01:00
reuk
394c4fd475 Clang: Fix warnings when building with clang 10 2020-07-01 10:00:43 +01:00
ed
009d685179 Updated all license headers 2020-06-29 08:30:22 +01:00
reuk
4cf66d6522 Cleanup: Remove redundant inlines 2020-04-27 10:22:06 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
reuk
327f817b9b Copyrights: Update commercial/gpl headers to be gpl-only 2020-04-09 15:22:56 +01:00
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 2020-03-30 18:34:19 +01:00
ed
621f6cb6a2 Guard against NaN errors in Component::internalRepaintUnchecked() 2019-11-06 12:22:22 +00:00
ed
dab4741eb3 Tidied up a few bits of graphics code with Graphics::ScopedSaveState 2019-10-21 15:28:02 +01:00
ed
2539f4d24f DRY-ed some code by adding a static Component::getApproximateScaleFactorForComponent() method 2019-04-29 12:55:39 +01:00
ed
3d8acd864a Fixed some pen input source issues 2019-03-22 10:47:54 +00:00
ed
5c03d13f0d Revert previous commit and instead call ComponentHelpers::releaseAllCachedImageResources() from Component::removeFromDesktop() 2018-12-14 12:13:39 +00:00
Tom Poole
d06a2b8c13 Fixed compatibility with GCC 4.8 2018-12-06 10:45:23 +00:00
jules
5979288706 Added some macros for asserting when functions are called in an unsafe manner outside the message thread. 2018-10-16 17:39:54 +01:00
ed
b78e63aa02 Moved Displays class out of Desktop and into its own .h/.cpp and deprecated Displays::getDisplayContaining() 2018-08-10 16:37:52 +01:00
jules
935d1ff805 Added an assertion in Component to prevent accidental component recursion 2018-07-09 16:02:51 +01: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
jules
7909af4ecb Added a parameter includeChildren to Component::isMouseButtonDown 2018-05-08 11:55:20 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
ed
fa63dc0fbd Use isLongPressOrDrag() when creating MouseEvents in Component 2018-04-10 10:21:41 +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
hogliux
266beb22b2 Mouse: Added MouseListener::mouseMagnify and cleaned up some mouse event handler code 2018-03-19 13:52:37 +00:00
jules
1a60fa9765 More ScopedPointer/unique_ptr compatibility work 2018-01-10 17:35:08 +00:00
jules
48a5fbd333 Another batch of ScopedPointer cleanups 2018-01-10 14:49:57 +00:00
jules
4fcedf7be5 Standardised some lambda syntax 2018-01-08 10:28:41 +00:00
jules
e6267afaae Added a base class MarkerList::MarkerListHolder, and used it to remove the getMarkers() method from Component. 2017-12-22 13:05:11 +00:00
jules
84e86a26e6 Tweaked the Component::setBoundsToFit method to take a rectangle, and tidied up a few things inside Component 2017-12-22 12:03:23 +00:00
jules
78791be3c5 Deleted some old deprecated methods from Component, and tidied a few things up 2017-12-20 15:30:40 +00:00
ed
a9b74e54c7 Take any transforms that have been applied to a component into account in the Component::centreWithSize, ::setCentreRelative() and ::setCentrePosition() methods 2017-12-07 16:18:35 +00:00
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! 2017-11-28 16:18:40 +00:00
Tom Poole
47ce713d0b Added Component::isPaintingUnclipped 2017-11-27 13:41:45 +00:00
ed
2540e8785e Added a componentEnablementChanged method to ComponentListener 2017-11-20 11:23:03 +00:00
ed
e8518048b4 Fixed a rounding error in Component::isMouseOver 2017-11-17 16:22:48 +00:00
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) 2017-11-01 17:41:06 +00:00
jules
ffb64487ed When calling repaint() without a MessageManagerLock, it now always asserts 2017-10-16 10:13:19 +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
jules
50183e5318 Bit of tidying up in Component 2017-08-01 10:08:09 +01:00
ed
58fe117260 Added a extra check in FocusRestorer to check if the last focused Component is showing before giving it keyboard focus 2017-07-26 15:34:19 +01:00
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 2017-07-19 12:08:47 +01:00
jules
f183a506ef Workaround for a VS warning 2017-05-02 17:04:46 +01:00
jules
8689df5590 Fixed a few c++17 warnings 2017-05-02 10:18:33 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
hogliux
411071f3b1 Fixed linux mouse jump issue by removing code that was made redundant after the latest linux improvements 2017-04-13 14:36:25 +01:00
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 2017-04-13 12:58:33 +01:00