#include "Core/UI_Elements.h"
bool boolVal1;
Label labelBool(
"Boolean");
void UI_Test_BuildTree()
{
stack_boolean.AddItem(&boolInd1);
stack_boolean.AddItem(&boolCtrl1);
stack_boolean.InitItems();
UiManager.ChangeVisualTreeRoot(&stack_boolean);
}
void UI_Test_Init(Adafruit_GFX* gfx)
{
}
void UI_Test_Draw()
{
}
void UI_Test_KeyInput(
Keys_t key)
{
}
void UI_Test_TouchInput(uint16_t x, uint16_t y,
TouchTypes touchType)
{
}
enum Keys Keys_t
Available input keys.
TouchTypes
Available touch types.
Definition TouchTypes.h:13
Containing a class that is used to handle the drawing and key handling of all UI_Elements.
UI_Manager UiManager
Access object for the singleton instance of the UI_Manager.
Definition UI_Manager.cpp:7
#define RGB565(r, g, b)
Macro that can be used to convert a RGB888 color to the RGB565 format.
Definition UIElement.h:18
Class for a boolean control that is showing a boolean variable value and offers the possibility to to...
Definition BoolControl.h:32
Class for a boolean indicator that is only showing a boolean variable value.
Definition BoolIndicator.h:27
bool AddItem(UIElement *item)
Add a new element to the container and activate it as active child.
Definition Container.cpp:19
class for a container that is showing all items at a time stacked one after another.
Definition ContainerStack.h:28
Class for an Label indicator that is drawing a string to the screen.
Definition Label.h:19