FastLED 3.9.15
Loading...
Searching...
No Matches

◆ operator--() [2/2]

template<class PIXEL_TYPE>
CPixelView & CPixelView< PIXEL_TYPE >::operator-- ( int DUMMY_ARG)
inline

Decrement every pixel value in this set.

Definition at line 216 of file pixelset.h.

216 {
218 for(iterator pixel = begin(), _end = end(); pixel != _end; ++pixel) {
219 (*pixel)--;
220 }
221 return *this;
222 }
iterator end()
Makes an iterator instance for the end of the LED set.
Definition pixelset.h:476
pixelset_iterator_base< PIXEL_TYPE > iterator
Iterator helper type for this class.
Definition pixelset.h:472
iterator begin()
Makes an iterator instance for the start of the LED set.
Definition pixelset.h:475
Represents a view/window into a set of LED pixels, providing array-like access and rich color operati...
Definition pixelset.h:102
#define FASTLED_UNUSED(x)