reuk
9199fa3c51
Warnings: Avoid triggering missing-prototypes warnings on macOS/iOS
3 years ago
Tom Poole
f1fecfdc88
Add some missing Doxygen tags
3 years ago
ed
90eb878d16
Accessibility: Make createAccessibilityHandler() private in Component subclasses
3 years ago
ed
8d6ba3b54e
Accessibility: Use AccessibilityRole::ignored for UI elements that should not be accessible to screen readers but have accessible children
3 years ago
ed
f5eee033ba
NativeMessageBox: Return correctly mapped value when shown modally
3 years ago
ed
6d40b627ba
AlertWindow: Fix incorrect return value when using modal native ok/cancel and yes/no/cancel dialogs
3 years ago
ed
2db1bbdc0f
Add missing AlertWindow::showNativeDialogBox() implementation that was removed in 551d7b9c
3 years ago
ed
551d7b9c5b
Add MessageBoxOptions class for specifying a set of AlertWindow and NativeMessageBox options
- Add AlertWindow::show() and showAsync() methods that take a MessageBoxOptions argument
- Add NativeMessageBox::show() and showAsync() methods that take a MessageBoxOptions argument
- Update the DialogsDemo to demonstrate the new methods
- Deprecate AlertWindow::showNativeDialogBox() in favour of the NativeMessageBox methods
- Pass button strings specified in MesssageBoxOptions to native dialog boxes correctly
- Use modern TaskDialog on Windows for the native dialog box where available
3 years ago
ed
422c8f8114
Accessibility: Disable accessibility for TooltipWindows to prevent them from interfering with focus
3 years ago
Tom Poole
845631c762
Linux: Fix bug restoring window positions from saved state
3 years ago
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
1ee106d730
PopupMenu: Avoid dismissing PopupMenus in bridged plugin editors
When bridging 32-bit/64-bit plugins on Windows, the plugin is hosted in
an auxilliary process, and the plugin's editor is embedded into an HWND
owned by a different process (the plugin host).
Previously, the `isForegroundProcess` check would fail for bridged
plugins, because the foreground window may belong to the DAW, rather
than to the auxilliary hosting process.
This patch adds an additional check, to find whether the same process
owns both the foreground window, and the window which embeds the
PopupMenu's target component. In this case, we avoid immediately
dismissing the PopupMenu.
4 years ago
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
4 years ago
reuk
bc796b1636
TooltipWindow: Display tooltips at same scale as hovered components
4 years ago
ed
ec990202b1
Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics
4 years ago
Tom Poole
79fbde7099
Added preliminary support for FreeBSD
4 years ago
reuk
0f6f2728f2
AlertWindow: Scale window according to scale of associatedComponent
For DialogWindow, uses the scale of componentToCentreAround.
This allows drawing dialog windows at the expected scale in plugins.
An associated component must be supplied in order for this to work.
4 years ago
ed
fd83e0f51e
Removed Displays const_casts from ComponentPeer implementations
4 years ago
ed
ad38182530
Added checks for DOXYGEN #define when excluding modal methods in headers
4 years ago
ed
091ab8a3a3
Made the windowIgnoresKeyPresses ComponentPeer style flag documentation a bit clearer
4 years ago
ed
b7e28541ca
Replaced deprecated Displays methods
4 years ago
ed
268ac3d5c8
Modernised some code in CallOutBox and added some logic to scale the window with its content component's transform
4 years ago
ed
60b6afd517
Added floating-point overrides for some Component area conversion methods
4 years ago
reuk
013fd5e5d6
juce6: Update some referenes to JUCE 5 in docstrings
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
39b5c22a29
GUI: Ensure components refresh correctly when their look and feel changes
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
3c9fe89636
Added a method for changing the corner size of a CallOutBox
5 years ago
ed
8de98f5a82
Fixed a bug causing duplicate TooltipWindows to be shown when multiple plug-in windows were open
6 years ago
ed
af1cc0c70f
Minor documentation fixes
6 years ago
ed
a234721110
Added various clang-tidy modernize-* fixes
6 years ago
ed
6f52fc5758
Reverted 876aaf4
which was causing TooltipWindows constructed with a parent component not in their parent hierarchy to not be displayed
6 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
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
jules
6fda0bffca
Fixed some stray zeros that were still being passed as null pointers
6 years ago
ed
de28787c25
Don't cancel ThreadWithProgressWindow when it isn't the foremost modal component to allow multiple windows
6 years ago
Tom Poole
493591a7ef
Cleaned up some doc comments
6 years ago
jules
c6d1d2e483
Changed a stray 0 to a nullptr
6 years ago
ed
e2825dc933
Add ComponentPeer::ScaleFactorListener
6 years ago
ed
b78e63aa02
Moved Displays class out of Desktop and into its own .h/.cpp and deprecated Displays::getDisplayContaining()
6 years ago
Tom Poole
988d290a7a
A minor documentation update
6 years ago
jules
974b4a8351
Removed some legacy friend class declarations that are no longer needed with modern compilers
7 years ago
hogliux
3e327a5390
Ensured that any top-level component transforms are not applied twice
7 years ago
hogliux
876aaf49e7
Allow multiple TooltipWindows as long as they do not share the same parent component
7 years ago
ed
6b8b0a8c8f
Removed a newline between a jassert and its associated comment
7 years ago
ed
481221a256
Cleaned up the ModifierKeys class and removed the peer-specific implementations of ModifierKeys::getCurrentModifiersRealtime() and ModifierKeys::updateCurrentModifiers()
7 years ago