Browse Source

Added standard iterator methods for SelectedItemSet.

tags/2021-05-28
jules 13 years ago
parent
commit
8f514b7198
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      modules/juce_gui_basics/mouse/juce_SelectedItemSet.h

+ 3
- 0
modules/juce_gui_basics/mouse/juce_SelectedItemSet.h View File

@@ -270,6 +270,9 @@ public:
const Array <SelectableItemType>& getItemArray() const noexcept { return selectedItems; }
SelectableItemType* begin() const noexcept { return selectedItems.begin(); }
SelectableItemType* end() const noexcept { return selectedItems.end(); }
//==============================================================================
/** Can be overridden to do special handling when an item is selected.


Loading…
Cancel
Save