rename some signals
add some constructors that have no color
This commit is contained in:
2026-02-14 14:30:57 +01:00
parent 371a465cf2
commit b0c1eca1d1
16 changed files with 52 additions and 8 deletions
+2 -1
View File
@@ -14,9 +14,10 @@ UI_led::UI_led(const json &j, QObject *parent) : UI_item(UI_LED_TYPE, parent)
from_json(j);
}
void UI_led::set_led(bool state, Color on, Color off)
bool UI_led::set_led(bool state, Color on, Color off)
{
set_bg_color(state ? on : off);
return state;
}
void UI_led::from_json(const json &j)