FastLED 3.10.8
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 217 of file pixelset.h.

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