95 return mPixels == other.mPixels;
102 return !(*
this == other);
172 return mPixels == other.mPixels;
177 return !(*
this == other);
220 if (!
mHasValue && !other.mHasValue)
return true;
221 if (
mHasValue != other.mHasValue)
return false;
222 return mPixels == other.mPixels;
226 return !(*
this == other);
286 return mPixels == other.mPixels;
291 return !(*
this == other);
370 return mPixels == other.mPixels;
377 return !(*
this == other);
405inline pair<detail::ScaledPixelIteratorRGBW, detail::ScaledPixelIteratorRGBW>
414inline pair<detail::ScaledPixelIteratorRGBWW, detail::ScaledPixelIteratorRGBWW>
425inline pair<detail::ScaledPixelIteratorBrightness, detail::ScaledPixelIteratorBrightness>
436inline pair<detail::ScaledPixelIteratorRGB16, detail::ScaledPixelIteratorRGB16>
A fixed-size array implementation similar to std::array.
u8 operator*() const FL_NOEXCEPT
Dereference operator.
ptrdiff_t difference_type
bool operator!=(const ScaledPixelIteratorBrightness &other) const FL_NOEXCEPT
Inequality comparison.
ScaledPixelIteratorBrightness & operator++() FL_NOEXCEPT
Pre-increment operator.
bool operator==(const ScaledPixelIteratorBrightness &other) const FL_NOEXCEPT
Equality comparison.
ScaledPixelIteratorBrightness() FL_NOEXCEPT
Sentinel constructor (end iterator)
ScaledPixelIteratorBrightness(PixelIterator *pixels) FL_NOEXCEPT
Construct from PixelIterator.
bool mHasValue
true if current value is valid
u8 mCurrent
Current brightness value (cached)
PixelIterator * mPixels
Underlying PixelIterator.
ScaledPixelIteratorBrightness operator++(int) FL_NOEXCEPT
Post-increment operator.
input_iterator_tag iterator_category
Input iterator adapter for PixelIterator yielding brightness values.
bool operator!=(const ScaledPixelIteratorRGB16 &other) const FL_NOEXCEPT
Inequality comparison.
ScaledPixelIteratorRGB16 & operator++() FL_NOEXCEPT
Pre-increment operator.
PixelIterator * mPixels
Underlying PixelIterator.
array< u16, 3 > mCurrent
Current pixel value (cached, wire order, 16-bit)
ScaledPixelIteratorRGB16() FL_NOEXCEPT
Sentinel constructor (end iterator)
const array< u16, 3 > & reference
ScaledPixelIteratorRGB16(PixelIterator *pixels) FL_NOEXCEPT
Construct from PixelIterator.
bool mHasValue
true if current pixel is valid
array< u16, 3 > value_type
const array< u16, 3 > * pointer
ScaledPixelIteratorRGB16 operator++(int) FL_NOEXCEPT
Post-increment operator.
ptrdiff_t difference_type
bool operator==(const ScaledPixelIteratorRGB16 &other) const FL_NOEXCEPT
Equality comparison.
const array< u16, 3 > * operator->() const FL_NOEXCEPT
Arrow operator.
input_iterator_tag iterator_category
const array< u16, 3 > & operator*() const FL_NOEXCEPT
Dereference operator.
Input iterator adapter for PixelIterator yielding 16-bit RGB pixel data.
PixelIterator * mPixels
Underlying PixelIterator.
ScaledPixelIteratorRGB(PixelIterator *pixels) FL_NOEXCEPT
Construct from PixelIterator.
const array< u8, 3 > & operator*() const FL_NOEXCEPT
Dereference operator.
bool operator!=(const ScaledPixelIteratorRGB &other) const FL_NOEXCEPT
Inequality comparison.
const array< u8, 3 > * operator->() const FL_NOEXCEPT
Arrow operator.
ScaledPixelIteratorRGB() FL_NOEXCEPT
Sentinel constructor (end iterator)
ScaledPixelIteratorRGB & operator++() FL_NOEXCEPT
Pre-increment operator.
ScaledPixelIteratorRGB operator++(int) FL_NOEXCEPT
Post-increment operator.
array< u8, 3 > value_type
input_iterator_tag iterator_category
void advance() FL_NOEXCEPT
Advance to next pixel (or mark as end)
array< u8, 3 > mCurrent
Current pixel value (cached, wire order)
const array< u8, 3 > & reference
bool operator==(const ScaledPixelIteratorRGB &other) const FL_NOEXCEPT
Equality comparison.
const array< u8, 3 > * pointer
ptrdiff_t difference_type
bool mHasValue
true if current pixel is valid
Input iterator adapter for PixelIterator yielding 3-byte pixel data.
array< u8, 4 > mCurrent
Current pixel value (cached, wire order)
ScaledPixelIteratorRGBW() FL_NOEXCEPT
Sentinel constructor (end iterator)
ScaledPixelIteratorRGBW operator++(int) FL_NOEXCEPT
Post-increment operator.
const array< u8, 4 > * pointer
bool operator!=(const ScaledPixelIteratorRGBW &other) const FL_NOEXCEPT
Inequality comparison.
input_iterator_tag iterator_category
const array< u8, 4 > & operator*() const FL_NOEXCEPT
Dereference operator.
ptrdiff_t difference_type
const array< u8, 4 > * operator->() const FL_NOEXCEPT
Arrow operator.
const array< u8, 4 > & reference
bool mHasValue
true if current pixel is valid
array< u8, 4 > value_type
ScaledPixelIteratorRGBW & operator++() FL_NOEXCEPT
Pre-increment operator.
ScaledPixelIteratorRGBW(PixelIterator *pixels) FL_NOEXCEPT
Construct from PixelIterator.
PixelIterator * mPixels
Underlying PixelIterator.
bool operator==(const ScaledPixelIteratorRGBW &other) const FL_NOEXCEPT
Equality comparison.
Input iterator adapter for PixelIterator yielding 4-byte pixel data.
const array< u8, 5 > & reference
const array< u8, 5 > * pointer
bool operator==(const ScaledPixelIteratorRGBWW &other) const FL_NOEXCEPT
array< u8, 5 > value_type
ScaledPixelIteratorRGBWW() FL_NOEXCEPT
ptrdiff_t difference_type
const array< u8, 5 > & operator*() const FL_NOEXCEPT
ScaledPixelIteratorRGBWW & operator++() FL_NOEXCEPT
bool operator!=(const ScaledPixelIteratorRGBWW &other) const FL_NOEXCEPT
const array< u8, 5 > * operator->() const FL_NOEXCEPT
input_iterator_tag iterator_category
ScaledPixelIteratorRGBWW operator++(int) FL_NOEXCEPT
ScaledPixelIteratorRGBWW(PixelIterator *pixels) FL_NOEXCEPT
Input iterator adapter yielding 5-byte RGBWW pixels (issue #2558).
Compile-time linker keep-alive hook for a single fl::Bus.
pair< detail::ScaledPixelIteratorRGB, detail::ScaledPixelIteratorRGB > makeScaledPixelRangeRGB(PixelIterator *pixels) FL_NOEXCEPT
Create RGB input iterator range from PixelIterator.
pair< detail::ScaledPixelIteratorRGB16, detail::ScaledPixelIteratorRGB16 > makeScaledPixelRangeRGB16(PixelIterator *pixels) FL_NOEXCEPT
Create 16-bit RGB input iterator range from PixelIterator.
pair< detail::ScaledPixelIteratorRGBWW, detail::ScaledPixelIteratorRGBWW > makeScaledPixelRangeRGBWW(PixelIterator *pixels) FL_NOEXCEPT
Create RGBWW input iterator range from PixelIterator (issue #2558)
pair< detail::ScaledPixelIteratorBrightness, detail::ScaledPixelIteratorBrightness > makeScaledBrightnessRange(PixelIterator *pixels) FL_NOEXCEPT
Create brightness input iterator range from PixelIterator.
pair< detail::ScaledPixelIteratorRGBW, detail::ScaledPixelIteratorRGBW > makeScaledPixelRangeRGBW(PixelIterator *pixels) FL_NOEXCEPT
Create RGBW input iterator range from PixelIterator.
pair< typename fl::decay< T1 >::type, typename fl::decay< T2 >::type > make_pair(T1 &&t, T2 &&u) FL_NOEXCEPT
Base definition for an LED controller.