From 58250a33a5f60aa415c3b4548096ab3b37368b0a Mon Sep 17 00:00:00 2001 From: horchi Date: Fri, 30 Nov 2012 07:38:44 +0100 Subject: added wheel effects provides by TheChief --- seduthread.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'seduthread.h') diff --git a/seduthread.h b/seduthread.h index 38ca6cc..23688c4 100644 --- a/seduthread.h +++ b/seduthread.h @@ -14,18 +14,6 @@ #include "common.h" #include "config.h" -//*************************************************************************** -// Pixel - format as provided by softhddevice -//*************************************************************************** - -struct Pixel -{ - unsigned char b; - unsigned char g; - unsigned char r; - unsigned char a; -}; - class PixQueue { public: @@ -200,5 +188,5 @@ class cSeduThread : public cThread, public cSeduService int imageHeight; Pixel getRainbowColor(); - Pixel hsv2Rgb(int h, double s, double v); + Pixel getColorWheel(int moving = 0, int led = 0); }; -- cgit v1.2.3