mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
5aac2be702
* switch rs232 provider to completly async transfer * start of implementing a seperate init function for leddevices * rename setconfig to init * more fixes * implement missing code * fix code style * remove debug code * remove debug stuff * set loglevel to original state
14 lines
324 B
C++
14 lines
324 B
C++
#pragma once
|
|
|
|
#include <utils/ColorRgb.h>
|
|
#include <utils/ColorRgbw.h>
|
|
|
|
namespace RGBW {
|
|
|
|
enum WhiteAlgorithm { INVALID, SUBTRACT_MINIMUM, SUB_MIN_WARM_ADJUST, WHITE_OFF };
|
|
|
|
WhiteAlgorithm stringToWhiteAlgorithm(std::string str);
|
|
void Rgb_to_Rgbw(ColorRgb input, ColorRgbw * output, const WhiteAlgorithm algorithm);
|
|
|
|
};
|