ed
90eb878d16
Accessibility: Make createAccessibilityHandler() private in Component subclasses
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
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
jules
0367d5c3a9
Added some PopupMenu::addItem overloads which let you attach a lambda callback to be invoked for a menu item.
5 years ago
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
6 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
jules
48a5fbd333
Another batch of ScopedPointer cleanups
7 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
2dc9316420
Misc ScopedPointer changes to start using reset() and get() rather than assignments and casts (part of an ongoing drift towards more std::unique_ptr compatibility)
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
jules
357dd2c9c9
Removed some old compiler bug workarounds
7 years ago
jules
4e5f005421
Added a method Component::getChildren() to allow them to be iterated with a range-based for loop, and used this in appropriate places around the codebase
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
jules
d410b6d13d
Avoided a possible null pointer in KeyMappingEditorComponent
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
06c1a15496
Added some missing 'override' decorators
10 years ago
jules
40c06f9ca9
Added a TRANS macro in the key-map editor.
11 years ago
jules
4d79bed3d1
Added versions of Component::addAndMakeVisible and addChildComponent which take a reference instead of a pointer.
11 years ago
jules
164cad105a
Fixed colour in key-mapping editor comp.
11 years ago
jules
bea7b83cb8
Renamed and refactored the LookAndFeel classes. The LookAndFeel class is now an abstract base-class, and there are 3 concrete subclasses you can use. These are LookAndFeel_V1 (replaces OldSchoolLookAndFeel), LookAndFeel_V2 (replaces what was the normal LookAndFeel class) and LookAndFeel_V3 (this is a new style, taken from the Introjucer's L+F).
11 years ago
jules
56ec1d1400
Added a colour ID TreeView::selectedItemBackgroundColourId, and changed the TreeView to fill selected items with this. (The colour is set to transparent by default so this won't affect existing code).
Updated the LookAndFeel::drawTreeviewPlusMinusBox and TreeViewItem::paintOpenCloseButton methods to provide more flexibility.
11 years ago
jules
58f4a38ad8
Couple of translation tweaks to KeyMappingEditorComponent.
11 years ago
jules
5918d039ce
Added some "override" annotations.
12 years ago
jules
ed09493cd2
Added text translation to KeyMappingEditorComponent.
12 years ago
jules
c75a7300f5
Added some 'override' modifiers to overridden methods.
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
c7506df13f
Changed some pass-by-references to pass-by-value to improve compiler optimisation.
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
0ceeb573d8
Minor changes to avoid pedantic compiler warnings.
12 years ago
jules
d0fa359f72
Bit of tidying-up in KeyPressMappingSet and related classes.
12 years ago
jules
df729be74a
Cleaned-up class inheritance visibilities and encapsulation for some internal classes.
13 years ago
jules
f5d72f1406
Removed the style parameter from Graphics::setFont(), because if the current font doesn't support that style, it'll give the wrong results. If this breaks your code, just wrap your arguments in a Font constructor, e.g. g.setFont (Font (mySize, myStyle));
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
bd9a32c757
Removed 'const' from some virtual method return types - this might require a few tweaks to user-code.
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
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
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
c6b81ebf51
Added a setHeader() method to TableListBox. New utility class TreeView::OpennessRestorer.
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