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
reuk
f647c54b74
FileChooserDialogBox: Ensure filechoosers open in front of other windows
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
Tom Poole
b59fa68724
Fixed some compiler warnings
6 years ago
hogliux
ceea888507
Added an option to specify a parent component when creating a file chooser
6 years ago
jules
4fcedf7be5
Standardised some lambda syntax
7 years ago
jules
ce8b2d865a
Used Button::onClick to simplify a bunch of library classes and demo code
7 years ago
jules
6a49d6efdc
Minor tidying up
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
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
jules
9fa0d49be7
Added an option JUCE_ALLOW_STATIC_NULL_VARIABLES that can be used to turn off dangerous statics like String::empty, var::null, etc.
8 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
fd5df871ed
Fixed a couple of typos in file chooser messages.
11 years ago
jules
4d79bed3d1
Added versions of Component::addAndMakeVisible and addChildComponent which take a reference instead of a pointer.
11 years ago
jules
b91983c480
Work towards supporting a global scaling factor: Desktop::setGlobalScaleFactor().
11 years ago
jules
2329e63f20
Converted a few Colour references to pass-by-values.
12 years ago
jules
c75a7300f5
Added some 'override' modifiers to overridden methods.
12 years ago
jules
265fb0e8eb
More MSVC warning fixes.
12 years ago
jules
ebc3b797bd
Updated LookAndFeel::createFileChooserHeaderText method to return an attributedstring.
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
4d61bfd8a3
Refactored some TRANS strings to make them more amenable to translation. Added the NEEDS_TRANS macro.
12 years ago
jules
910b834f72
Minor clean-ups.
12 years ago
jules
d24ee139d3
Introjucer: wizards for auto-generating new Component classes
12 years ago
jules
2329cfa286
Made the KeyPress (int) constructor explicit, and tightened up the way keypresses are handled by various classes.
13 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
89455b18cb
Added a callback method to FileBrowserListener.
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
b83e97a6f7
Refactored some code to cut down on warnings from automatic code-analysis tools.
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
5d98779f19
Updated the date in the copyright notice.
14 years ago
Julian Storer
60e3ff8f5a
Android development and modal loop elimination.
14 years ago
Julian Storer
8fd76650c4
RTAS ppq fix. New class OptionalScopedPointer. Deprecated the ResizableWindow::setContentComponent() method, replacing it with setContentOwned() and setContentNonOwned(), which provide a way to specify the component's ownership when it is added.
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
7becff2aa4
Reorganised some of the juce source tree folders. Added a new JUCE_DEPRECATED macro, and tested it by renaming Button::addButtonListener to Button::addListener for consistency with other widgets. Added Samplitude to the AudioHostType class. Fixed window maximising in win32.
14 years ago
Julian Storer
76b128d90e
Added 'new folder' button to save dialogs. Fixes for mouse position/popup menus, ComponentDragger, ComboBox.
14 years ago
Julian Storer
23e07daec7
Minor code clean-ups.
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
Julian Storer
27506c2120
Copyright notice update.
15 years ago
Julian Storer
4f704c4d33
Compiler compatibility changes. Minor clean-ups. Linux windowing tweaks.
15 years ago
Julian Storer
841a6665bd
Minor string literal tidy-ups.
15 years ago
Julian Storer
6bf8b51c5a
Added X-windows locking for all linux windowing, and added a class ScopedXLock to allow it to be done around client code as well. Misc fixes for mac menus, win32 WM_QUIT messages, MidiKeyboardComponent. Added text colour id to DirectoryContentsDisplayComponent.
15 years ago
Julian Storer
e61e8f6775
Changed some 'int's to 'size_t's, to improve 64-bit compatibility. Also changed jmin and jmax to use templates, so they can take any type. These changes might mean that you'll need to add some more explicit casts to get your existing code to compile, but this is actually a good thing - it brought to light a few dodgy implicit casts in my code, and may do the same in yours. Also added a function roundToInt(), which replaces roundDoubleToInt() and roundFloatToInt(), but takes any size of floating point number (I've left the old roundDoubleToInt() and roundFloatToInt() functions there for convenience, but will probably remove them in the future).
15 years ago
Julian Storer
1f6d9ec92c
Added multiple-selection, and the ability to browse for both files and folders to the Juce file chooser dialog classes. This has involved changing a few methods, so if you're using these classes directly, you may need to tweak your code, but it should be very easy to do.
15 years ago
jules
4d16424d9c
Rearranged the layout of the source tree, giving it a slightly flatter directory structure. Also fixed a small bug with DragAndDropComponents that was stopping the toolbar customisation working properly.
15 years ago
jules
eb32240e95
Updated the text of the copyright/license blurb at the top of each source file.
15 years ago