Tom Poole
|
ab863a6dc2
|
Replaced all usage of ScopedPointer with std::unique_ptr
|
7 years ago |
jules
|
1a60fa9765
|
More ScopedPointer/unique_ptr compatibility work
|
7 years ago |
jules
|
48a5fbd333
|
Another batch of ScopedPointer cleanups
|
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 |
ed
|
5d8d37eb87
|
Added support for multi-touch drag and drop
|
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 |
tpoole
|
8aca5604eb
|
Fixed a VS2013 compiler error
|
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 |
ed
|
79885fc6ad
|
Force TreeView to recalculate its size after restoring item openness in TreeView::restoreOpennessState() so that its Viewport scroll position is restored correctly
|
8 years ago |
jules
|
60e9231fb1
|
Removed need for std::function in order to use MessageManager::callAsync(). Used it to modernise a few bits of old code.
|
8 years ago |
jules
|
8ed41ed14b
|
Fixed some whitespace style and cleaned up some code using C++11
|
8 years ago |
ed
|
479390c689
|
Try to use TreeView background colour when painting open/close button in TreeViewItem::paintRecursively() instead of always using white
|
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 |
ed
|
9276540e7d
|
Fix to avoid negative width assertion when drawing fitted text in very deep TreeView file trees.
|
8 years ago |
hogliux
|
0a4b2ae3b6
|
Return parent row number if any of the tree view item's paraents are closed
|
9 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
|
5265bbf81e
|
Add optional setDrawsInRightMargin to disable clipping of right edge of TreeViewItems
|
9 years ago |
jules
|
e17c26ed03
|
Minor fix for treeview dragging insert position.
|
10 years ago |
jules
|
2a120a0f72
|
Fix for treeview indent X positions when dragged off the bottom.
|
10 years ago |
jules
|
60ccdf8bf2
|
Made the TreeView handle dragging and dropping to the area below the tree.
|
10 years ago |
jules
|
40ba90b19f
|
Fixed some escaping of slash characters in TreeViewItem identifier strings.
|
10 years ago |
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>.
|
11 years ago |
jules
|
00aa1df346
|
TreeViewItem::setSelected() - avoided deselecting items before re-selecting them if they're already selected.
|
11 years ago |
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.
|
11 years ago |
jules
|
aa408bd982
|
Avoided TreeView consuming return key presses if the selected item can't be opened.
|
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
|
61ed92ee51
|
Added a method XmlElement::prependChildElement(), and used this for a few optimisations.
|
11 years ago |
jules
|
be1d5253ee
|
Moved some mouse code out of Desktop class. Made the MouseInputSource class pass-by-value.
|
11 years ago |
jules
|
b3fd5cb8a3
|
Added iterator access to Desktop's list of mouse sources.
|
11 years ago |
jules
|
4fc8fbaef1
|
Added some more override decorators.
|
12 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
|
01e3e4c40c
|
Fixed some coverity warnings.
|
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
|
152d91fa9e
|
Prevented TreeViews from responding to mouse clicks when they're disabled.
|
12 years ago |
jules
|
e543949bda
|
Minor clean-ups.
|
12 years ago |
jules
|
5d35a31f2e
|
Minor clean-ups and documentation fixes.
|
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 |
jules
|
5d7622ade5
|
Added methods TreeViewItem::sortSubItems() and PopupMenu::MenuItemIterator::addItemTo().
|
12 years ago |
jules
|
770d1ccd49
|
Added method TreeView::moveSelectedRow.
|
12 years ago |
jules
|
18977ebd44
|
Optimised TreeView openness XML generation, avoiding redundant state data about tree items that are in their default state.
|
12 years ago |
jules
|
c632856c88
|
TreeViewItem: added virtual methods for customising the connecting lines.
|
12 years ago |