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
Timur Doumler
d46ea64aa5
LookAndFeel: added method to specify a custom font for Alert Window title.
9 years ago
jules
3e7d305094
A few minor whitespace cleanups.
10 years ago
jules
f2e9b0a434
Some modal loop code cleanups.
11 years ago
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
12 years ago
jules
4d61bfd8a3
Refactored some TRANS strings to make them more amenable to translation. Added the NEEDS_TRANS macro.
12 years ago
jules
7969ec3611
NativeAlertWindow callback implementations.
12 years ago
jules
a1ed537463
Added callback to AlertWindow::showMessageBoxAsync
12 years ago
jules
e83e076f7d
Better always-on-top detection in a few component types.
12 years ago
jules
9ca3ab9454
AlertWindows should now be always-on-top if the process is using any other windows are in that mode.
12 years ago
jules
0ceeb573d8
Minor changes to avoid pedantic compiler warnings.
12 years ago
jules
06e2a667fb
Introjucer: change to android manifest to improve graphics performance. Stopped alertwindows being always-on-top in plugins.
12 years ago
jules
9281759612
Added method TextEditor::setEscapeAndReturnKeysConsumed().
12 years ago