@return The active Rgbw if mWhiteCfg holds one, else RgbwInvalid::value(). Backward-compat shim for code paths that pre-date the variant migration.
| 53 | /// @return The active Rgbw if mWhiteCfg holds one, else RgbwInvalid::value(). |
| 54 | /// Backward-compat shim for code paths that pre-date the variant migration. |
| 55 | Rgbw rgbw() const FL_NOEXCEPT { |
| 56 | if (auto* p = mWhiteCfg.ptr<Rgbw>()) return *p; |
| 57 | return RgbwInvalid::value(); |
| 58 | } |
| 59 | |
| 60 | /// @return The active Rgbww if mWhiteCfg holds one, else RgbwwInvalid::value(). |
| 61 | Rgbww rgbww() const FL_NOEXCEPT { |
no test coverage detected