6#ifndef BUTTONCONTROL_H_
7#define BUTTONCONTROL_H_
11#define DEFAULT_BUTTON_STRING_LENGTH 25
34 ButtonControl(
const char* buttonText,
void* controlContext = NULL,
void(*onClick)(
void* controlContext) = NULL, uint16_t locX = 0, uint16_t locY = 0,
int maxStringLength =
DEFAULT_BUTTON_STRING_LENGTH);
48 virtual void Draw(
bool redraw)
override;
enum Keys Keys_t
Available input keys.
TouchTypes
Available touch types.
Definition TouchTypes.h:13
Containing the abstract base class for all user interface elements (controls, indicators,...
UIElement(UIElementType type)
Constructor of the UIElement.
Definition UIElement.h:43