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

88 commits

Author SHA1 Message Date
reuk
34fdea0708
DragAndDropContainer: Allow custom scaling 2021-12-01 15:35:54 +00:00
ed
b70fbb9bca TreeView: Fix drag-to-scroll viewport jump on mouse exit 2021-10-25 16:40:18 +01:00
ed
de375ab6d7 TreeView: Prevent dragging items from scrolling viewport on mobile and fix issue with dragged item component being deleted during drag operations 2021-10-20 16:36:40 +01:00
ed
70968d46c8 TreeView: Coalesce item position recalculation to fix performance issues with large trees 2021-10-13 15:06:18 +01:00
ed
55ffe91db8 TreeView: Don't add MouseListener for nested custom components
This restores the behaviour of TreeViews with custom item components prior to ec990202
2021-09-23 10:20:36 +01:00
ed
90eb878d16 Accessibility: Make createAccessibilityHandler() private in Component subclasses 2021-09-07 11:23:17 +01:00
ed
8d6ba3b54e Accessibility: Use AccessibilityRole::ignored for UI elements that should not be accessible to screen readers but have accessible children 2021-09-07 11:23:17 +01:00
ed
c559d31e90 Accessibility: Override Accessibility::getHelp() for JUCE widgets that support tooltips 2021-07-05 12:07:30 +01:00
ed
cdee88c003 Accessibility: Set TreeViewItem expanded/collapsed state only when it has sub-items 2021-06-11 13:48:18 +01:00
ed
e2aa2a2048 Accessibility: Throttle TreeView/ListBox Viewport move AccessibilityEvent::structureChanged notifications 2021-06-07 19:38:29 +01:00
ed
e28525b05d TreeView: Fixed a potential crash when dragging a TreeViewItem with a custom component 2021-05-27 17:06:46 +01:00
ed
7b34d56069 TreeView: Use content component coordinate space in TreeView::getItemAt() 2021-05-27 17:06:45 +01:00
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