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

76 commits

Author SHA1 Message Date
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
2021-05-26 15:34:26 +01:00
ed
5e6fe0db3d Accessibility: Send structure change message when TreeView viewport is scrolled 2021-05-20 18:24:58 +01:00
ed
333983947e Accessibility: Removed widget_handlers 2021-05-20 18:24:56 +01:00
ed
6bb3b9208b TreeView: Use Component::getApproximateScaleFactorForComponent() when creating drag images 2021-05-19 16:21:31 +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
reuk
3baaad8b5b
XmlElement: Update loops to use new iterators 2021-01-28 20:14:11 +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
jules
c6d1828a32 A few more internal updates for better smart pointer use 2019-05-19 11:44:22 +01:00
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 2019-05-09 10:51:19 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
jules
1a60fa9765 More ScopedPointer/unique_ptr compatibility work 2018-01-10 17:35:08 +00:00
jules
48a5fbd333 Another batch of ScopedPointer cleanups 2018-01-10 14:49:57 +00:00
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) 2017-11-01 17:41:06 +00:00
ed
5d8d37eb87 Added support for multi-touch drag and drop 2017-10-04 15:52:31 +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
tpoole
8aca5604eb Fixed a VS2013 compiler error 2017-09-07 10:31:23 +01:00
jules
b653e838d0 Tweaked the order in which properties are set when TreeViewItems are added, and did some internal modernisation of the TreeView classes 2017-08-10 11:13:01 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
ed
79885fc6ad Force TreeView to recalculate its size after restoring item openness in TreeView::restoreOpennessState() so that its Viewport scroll position is restored correctly 2017-04-26 10:48:59 +01:00
jules
60e9231fb1 Removed need for std::function in order to use MessageManager::callAsync(). Used it to modernise a few bits of old code. 2017-03-29 15:31:41 +01:00
jules
8ed41ed14b Fixed some whitespace style and cleaned up some code using C++11 2017-03-27 13:06:42 +01:00
ed
479390c689 Try to use TreeView background colour when painting open/close button in TreeViewItem::paintRecursively() instead of always using white 2017-03-20 16:40:21 +00:00
tpoole
b24aadcc72 Added ColourIds to allow alternate colouring of TreeViewItems 2016-10-03 16:12:30 +01:00
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. 2016-09-16 12:03:02 +01:00
ed
9276540e7d Fix to avoid negative width assertion when drawing fitted text in very deep TreeView file trees. 2016-09-05 17:35:09 +01:00
hogliux
0a4b2ae3b6 Return parent row number if any of the tree view item's paraents are closed 2016-07-05 16:27:51 +01:00
jules
02492b36b9 Lots of small whitespace tweaks. 2015-12-13 19:32:05 +00:00
jules
cf90b59e9f Added ownerViewChanged callback to TreeView 2015-08-20 09:52:21 +01:00
jules
c90467d6e1 Added set/getOpenness() methods to TreeView 2015-08-19 11:43:58 +01:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
hogliux
5265bbf81e Add optional setDrawsInRightMargin to disable clipping of right edge of TreeViewItems 2015-07-20 15:05:58 +01:00
jules
e17c26ed03 Minor fix for treeview dragging insert position. 2015-02-18 11:33:15 +00:00
jules
2a120a0f72 Fix for treeview indent X positions when dragged off the bottom. 2015-02-16 14:54:58 +00:00
jules
60ccdf8bf2 Made the TreeView handle dragging and dropping to the area below the tree. 2015-02-16 09:59:53 +00:00
jules
40ba90b19f Fixed some escaping of slash characters in TreeViewItem identifier strings. 2014-09-26 09:34:03 +01:00
jules
6c61dbb68e Refactored the internal mouse-handling code to use floating point coords. This shouldn't affect much user code, but a few methods in MouseInputSource have now changed to use Point<float> rather than Point<int>. 2014-06-14 13:06:53 +01:00
jules
00aa1df346 TreeViewItem::setSelected() - avoided deselecting items before re-selecting them if they're already selected. 2014-02-28 19:28:08 +00:00
jules
a316bd5f6f Removed a few more places where static objects could cause problems for people who do unwise amounts of work in their static constructors. 2013-12-02 09:44:17 +00:00
jules
aa408bd982 Avoided TreeView consuming return key presses if the selected item can't be opened. 2013-11-11 14:50:17 +00:00
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). 2013-10-27 22:02:21 +00:00
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.
2013-10-27 12:49:17 +00:00
jules
61ed92ee51 Added a method XmlElement::prependChildElement(), and used this for a few optimisations. 2013-10-25 12:52:19 +01:00
jules
be1d5253ee Moved some mouse code out of Desktop class. Made the MouseInputSource class pass-by-value. 2013-09-03 10:44:55 +01:00
jules
b3fd5cb8a3 Added iterator access to Desktop's list of mouse sources. 2013-09-02 22:06:10 +01:00
jules
4fc8fbaef1 Added some more override decorators. 2013-07-10 10:22:33 +01:00
jules
c75a7300f5 Added some 'override' modifiers to overridden methods. 2013-06-23 23:09:52 +01:00
jules
e49f40ac05 Made Atomic constructor explicit. Cleared TreeViewItem parent pointers when they are removed. 2013-06-18 17:38:56 +01:00