12#ifndef TCMENU_TCDRAWABLEBUTTON_H
13#define TCMENU_TCDRAWABLEBUTTON_H
15#include <PlatformDetermination.h>
20#define DRAW_BUTTON_FLAG_ICON_BOOL 0
21#define DRAW_BUTTON_FLAG_IS_DIRTY 1
22#define DRAW_BUTTON_MONO 2
33 enum ButtonDrawingMode {
34 NORMAL, SELECTED, PRESSED, NOT_SELECTABLE
47 ButtonDrawingMode drawingMode = NORMAL;
109 if(drawingMode != mode)
setDirty(
true);
165 void setText(
const char*
newText);
A few helper classes that provides useful functions on top of a tcMenu device drawable.
contains a series of core components needed by all graphical renderers
uint32_t color_t
Definition DrawingPrimitives.h:29
the interface that all graphics devices should implement to do the actual graphics rendering.
Definition DeviceDrawable.h:34
Definition DeviceDrawableHelper.h:48
Definition DrawingPrimitives.h:152
Definition DrawingPrimitives.h:123