reuk
29213e07a1
Font: Deprecate getStringWidth and getGlyphPositions
2024-09-18 19:13:09 +01:00
Tom Poole
94d98a2b10
Update licensing information
2024-04-16 11:39:35 +01:00
Tom Poole
6bf9bb9a2e
Add final specifiers in implementation files
2023-10-10 16:12:38 +01:00
Tom Poole
4153d59e39
Formatting
2023-10-02 15:42:20 +01:00
Anthony Nicholls
02eb66ee7a
ProgressBar: Add style parameter
2023-06-22 13:07:03 +00:00
reuk
53bfd5b16d
WindowUtils: Make areThereAnyAlwaysOnTopWindows() public
2023-05-04 18:42:41 +01:00
reuk
ad094cd883
AlertWindow: Fix result codes when displaying native dialogs through the AlertWindow APIs
2023-04-04 19:55:12 +01:00
Oliver James
d7f1e59422
AlertWindow: Add 'getButton' method
2023-04-04 10:06:40 +01:00
reuk
9d1a6a3b28
ContentSharer: Update interface to return safer ScopedMessageBox instances
2023-03-27 11:54:37 +01: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
882c2aa01d
AlertWindow: Allow parent component to be specified
2023-02-22 21:00:17 +00:00
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.
2023-02-22 21:00:08 +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
ed
274ce967e4
AlertWindow: Prevent accessible label component from intercepting mouse clicks
2021-11-02 12:35:36 +00:00
ed
49db3ce12e
AlertWindow: Make accessible label component colours fully transparent to prevent it from drawing over custom L&Fs
2021-11-02 12:19:56 +00:00
reuk
9199fa3c51
Warnings: Avoid triggering missing-prototypes warnings on macOS/iOS
2021-09-23 10:28:47 +01:00
ed
f5eee033ba
NativeMessageBox: Return correctly mapped value when shown modally
2021-09-02 08:35:14 +01:00
ed
6d40b627ba
AlertWindow: Fix incorrect return value when using modal native ok/cancel and yes/no/cancel dialogs
2021-08-16 16:06:56 +01:00
ed
2db1bbdc0f
Add missing AlertWindow::showNativeDialogBox() implementation that was removed in 551d7b9c
2021-08-11 11:50:15 +01:00
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
2021-07-21 16:34:12 +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
Tom Poole
79fbde7099
Added preliminary support for FreeBSD
2021-03-29 14:16:46 +01:00
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.
2021-03-23 12:09:35 +00:00
reuk
394c4fd475
Clang: Fix warnings when building with clang 10
2020-07-01 10:00:43 +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
jules
c6d1d2e483
Changed a stray 0 to a nullptr
2018-08-15 16:03:37 +01:00
ed
d1ed072622
Ensure that pressing the escape key always dismisses an AlertWindow
2018-04-30 09:15:38 +01:00
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
2018-04-19 20:27:47 +01:00
Lukasz Kozakiewicz
c8b9bc79ba
AlertWindow: ensure a native keyboard is hidden when alert window gets dismissed.
2018-04-09 18:56:38 +02:00
Noah Dayan
e690350df3
Use lambda callbacks instead of listeners with Slider, Button, Label, ComboBox and TextEditor classes
2018-01-18 15:23:57 +00:00
jules
c42719c2eb
Some internal modernisation in windowing classes
2017-09-28 16:57:01 +01:00
hogliux
1291f1a06b
Reverted commit 8483aa4 as the same functionality already existed in JUCE with ModalCallbackFunction. Improved the documentation in NativeMessageBox to mention that class.
2017-09-13 11:14:10 +01:00
hogliux
ed8270fcda
Fixed an extra semicolon in the previous commit
2017-09-12 12:13:27 +01:00
hogliux
8483aa4aea
Added a new method NativeMessageBox::showMessageBox which asynchronously opens a native dialog box and calls a C++ lambda when dismissed
2017-09-12 12:09:54 +01:00
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
2017-09-08 08:59:55 +01:00
hogliux
beb905df7a
AlertWindow: Fixed an issue with the AlertWindow's text block having incorrect colours
2017-07-31 14:37:23 +01:00
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
2017-04-27 14:43:04 +01:00
jules
8ed41ed14b
Fixed some whitespace style and cleaned up some code using C++11
2017-03-27 13:06:42 +01:00
hogliux
ee373af944
Added AlertWindow LookAndFeel methods to offer more control on button widths
2016-11-21 10:07:20 +00:00
hogliux
1c2d1479b4
Added LookAndFeel getAlertWindowButtonWidth method to override the width of alert buttons
2016-11-15 10:41:11 +00:00
ed
675f5943a1
fixed silly typo
2016-08-05 15:20:28 +01:00
ed
f0a00bfe4d
AlertWindow::show() only sets window to always on top if there are other always on top windows
2016-08-05 14:30:26 +01:00
ed
7a9c22eafe
AlertWindow::show() method sets AlertWindow to be always on top so it isn't hidden by other components
2016-08-04 08:54:50 +01:00
jules
4583fa3fbf
Used the ignoreUnused() function to tidy up some old code
2015-12-23 16:27:50 +00:00
jules
e6ee514873
Fix to allow setting colour of text inside AlertWindow by using setColour directly on the window
2015-10-14 16:03:52 +01:00
jules
63f49e4c6b
Fix for AlertWindow::addTextEditor with custom look+feels
2015-10-12 17:34:06 +01:00