44template <
class SelectableItemType>
223 const bool wasItemDragged,
224 const bool resultOfMouseDownSelectMethod)
226 if (resultOfMouseDownSelectMethod && ! wasItemDragged)
Type jmin(const Type a, const Type b)
Definition MathsFunctions.h:60
#define noexcept
Definition DistrhoDefines.h:72
Definition juce_Array.h:56
void sendChangeMessage()
Definition juce_ChangeBroadcaster.cpp:65
ChangeBroadcaster() noexcept
Definition juce_ChangeBroadcaster.cpp:26
void sendSynchronousChangeMessage()
Definition juce_ChangeBroadcaster.cpp:71
Definition juce_ModifierKeys.h:41
bool isCommandDown() const noexcept
Definition juce_ModifierKeys.h:68
bool isPopupMenu() const noexcept
Definition juce_ModifierKeys.h:78
bool isShiftDown() const noexcept
Definition juce_ModifierKeys.h:99
void addToSelectionOnMouseUp(ParameterType item, ModifierKeys modifiers, const bool wasItemDragged, const bool resultOfMouseDownSelectMethod)
Definition juce_SelectedItemSet.h:221
typename TypeHelpers::ParameterType< SelectableItemType >::type ParameterType
Definition juce_SelectedItemSet.h:51
void addToSelection(ParameterType item)
Definition juce_SelectedItemSet.h:128
bool addToSelectionOnMouseDown(ParameterType item, ModifierKeys modifiers)
Definition juce_SelectedItemSet.h:197
int getNumSelected() const noexcept
Definition juce_SelectedItemSet.h:261
bool isSelected(ParameterType item) const noexcept
Definition juce_SelectedItemSet.h:270
SelectedItemSet(const ItemArray &items)
Definition juce_SelectedItemSet.h:58
const SelectableItemType * end() const noexcept
Definition juce_SelectedItemSet.h:284
SelectedItemSet()=default
void deselectAll()
Definition juce_SelectedItemSet.h:243
void selectOnly(ParameterType item)
Definition juce_SelectedItemSet.h:101
void changed()
Definition juce_SelectedItemSet.h:304
SelectableItemType getSelectedItem(const int index) const
Definition juce_SelectedItemSet.h:267
SelectableItemType * begin() noexcept
Definition juce_SelectedItemSet.h:276
Array< SelectableItemType > ItemArray
Definition juce_SelectedItemSet.h:50
void changed(const bool synchronous)
Definition juce_SelectedItemSet.h:312
SelectedItemSet(const SelectedItemSet &other)
Definition juce_SelectedItemSet.h:64
const SelectableItemType * begin() const noexcept
Definition juce_SelectedItemSet.h:278
ItemArray selectedItems
Definition juce_SelectedItemSet.h:322
virtual void itemSelected(SelectableItemType)
Definition juce_SelectedItemSet.h:292
virtual void itemDeselected(SelectableItemType)
Definition juce_SelectedItemSet.h:299
const ItemArray & getItemArray() const noexcept
Definition juce_SelectedItemSet.h:273
void addToSelectionBasedOnModifiers(ParameterType item, ModifierKeys modifiers)
Definition juce_SelectedItemSet.h:160
void deselect(ParameterType item)
Definition juce_SelectedItemSet.h:231
SelectableItemType * end() noexcept
Definition juce_SelectedItemSet.h:281
SelectableItemType ItemType
Definition juce_SelectedItemSet.h:49
register unsigned i
Definition inflate.c:1575
#define JUCE_LEAK_DETECTOR(OwnerClass)
Definition juce_LeakedObjectDetector.h:138
Definition carla_juce.cpp:31
const Type & type
Definition juce_MathsFunctions.h:632
#define const
Definition zconf.h:137