Tom Poole
fe4ba9071b
Set the default value of JUCE_MODAL_LOOPS_PERMITTED to 0
See BREAKING-CHANGES.txt for more details.
3 years ago
reuk
5db072b483
Component: Avoid calling native APIs from background threads
When rendering with OpenGL, the paint function is called from a
background thread. If we call `isMouseOver` from the paint function, we
may end up calling native functions via the ComponentPeer, which causes
threading warnings on macOS.
4 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
ed
533f68219b
Fixed some Doxygen issues
4 years ago
ed
ec990202b1
Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics
4 years ago
ed
9e64736519
Docs: Updated the documentation for Component::modifierKeysChanged()
4 years ago
reuk
45409bb4e6
FileChooser: Hide chooser when it leaves scope on Windows
4 years ago
ed
ad38182530
Added checks for DOXYGEN #define when excluding modal methods in headers
4 years ago
ed
60b6afd517
Added floating-point overrides for some Component area conversion methods
4 years ago
ed
009d685179
Updated all license headers
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
a54da0b832
Fixed some more typos
5 years ago
Tom Poole
fefeba63b8
Fixed a documentation typo
6 years ago
ed
2539f4d24f
DRY-ed some code by adding a static Component::getApproximateScaleFactorForComponent() method
6 years ago
ed
3c6b4f1e95
Minor documentation update for the Viewport::setScrollOnDragEnabled() method
6 years ago
Tom Poole
e8c0fe09e6
A minor documentation improvement
6 years ago
ed
a234721110
Added various clang-tidy modernize-* fixes
6 years ago
jules
da2b10ada6
Got rid of some methods which had inexplicably ended up marked both 'virtual' and 'override'.
6 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
6 years ago
jules
974b4a8351
Removed some legacy friend class declarations that are no longer needed with modern compilers
7 years ago
jules
dee78f29f6
Misc cleanups and modernisation
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
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
ed
ac44306a4c
Fixed a documentation typo
7 years ago
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
7 years ago
ed
728f9b4664
Fixed a typo in the comment above Component::createFocusTraverser()
7 years ago
jules
3300e71e17
Removal of RelativeCoordinate classes from the Drawables
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
Tom Poole
dca1ef3c3a
Added some documentation to addAndMakeVisible
7 years ago
jules
78791be3c5
Deleted some old deprecated methods from Component, and tidied a few things up
7 years ago
jules
f85d706131
Some minor formatting and comment fixes
7 years ago
Tom Poole
47ce713d0b
Added Component::isPaintingUnclipped
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
7ea9874a01
Changed Component to hold a WeakReference to its LookAndFeel object, so that if you accidentally delete a LookAndFeel that's being used, it won't be a dangling pointer (but you may see some unexpected drawing behaviour!)
7 years ago
jules
dd4230586f
Noticed that we still had some template whitespace workarounds for older compilers, so tidied them up
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
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
8 years ago
jules
61f4333e73
Marked some RelativeCoordinate functions in Component as deprecated, and updated some old code that used them.
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
jules
d36156c620
Removed some extraneous semicolons
8 years ago
ed
0747a7067b
Fixed bug with multi-touch in Viewport when drag is blocked and made some methods const
8 years ago
ed
1e7a933543
Added viewportIgnoreDragFlag to Component to indicate that mouse drag events should not move the Component's parent Viewport with drag-to-scroll functionality enabled.
8 years ago
jules
e253b8bea1
Added some notes and an assertion to Component::grabKeyboardFocus(), to help people avoid a common mistake, which is trying to grab the focus of not-yet-visible components.
8 years ago