new tests
This commit is contained in:
@@ -489,20 +489,32 @@ void loop()
|
|||||||
if (bottom_text_state == 0)
|
if (bottom_text_state == 0)
|
||||||
{
|
{
|
||||||
node = addNewTextNode("Technik informatyk + ai, robotyka",
|
node = addNewTextNode("Technik informatyk + ai, robotyka",
|
||||||
pixels.Color(0, 0, 50)
|
pixels.Color(0, 0, 50),
|
||||||
|
false, DISPLAY_MAX_X, 9, 1, true, true, -1, false);
|
||||||
|
}
|
||||||
|
else if (bottom_text_state == 1)
|
||||||
|
{
|
||||||
|
node = addNewTextNode("Technik programista",
|
||||||
|
pixels.Color(50, 40, 0),
|
||||||
|
false, DISPLAY_MAX_X, 9, 1, true, true, -1, false);
|
||||||
|
}
|
||||||
|
else if (bottom_text_state == 2)
|
||||||
|
{
|
||||||
|
node = addNewTextNode("Technik poligrafii i grafiki komputerowej",
|
||||||
|
pixels.Color(0, 45, 0),
|
||||||
false, DISPLAY_MAX_X, 9, 1, true, true, -1, false);
|
false, DISPLAY_MAX_X, 9, 1, true, true, -1, false);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
node = addNewTextNode("technik programista",
|
node = addNewTextNode("Technik reklamy",
|
||||||
pixels.Color(50, 40, 0),
|
pixels.Color(60, 20, 0),
|
||||||
false, DISPLAY_MAX_X, 9, 1, true, true, -1, false);
|
false, DISPLAY_MAX_X, 9, 1, true, true, -1, false);
|
||||||
}
|
}
|
||||||
if (node != nullptr)
|
if (node != nullptr)
|
||||||
{
|
{
|
||||||
scroll_node_global_id = node->global_id;
|
scroll_node_global_id = node->global_id;
|
||||||
scroll_node_active = true;
|
scroll_node_active = true;
|
||||||
bottom_text_state = (bottom_text_state + 1) % 2;
|
bottom_text_state = (bottom_text_state + 1) % 4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user