mirror of
				https://github.com/hyperion-project/hyperion.ng.git
				synced 2025-03-01 10:33:28 +00:00 
			
		
		
		
	* small collection of bugfixed debugger hints / warnings * 'toStdVector' has been explicitly marked deprecated * fixed double zip naming in artifacts * V4L2 WebUI Fix * Some code fixes based on alerts from lgtm.com * only execute dynamic v4l2 enum code, if V4L2_AVAIL * very high critical bugfix ;) * merge fix * some lgtm.com fixes * lgtm fixes * undo localtime_r fix Co-authored-by: Paulchen Panther <16664240+Paulchen-Panther@users.noreply.github.com>
		
			
				
	
	
		
			21 lines
		
	
	
		
			369 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			369 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| #include <QString>
 | |
| 
 | |
| #include <utils/ColorRgb.h>
 | |
| #include <utils/ColorRgbw.h>
 | |
| 
 | |
| namespace RGBW {
 | |
| 
 | |
| 	enum WhiteAlgorithm {
 | |
| 		INVALID,
 | |
| 		SUBTRACT_MINIMUM,
 | |
| 		SUB_MIN_WARM_ADJUST,
 | |
| 		SUB_MIN_COOL_ADJUST,
 | |
| 		WHITE_OFF
 | |
| 	};
 | |
| 
 | |
| 	WhiteAlgorithm stringToWhiteAlgorithm(QString str);
 | |
| 	void Rgb_to_Rgbw(ColorRgb input, ColorRgbw * output, const WhiteAlgorithm algorithm);
 | |
| 
 | |
| }
 |