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

141 commits

Author SHA1 Message Date
Anthony Nicholls
c7689793f2 Widgets: call repaint() in colourChanged() callbacks 2023-03-22 14:59:37 +00:00
Anthony Nicholls
5fb78e30ac Component: update docs to reflect what happens when the look-and-feel changes 2023-03-22 14:59:15 +00:00
Anthony Nicholls
cff722a4af GUI Basics: Refactor juce_gui_basics file structure
- Created a new detail namespace
- Moved shared module implementation details into the detail namespace
- Split dependencies so source files only rely on details in the detail namespace
- Removed all code from the juce_gui_basics.cpp file
2023-03-16 08:53:12 +00:00
reuk
9cfbccca8e
Accessibility: Make createAccessibilityHandler public to allow calls from derived classes 2023-02-09 17:54:18 +00:00
James Johnson
098262aa8a Add default return value for Component::exitModalState 2023-01-03 14:21:34 +00:00
Tom Poole
2ec861d99e Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
Tom Poole
dea3fe60e4 Update copyright banners 2022-04-04 12:36:32 +01:00
Tom Poole
87a4ab4a78 Disable the effect of setPaintingIsUnclipped on components with children 2022-03-17 22:06:04 +00:00
Tom Poole
9ccfea9001 Component: Make getApproximateScaleFactorForComponent take a const argument 2022-03-04 10:25:51 +00:00
Attila Szarvas
101a886821 MouseInputSource: Eliminate superfluous drag events caused by pressure change
The bug was triggered on Monterey where a pressure of 1 is reported
while a mouse button is being held down. This caused an extra drag
event being triggered between mouse down and up events, even if no
movement occurred.
2022-02-15 10:53:32 +00:00
ed
461192b355 Add FocusOutline class for indicating Component keyboard focus 2022-01-20 15:46:53 +00:00
ed
bd01175d55 Docs: Update Component docs referencing deprecated setFocusContainer() method 2021-12-01 10:22:19 +00:00
ed
4d350ffcc3 Fix documentation typo 2021-11-19 11:20:16 +00:00
reuk
eca02270ee
Component: Add Point<float> overloads for some common functions 2021-10-27 16:33:37 +01:00
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.
2021-09-29 16:14:00 +01:00
ed
d6fd33b38d Accessibility: Disable accessibility for PopupMenu windows on the desktop when their parent window or target component have accessibility disabled 2021-09-15 14:04:23 +01:00
ed
8d6ba3b54e Accessibility: Use AccessibilityRole::ignored for UI elements that should not be accessible to screen readers but have accessible children 2021-09-07 11:23:17 +01:00
ed
59333870f5 Accessibility: Disable accessibility of child components when calling Component::setAccessible (false); 2021-09-02 08:35:14 +01:00
ed
ddb59d1361 Docs: Fix typo in Component child adding methods 2021-07-28 10:13:10 +01:00
Tom Poole
fe4ba9071b Set the default value of JUCE_MODAL_LOOPS_PERMITTED to 0
See BREAKING-CHANGES.txt for more details.
2021-06-30 13:01:14 +01:00
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.
2021-06-16 11:35:25 +01:00
ed
550127945d Added floating-point implementations for some Component hit-testing methods to improve reliability when dealing with scaled Components 2021-06-08 14:14:22 +01:00
ed
533f68219b Fixed some Doxygen issues 2021-05-11 11:48:52 +01:00
ed
ec990202b1 Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics 2021-05-10 10:53:14 +01:00
ed
9e64736519 Docs: Updated the documentation for Component::modifierKeysChanged() 2021-03-29 09:19:47 +01:00
reuk
45409bb4e6
FileChooser: Hide chooser when it leaves scope on Windows 2021-03-02 10:49:39 +00:00
ed
ad38182530 Added checks for DOXYGEN #define when excluding modal methods in headers 2021-02-05 14:17:19 +00:00
ed
60b6afd517 Added floating-point overrides for some Component area conversion methods 2020-07-08 17:47:10 +01:00
ed
009d685179 Updated all license headers 2020-06-29 08:30:22 +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
a54da0b832 Fixed some more typos 2020-01-07 08:53:23 +00: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
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
jules
974b4a8351 Removed some legacy friend class declarations that are no longer needed with modern compilers 2018-06-13 17:11:37 +01:00
jules
dee78f29f6 Misc cleanups and modernisation 2018-05-11 12:46:30 +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
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
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