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

54 commits

Author SHA1 Message Date
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
jules
6bb8bf3761 Fixed a minor warning. 2015-07-22 20:18:54 +01:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
Timur Doumler
d46ea64aa5 LookAndFeel: added method to specify a custom font for Alert Window title. 2015-07-17 09:52:50 +01:00
jules
3e7d305094 A few minor whitespace cleanups. 2014-08-16 21:06:27 +01:00
jules
f2e9b0a434 Some modal loop code cleanups. 2013-08-07 10:18:15 +01:00
jules
03c2801f3f Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3 2013-06-13 13:17:12 +01:00
jules
4d61bfd8a3 Refactored some TRANS strings to make them more amenable to translation. Added the NEEDS_TRANS macro. 2013-05-05 17:13:53 +01:00
jules
7969ec3611 NativeAlertWindow callback implementations. 2013-03-06 20:56:33 +00:00
jules
a1ed537463 Added callback to AlertWindow::showMessageBoxAsync 2013-03-06 11:03:05 +00:00
jules
e83e076f7d Better always-on-top detection in a few component types. 2012-12-23 13:04:54 +00:00
jules
9ca3ab9454 AlertWindows should now be always-on-top if the process is using any other windows are in that mode. 2012-12-15 17:22:32 +00:00
jules
0ceeb573d8 Minor changes to avoid pedantic compiler warnings. 2012-12-04 21:39:15 +00:00
jules
06e2a667fb Introjucer: change to android manifest to improve graphics performance. Stopped alertwindows being always-on-top in plugins. 2012-09-19 18:39:57 +01:00
jules
9281759612 Added method TextEditor::setEscapeAndReturnKeysConsumed(). 2012-08-29 19:02:57 +01:00
jules
591e89cd87 Replaced the badly-named method Array::removeValue() with two new methods: removeFirstMatchingValue() and removeAllInstancesOf(). If you call the old method anywhere, you can just replace any calls with removeFirstMatchingValue(), which does the same job, but whose name makes it clear that not all instances of the value will be removed. 2012-07-07 21:09:10 +01:00
jules
f401d72b4b Tidied up some minor font issues. 2012-05-21 19:02:37 +01:00
jules
711d58e066 AlertWindow text box fix. 2012-04-28 13:27:34 +01:00
jules
56bbab1537 (automated whitespace clean-up) 2012-03-20 16:00:06 +00:00
jules
295d125142 Stopped using the old BEGIN_JUCE_NAMESPACE macros, and just used hard-coded namespaces where necessary instead. The macro definitions are still there, so this shouldn't affect anyone's code. 2012-02-11 14:09:23 +00:00
jules
daa4d832b4 AlertWindow layout fix. 2012-02-08 11:33:12 +00:00