Anthony Nicholls
02eb66ee7a
ProgressBar: Add style parameter
1 year ago
reuk
53bfd5b16d
WindowUtils: Make areThereAnyAlwaysOnTopWindows() public
2 years ago
reuk
ad094cd883
AlertWindow: Fix result codes when displaying native dialogs through the AlertWindow APIs
2 years ago
Oliver James
d7f1e59422
AlertWindow: Add 'getButton' method
2 years ago
reuk
9d1a6a3b28
ContentSharer: Update interface to return safer ScopedMessageBox instances
2 years ago
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
2 years ago
reuk
882c2aa01d
AlertWindow: Allow parent component to be specified
2 years ago
reuk
79ed81c24a
ScopedMessageBox: Add new helper type to bound alert window lifetimes
The biggest new feature in this commit is the addition of
NativeMessageBox::scopedAsync and AlertWindow::scopedAsync, both of
which return an instance of ScopedMessageBox that will hide the message
box in its destructor.
The code for displaying modal dialogs on Windows has also been updated.
Now, the dialog itself is run from a new thread with its own message
loop. This means that when the dialog is dismissed, the background
thread can be joined safely. In plugins, this means that there's no
danger of the plugin view being destroyed from within the message box
runloop, for example.
2 years ago
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
ed
274ce967e4
AlertWindow: Prevent accessible label component from intercepting mouse clicks
3 years ago
ed
49db3ce12e
AlertWindow: Make accessible label component colours fully transparent to prevent it from drawing over custom L&Fs
3 years ago
reuk
9199fa3c51
Warnings: Avoid triggering missing-prototypes warnings on macOS/iOS
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
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
reuk
394c4fd475
Clang: Fix warnings when building with clang 10
4 years ago
ed
009d685179
Updated all license headers
4 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
jules
c6d1d2e483
Changed a stray 0 to a nullptr
6 years ago
ed
d1ed072622
Ensure that pressing the escape key always dismisses an AlertWindow
7 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
Lukasz Kozakiewicz
c8b9bc79ba
AlertWindow: ensure a native keyboard is hidden when alert window gets dismissed.
7 years ago
Noah Dayan
e690350df3
Use lambda callbacks instead of listeners with Slider, Button, Label, ComboBox and TextEditor classes
7 years ago
jules
c42719c2eb
Some internal modernisation in windowing classes
7 years ago
hogliux
1291f1a06b
Reverted commit 8483aa4
as the same functionality already existed in JUCE with ModalCallbackFunction. Improved the documentation in NativeMessageBox to mention that class.
7 years ago
hogliux
ed8270fcda
Fixed an extra semicolon in the previous commit
7 years ago
hogliux
8483aa4aea
Added a new method NativeMessageBox::showMessageBox which asynchronously opens a native dialog box and calls a C++ lambda when dismissed
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
hogliux
d59ec0ceef
AlertWindow: Fixed an issue with the AlertWindow's text block having incorrect colours
7 years ago
hogliux
beb905df7a
AlertWindow: Fixed an issue with the AlertWindow's text block having incorrect colours
7 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
jules
8ed41ed14b
Fixed some whitespace style and cleaned up some code using C++11
8 years ago
hogliux
ee373af944
Added AlertWindow LookAndFeel methods to offer more control on button widths
8 years ago
hogliux
1c2d1479b4
Added LookAndFeel getAlertWindowButtonWidth method to override the width of alert buttons
8 years ago
ed
675f5943a1
fixed silly typo
8 years ago
ed
f0a00bfe4d
AlertWindow::show() only sets window to always on top if there are other always on top windows
8 years ago
ed
7a9c22eafe
AlertWindow::show() method sets AlertWindow to be always on top so it isn't hidden by other components
8 years ago
jules
4583fa3fbf
Used the ignoreUnused() function to tidy up some old code
9 years ago
jules
e6ee514873
Fix to allow setting colour of text inside AlertWindow by using setColour directly on the window
9 years ago
jules
63f49e4c6b
Fix for AlertWindow::addTextEditor with custom look+feels
9 years ago
jules
6bb8bf3761
Fixed a minor warning.
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago