#include <DrawableDashboard.h>
Classes | |
struct | IntColorRange |
Public Member Functions | |
DashDrawParametersIntUpdateRange (color_t fgColor_, color_t bgColor_, color_t fgUpdateColor_, color_t bgUpdateColor_, const GFXfont *font_, const IntColorRange colorRanges_[], int numberRanges, DashAlign align=TITLE_RIGHT_VALUE_RIGHT) | |
DashDrawParametersIntUpdateRange (color_t fgColor_, color_t bgColor_, color_t fgUpdateColor_, color_t bgUpdateColor_, const UnicodeFont *font_, const IntColorRange colorRanges_[], int numberRanges, DashAlign align=TITLE_RIGHT_VALUE_RIGHT) | |
DashDrawParametersIntUpdateRange (color_t fgColor_, color_t bgColor_, color_t fgUpdateColor_, color_t bgUpdateColor_, const NativeFontDesc &font_, const IntColorRange colorRanges_[], int numberRanges, DashAlign align=TITLE_RIGHT_VALUE_RIGHT) | |
Public Member Functions inherited from DashDrawParametersUpdate | |
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) | |
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 |
A drawing parameter that updates the color based on ranges of integer values. For example one color could define the integer values between 0..10 and another 11..20, in addition it can have a change in color for when the item updates.
Supported types are AnalogMenuItem, EnumMenuItem, BooleanMenuItem (values 0 and 1), and ScrollChoiceMenuItem.
struct DashDrawParametersIntUpdateRange::IntColorRange |