Added first palette functions

Attempted to fix welcome page
This commit is contained in:
cschwinne
2018-09-06 02:05:56 +02:00
parent 70d0aae07c
commit 6d4339b034
13 changed files with 240 additions and 104 deletions

View File

@@ -39,7 +39,9 @@ void XML_response()
oappendi(effectSpeed);
oappend("</sx><ix>");
oappendi(effectIntensity);
oappend("</ix><wv>");
oappend("</ix><fp>");
oappendi(effectPalette);
oappend("</fp><wv>");
if (useRGBW && !autoRGBtoRGBW) {
oappendi(white);
} else {
@@ -185,6 +187,7 @@ void getSettingsJS(byte subPage) //get values for settings form in javascript
sappend('v',"FX",effectDefault);
sappend('v',"SX",effectSpeedDefault);
sappend('v',"IX",effectIntensityDefault);
sappend('v',"FP",effectPaletteDefault);
sappend('c',"GB",useGammaCorrectionBri);
sappend('c',"GC",useGammaCorrectionRGB);
sappend('c',"TF",fadeTransition);