|
|
|
@@ -112,9 +112,7 @@ public: |
|
|
|
}
|
|
|
|
|
|
|
|
/** Selects an item.
|
|
|
|
|
|
|
|
If the item is already selected, no change notification will be sent out.
|
|
|
|
|
|
|
|
@see selectOnly, addToSelectionBasedOnModifiers
|
|
|
|
*/
|
|
|
|
void addToSelection (ParameterType item)
|
|
|
|
@@ -248,7 +246,6 @@ public: |
|
|
|
|
|
|
|
//==============================================================================
|
|
|
|
/** Returns the number of currently selected items.
|
|
|
|
|
|
|
|
@see getSelectedItem
|
|
|
|
*/
|
|
|
|
int getNumSelected() const noexcept
|
|
|
|
@@ -257,9 +254,7 @@ public: |
|
|
|
}
|
|
|
|
|
|
|
|
/** Returns one of the currently selected items.
|
|
|
|
|
|
|
|
Returns 0 if the index is out-of-range.
|
|
|
|
|
|
|
|
@see getNumSelected
|
|
|
|
*/
|
|
|
|
SelectableItemType getSelectedItem (const int index) const noexcept
|
|
|
|
@@ -290,8 +285,7 @@ public: |
|
|
|
*/
|
|
|
|
virtual void itemDeselected (SelectableItemType item) { (void) item; }
|
|
|
|
|
|
|
|
/** Used internally, but can be called to force a change message to be sent to the ChangeListeners.
|
|
|
|
*/
|
|
|
|
/** Used internally, but can be called to force a change message to be sent to the ChangeListeners. */
|
|
|
|
void changed (const bool synchronous = false)
|
|
|
|
{
|
|
|
|
if (synchronous)
|
|
|
|
|