diff options
Diffstat (limited to 'seduservice.h')
-rw-r--r-- | seduservice.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/seduservice.h b/seduservice.h index 9612331..7079041 100644 --- a/seduservice.h +++ b/seduservice.h @@ -10,6 +10,18 @@ #define __SEDU_SERVICE_H //*************************************************************************** +// Pixel - format as provided by softhddevice +//*************************************************************************** + +struct Pixel +{ + unsigned char b; + unsigned char g; + unsigned char r; + unsigned char a; +}; + +//*************************************************************************** // Sedu Service //*************************************************************************** @@ -37,6 +49,8 @@ class cSeduService vmAtmo, vmFixedCol, vmRainbow, + vmColorWheel, + vmColorWheelStatic, vmBlack, vmDetached, vmCount @@ -61,6 +75,9 @@ class cSeduService // static + void rgb2hsv(int r, int g, int b, double* h, double* s, double* v); + Pixel hsv2rgb(int h, double s, double v); + static const char* toName(ViewMode vm); static const char* viewModes[]; }; |