mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
test sim
add checkbox in client add change of state in server
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user