| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #pragma once | ||
| 2 | /* | ||
| 3 | * This file is part of the Falcon Player (FPP) and is Copyright (C) | ||
| 4 | * 2013-2022 by the Falcon Player Developers. | ||
| 5 | * | ||
| 6 | * The Falcon Player (FPP) is free software, and is covered under | ||
| 7 | * multiple Open Source licenses. Please see the included 'LICENSES' | ||
| 8 | * file for descriptions of what files are covered by each license. | ||
| 9 | * | ||
| 10 | * This source file is covered under the GPL v2 as described in the | ||
| 11 | * included LICENSE.GPL file. | ||
| 12 | */ | ||
| 13 | |||
| 14 | #include "PixelStringTester.h" | ||
| 15 | |||
| 16 | class PixelFadeStringTester : public PixelStringTester { | ||
| 17 | protected: | ||
| 18 | 9384 | PixelFadeStringTester(int tp) : | |
| 19 | 9384 | PixelStringTester(), fadeType(tp) {} | |
| 20 | |||
| 21 | const int fadeType; | ||
| 22 | public: | ||
| 23 | virtual uint8_t* createTestData(PixelString* ps, int cycleCount, float percentOfCycle, uint8_t* inChannelData, uint32_t &newLen) override; | ||
| 24 | |||
| 25 | static PixelFadeStringTester INSTANCE_RED; | ||
| 26 | static PixelFadeStringTester INSTANCE_GREEN; | ||
| 27 | static PixelFadeStringTester INSTANCE_BLUE; | ||
| 28 | static PixelFadeStringTester INSTANCE_WHITE; | ||
| 29 | }; | ||
| 30 |