CheeseBoard
A library for use with the CheeseBoard Cheddar platform
|
#include <GfxSignalStrength.h>
Public Member Functions | |
void | setSignal (uint8_t percent) |
void | draw (uint16_t xOffset=0, uint16_t yOffset=0) |
uint16_t | width () |
uint16_t | height () |
Protected Attributes | |
String | _text |
uint8_t | _signal |
Small GfxItem for displaying signal strength as a siny vertical bar graph.
The bar is 2 pixels wide and 12 pixels tall.
Definition at line 11 of file GfxSignalStrength.h.
|
virtual |
Draw the object on the display (don't send buffer).
Implements GfxItem.
Definition at line 10 of file GfxSignalStrength.cpp.
|
virtual |
Get object height.
Implements GfxItem.
Definition at line 25 of file GfxSignalStrength.cpp.
|
virtual |
Get object width.
Implements GfxItem.
Definition at line 20 of file GfxSignalStrength.cpp.