ed
b9542ccc4c
Update code to use C++14 [[deprecated]] attribute
This commit removes the various compiler-specific JUCE_DEPRECATED macros and replaces them with C++14's deprecated attribute. It also removes the JUCE_CATCH_DEPRECATED_CODE_MISUSE flag as we can rely on the override specifier catching usage of these old virtual methods, and tidies up the DOXYGEN preprocessor checks as they were inconsistent across the codebase.
3 years ago
ed
90eb878d16
Accessibility: Make createAccessibilityHandler() private in Component subclasses
3 years ago
ed
e28525b05d
TreeView: Fixed a potential crash when dragging a TreeViewItem with a custom component
4 years ago
ed
ec990202b1
Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics
4 years ago
ed
009d685179
Updated all license headers
4 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
ed
c2e3dcd8bf
Updated the documentation of some methods which now return std::unique_ptr instead of raw pointers to remove references to deleting the returned object
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
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
jules
2e2cfb5f6c
Made a lot of the functions that used to return a raw XmlElement* instead return a std::unique_ptr<XmlElement> to make it safer and more concise to capture them. Also added new methods to XmlElement for generating text, and deprecated the old ones
6 years ago
ed
a234721110
Added various clang-tidy modernize-* fixes
6 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
6 years ago
jules
974b4a8351
Removed some legacy friend class declarations that are no longer needed with modern compilers
7 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
ed
cdbc28c18b
Add documentation tags
7 years ago
ed
9bb4e025ca
Made the documentation of some classes clearer regarding when a notification will be sent
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
b653e838d0
Tweaked the order in which properties are set when TreeViewItems are added, and did some internal modernisation of the TreeView classes
7 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
hogliux
2da1bc5f41
Replace include guards with "#pragma once"
8 years ago
tpoole
b24aadcc72
Added ColourIds to allow alternate colouring of TreeViewItems
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
02492b36b9
Lots of small whitespace tweaks.
9 years ago
jules
cf90b59e9f
Added ownerViewChanged callback to TreeView
9 years ago
jules
c90467d6e1
Added set/getOpenness() methods to TreeView
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
hogliux
586b428707
Make setDrawsInRightMargin comment more readable
9 years ago
hogliux
5265bbf81e
Add optional setDrawsInRightMargin to disable clipping of right edge of TreeViewItems
9 years ago
jules
f6139cee55
Minor documentation cleanups.
10 years ago
jules
5930215e09
Avoided static-order-of-initialisation problems from causing crashes in the Time::getMillisecondCounter function.
11 years ago
jules
00aa1df346
TreeViewItem::setSelected() - avoided deselecting items before re-selecting them if they're already selected.
11 years ago
jules
aa408bd982
Avoided TreeView consuming return key presses if the selected item can't be opened.
11 years ago
jules
af55d142d3
Minor tweaks and comment corrections.
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
020f138d20
Added a method TreeViewItem::addSubItemSorted()
11 years ago
jules
7f6394478a
Stripped out some unnecessary boilerplate includes from juce_gui_basics.
11 years ago
jules
65c155e372
Added a class ContainerDeletePolicy, to allow custom delete operations on objects held by ScopedPointers or OwnedArrays. Also cleaned away a lot of superfluous includes in juce_core files.
11 years ago
jules
3d74717349
Bit of tidying-up in the Point class, and some spelling fixes in comments.
11 years ago
jules
b075af5e6c
Added method FileTreeComponent::setItemHeight().
11 years ago
jules
5a1112ab94
Updated the format of the header include guard macros.
11 years ago
jules
c75a7300f5
Added some 'override' modifiers to overridden methods.
12 years ago
jules
e49f40ac05
Made Atomic constructor explicit. Cleared TreeViewItem parent pointers when they are removed.
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
910b834f72
Minor clean-ups.
12 years ago
jules
f9e31ab7a9
Documentation pedanticism.
12 years ago
jules
0ceeb573d8
Minor changes to avoid pedantic compiler warnings.
12 years ago
jules
5ed768e953
New enum: NotificationType, to indicate whether to send a change message or not (and whether it should be async). Updates to ListBox, TreeView and Slider methods to use this type instead of bools.
12 years ago