ed
c66e8baf7e
Whitespace
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
a5c3b81f82
Use C++14 lambda capture initialisers for initialising deletion checkers
3 years ago
ed
9d0a97c33c
Ensure that modal components set auto-delete when dismissed are properly cleaned up
4 years ago
ed
009d685179
Updated all license headers
4 years ago
ed
d510b73cdf
Normalised all whitespace before args in std::function
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
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
ed
a4f0b179a3
Added a check for an empty lambda in LambdaCallback::modalStateFinished()
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
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
jules
84e86a26e6
Tweaked the Component::setBoundsToFit method to take a rectangle, and tidied up a few things inside Component
7 years ago
jules
58a99ff139
Dragged the singleton macros into the 21st century.. Cleaned up their implementation and gave them new upper-case names to match juce official style. The old names are still defined to avoid breaking old code, but please update before they get deprecated!
7 years ago
jules
82d160150c
Bit of tidying up in ModalComponentManager
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
tpoole
f4046909ab
Added an OS X 10.5 compatible std::function replacement
8 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
jules
3aee68ec5f
Added a method to create a ModalCallbackFunction from a lambda function
9 years ago
jules
12eeadec8b
Added some missing 'override's
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
50a55b2e9c
Avoided a few compiler warnings.
10 years ago
jules
95699451b5
Added method ModalComponentManager::cancelAllModalComponents()
11 years ago
jules
042d9f22fc
Various changes to improve the behaviour of kiosk mode for DocumentWindows on win32.
11 years ago
jules
7091121b2c
Avoided some problems when modal components are left open during shutdown.
11 years ago
jules
4fc8fbaef1
Added some more override decorators.
12 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
0ceeb573d8
Minor changes to avoid pedantic compiler warnings.
12 years ago
jules
f24f7b638c
Modal component fix. Minor tweaks.
12 years ago
jules
56bbab1537
(automated whitespace clean-up)
13 years ago
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.
13 years ago
Julian Storer
cdd1778630
Modal component deletion fix. Minor addition to ComponentAnimator.
13 years ago
Julian Storer
b70e0a28d2
First check-in of the "jucequake": a major re-organisation of the library to break it up into modules. For more details about this, see the website forum..
13 years ago
Julian Storer
2009753eac
Cleaned up some obscure compiler warnings and added some JSON unit tests.
14 years ago
Julian Storer
b047d9be53
More 'nullptr' updates and minor clean-ups.
14 years ago
Julian Storer
f04309f44a
Added fake placeholder versions of the new c++0x 'noexcept' and 'nullptr' keywords, and altered the library classes to use these instead of 'throw()' and '0'. This shouldn't make any difference at all to existing code, but will enable better static checking with future c++0x compilers.
14 years ago
Julian Storer
fb80724977
Changes for win32 modal component mouse events (toolbar customisation fix)
14 years ago
Julian Storer
5d98779f19
Updated the date in the copyright notice.
14 years ago
Julian Storer
2d10b0b43d
Changes and additions to provide alternatives to modal-loop functionality (Android can't run modal loops). New class ModalCallbackFunction providing quick objects for making callbacks to static functions. Changes to remove modal loops from most of the internal library classes. Added new methods to PopupMenu to provide easier async callbacks, and also a cleaner way of specifying options when showing a menu. Fix for PNG decoding of corrupted image files.
14 years ago
Julian Storer
f01340e4aa
Lots of refactoring of the Expression and relative coordinate classes. This has changed some of the semantics that were in place, so any early adopters who had been playing with RelativeRectangles may need to check their expressions.
14 years ago
Julian Storer
e05f6a2b95
Improvements to ComponentMovementWatcher to check visibility. TopLevelWindow activation fix. Changed MidiMessage default constructor to an empty sysex.
14 years ago
Julian Storer
2bb0c77216
New class: WeakReference. Used this to clean up and simplify implementation of Component::SafePointer and BailOutChecker.
14 years ago
Julian Storer
952b8c3940
Updated ComponentDragger to handle transformed components (this required a change to its parameters). Tidied up some classes with the JUCE_DECLARE_NON_COPYABLE macro. Changed some 3rd-party include statements to use angle-bracket quotes.
14 years ago
Julian Storer
aa71477712
Fixed a TabbedComponent bug. Fixed fallback fonts on win32.
14 years ago
Julian Storer
b2e0b43960
Big rewrite to the internals of modal components, with a new class ModalComponentManager. This now lets you use modal components asynchronously, providing an object which will receive a callback when they are dismissed, rather than using a blocking event loop. ComboBoxes and some other components now show their popups asynchronously.
15 years ago