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

260 commits

Author SHA1 Message Date
Tom Poole
16dd26649a Fixed some GCC compiler warnings and removed deprecated functions 2019-06-04 16:48:44 +01:00
Tom Poole
fefeba63b8 Fixed a documentation typo 2019-05-10 09:44:15 +01:00
ed
2539f4d24f DRY-ed some code by adding a static Component::getApproximateScaleFactorForComponent() method 2019-04-29 12:55:39 +01:00
ed
a4f0b179a3 Added a check for an empty lambda in LambdaCallback::modalStateFinished() 2019-04-29 10:24:56 +01:00
ed
a585005dd3 Updated the ModalCallbackFunction docs to correctly reflect the Component::enterModalState() parameters 2019-03-26 09:04:24 +00:00
ed
3d8acd864a Fixed some pen input source issues 2019-03-22 10:47:54 +00:00
ed
3c6b4f1e95 Minor documentation update for the Viewport::setScrollOnDragEnabled() method 2019-02-18 11:22:16 +00:00
Tom Poole
e8c0fe09e6 A minor documentation improvement 2019-02-18 11:00:35 +00:00
ed
a234721110 Added various clang-tidy modernize-* fixes 2019-01-31 15:15:31 +00:00
jules
da2b10ada6 Got rid of some methods which had inexplicably ended up marked both 'virtual' and 'override'. 2019-01-18 09:09:06 +00:00
jules
cadac817c6 Enabled some more warning flags in Xcode, and fixed the problems they caused 2019-01-11 09:52:10 +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
jules
974b4a8351 Removed some legacy friend class declarations that are no longer needed with modern compilers 2018-06-13 17:11:37 +01:00
hogliux
103ddb6019 Added missing JUCE_API export attribute to ModalCallbackFunctiojn 2018-06-07 08:48:33 +01:00
jules
dee78f29f6 Misc cleanups and modernisation 2018-05-11 12:46:30 +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
ed
cdbc28c18b Add documentation tags 2018-03-15 12:10:32 +00:00
ed
ac44306a4c Fixed a documentation typo 2018-02-20 15:53:56 +00:00
jules
8d09eaadb6 Removed some defunct code from the C++1 feature detection macros, and simplified code which no longer needs to test for feature availability 2018-01-11 09:08:51 +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
ed
728f9b4664 Fixed a typo in the comment above Component::createFocusTraverser() 2018-01-08 08:48:35 +00:00
jules
3300e71e17 Removal of RelativeCoordinate classes from the Drawables 2018-01-03 11:13:14 +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
Tom Poole
dca1ef3c3a Added some documentation to addAndMakeVisible 2017-12-21 14:39:02 +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
Tom Poole
cff37f5b6a Fixed some const violation errors 2017-12-19 12:44:24 +00:00
jules
58a99ff139 Dragged the singleton macros into the 21st century.. Cleaned up their implementation and gave them new upper-case names to match juce official style. The old names are still defined to avoid breaking old code, but please update before they get deprecated! 2017-12-12 16:24: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
Noah Dayan
a0db644e22 Fix Doxygen bug with Singleton macros 2017-12-06 11:48:47 +00:00
jules
f85d706131 Some minor formatting and comment fixes 2017-11-28 17:46:15 +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
jules
82d160150c Bit of tidying up in ModalComponentManager 2017-11-28 15:32:08 +00:00
jules
29ca9a59cf Used lambdas to simplify some ModalCallbackFunction methods 2017-11-28 15:00:24 +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