#include <DrawableDashboard.h>
Public Member Functions | |
DashDrawParametersUpdate (color_t fgColor_, color_t bgColor_, color_t fgUpdateColor_, color_t bgUpdateColor_, const GFXfont *font_, DashAlign align=TITLE_RIGHT_VALUE_RIGHT) | |
DashDrawParametersUpdate (color_t fgColor_, color_t bgColor_, color_t fgUpdateColor_, color_t bgUpdateColor_, const UnicodeFont *font_, DashAlign align=TITLE_RIGHT_VALUE_RIGHT) | |
DashDrawParametersUpdate (color_t fgColor_, color_t bgColor_, color_t fgUpdateColor_, color_t bgUpdateColor_, const NativeFontDesc &font_, DashAlign align=TITLE_RIGHT_VALUE_RIGHT) | |
color_t | getBgColor (MenuItem *item, bool updated) override |
color_t | getFgColor (MenuItem *item, bool updated) override |
Public Member Functions inherited from DashDrawParameters | |
DashDrawParameters (color_t fgColor_, color_t bgColor_, const GFXfont *font_, DashAlign align=TITLE_RIGHT_VALUE_RIGHT) | |
Creates a dash parameter that has a background, foreground, font, and alignment. In this case the font is an Adafruit graphics font via tcUnicodeHelper. More... | |
DashDrawParameters (color_t fgColor_, color_t bgColor_, const UnicodeFont *font_, DashAlign align=TITLE_RIGHT_VALUE_RIGHT) | |
Creates a dash parameter that has a background, foreground, font, and alignment. In this case the font is a tcUnicode font. More... | |
DashDrawParameters (color_t fgColor_, color_t bgColor_, const NativeFontDesc &font_, DashAlign align=TITLE_RIGHT_VALUE_RIGHT) | |
Creates a dash parameter that has a background, foreground, font, and alignment. In this case the font is a native font that works with the library directly. More... | |
bool | isTitleDrawn () |
bool | isTitleLeftAlign () |
bool | isValueLeftAlign () |
const DeviceFontDrawingMode & | getFontMode () const |
virtual color_t | getTitleBgColor (MenuItem *item, bool updated) |
virtual color_t | getTitleFgColor (MenuItem *item, bool updated) |
Additional Inherited Members | |
Public Types inherited from DashDrawParameters | |
enum | DashAlign { TITLE_LEFT_VALUE_LEFT , TITLE_LEFT_VALUE_RIGHT , NO_TITLE_VALUE_LEFT , NO_TITLE_VALUE_RIGHT , TITLE_RIGHT_VALUE_LEFT , TITLE_RIGHT_VALUE_RIGHT } |
Protected Attributes inherited from DashDrawParameters | |
DashAlign | alignment |
color_t | fgColor |
color_t | bgColor |
DeviceFontDrawingMode | fontMode |
In addition to regular dash draw parameters this class adds support to store colors for items that have updated
|
inlineoverridevirtual |
the background color method is overloaded, each implementation has a different way of handling it.
Reimplemented from DashDrawParameters.
|
inlineoverridevirtual |
the foreground color method is overloaded, each implementation has a different way of handling it.
Reimplemented from DashDrawParameters.