mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
test_sim
implement run at startup function
This commit is contained in:
@@ -19,9 +19,10 @@ p_slider("slider", "Slider", Color(Color::White), Color(Color::Black), 0, 100, 5
|
|||||||
void Test_Sim::timer()
|
void Test_Sim::timer()
|
||||||
{
|
{
|
||||||
// Timer function
|
// Timer function
|
||||||
// p_button.click();
|
|
||||||
// p_combobox.set_selected(1);
|
|
||||||
// p_checkbox.toggle_selected("Option 2");
|
|
||||||
// p_slider.set_value(75);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Test_Sim::run_at_startup()
|
||||||
|
{
|
||||||
|
// Run at startup
|
||||||
|
std::cout << "Test_Sim started" << std::endl;
|
||||||
|
}
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ class Test_Sim : public Simulator_base {
|
|||||||
public:
|
public:
|
||||||
Test_Sim();
|
Test_Sim();
|
||||||
void timer() override;
|
void timer() override;
|
||||||
|
void run_at_startup() override;
|
||||||
private:
|
private:
|
||||||
UI_button p_button;
|
UI_button p_button;
|
||||||
UI_combobox p_combobox;
|
UI_combobox p_combobox;
|
||||||
|
|||||||
Reference in New Issue
Block a user