You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix/refactor backlight stuff:
- fix colors dont turn of when backlight 0 and black is set
- add option to use not colored backlight
- fix colored backlight not colored on very low color values
- various code style tunings
* apply needed change to wizard
* backlight disabled on static color and efects
* fix warnings
* try fix udp compiler warnings
"edt_conf_color_brightness_expl" : "Zwischen 0.0 und 0.5 ist die Helligkeit linearisiert. Von 0.5 bis 1.0 wird cyan, magenta und gelb bis zu 2x heller und weiß bis zu 3x.",
"edt_conf_color_brightness_expl" : "From 0.0 to 0.5 the brightness is linearised, from 0.5 to 1.0 cyan, magenta, yellow is up to 2x brighter and white 3x.",
// check if we can create the color by hex RRGGBB getColors
16
-
_color = QColor(QString("#%1").arg(value));
17
-
if (_color.isValid()) {
18
-
returntrue;
19
-
}
16
+
// check if we can create the color by hex RRGGBB getColors
17
+
_color = QColor(QString("#%1").arg(value));
18
+
if (_color.isValid())
19
+
{
20
+
returntrue;
21
+
}
20
22
21
-
if(!parser.isSet(*this)){
22
-
// Return true if no value is available
23
-
returntrue;
24
-
}
23
+
if(!parser.isSet(*this))
24
+
{
25
+
// Return true if no value is available
26
+
returntrue;
27
+
}
25
28
26
-
QStringList error;
27
-
_error = QString("Invalid color. A color is specified by a six lettered RRGGBB hex getColors or one of the following names:\n\t- %1").arg(QColor::colorNames().join("\n\t- "));
29
+
_error = QString("Invalid color. A color is specified by a six lettered RRGGBB hex getColors or one of the following names:\n\t- %1").arg(QColor::colorNames().join("\n\t- "));
0 commit comments