add checkbox in client
add change of state in server
This commit is contained in:
2026-02-14 14:30:52 +01:00
parent 2dd517fd77
commit 2e6bcce589
3 changed files with 9 additions and 0 deletions
+1
View File
@@ -57,6 +57,7 @@ void Test_Sim::button_clicked(UI_button *id)
this->m_button.set_text(state ? "On" : "Off");
this->m_led.set_bg_color(state ? Color::Green : Color::Red);
this->m_checkbox.set_state(state);
return;
}
}