|
|
| Label (Adafruit_GFX &graphics, unsigned int x, unsigned int y, unsigned int width) |
| |
|
| Label (Adafruit_GFX &graphics, unsigned int x, unsigned int y, unsigned int width, unsigned int height) |
| |
|
| Label (Adafruit_GFX &graphics, unsigned int x, unsigned int y, unsigned int width, const char *text) |
| |
|
| Label (Adafruit_GFX &graphics, unsigned int x, unsigned int y, unsigned int width, unsigned int height, const char *text) |
| |
| virtual void | paint () override |
| | Paints this component.
|
| |
|
const char * | getText () |
| |
|
void | setText (const char *newText) |
| |
| virtual void | setEnabled (bool enabled) |
| | Sets whether this component is enabled.
|
| |
| virtual bool | isEnabled () |
| | Checks whether this component is enabled.
|
| |
|
virtual void | setFocused (bool focused) |
| |
| virtual bool | isFocused () |
| | Checks whether this component has focus.
|
| |
| virtual Color | getBackgroundColor () |
| | Gets the background color when enabled but not focused.
|
| |
| virtual Color | getForegroundColor () |
| | Gets the foreground color when enabled but not focused.
|
| |
| virtual Color | getBorderColor () |
| | Gets the border color when enabled but not focused.
|
| |
| virtual Color | getDisabledBackgroundColor () |
| | Gets the background color when disabled.
|
| |
| virtual Color | getDisabledForegroundColor () |
| | Gets the foreground color when disabled.
|
| |
| virtual Color | getDisabledBorderColor () |
| | Gets the border color when disabled.
|
| |
| virtual Color | getFocusedBackgroundColor () |
| | Gets the background color when enabled and focused.
|
| |
| virtual Color | getFocusedForegroundColor () |
| | Gets the foreground color when enabled and focused.
|
| |
| virtual Color | getFocusedBorderColor () |
| | Gets the border color when enabled and focused.
|
| |
|
virtual void | setBackgroundColor (Color color) |
| |
|
virtual void | setForegroundColor (Color color) |
| |
|
virtual void | setBorderColor (Color color) |
| |
|
virtual void | setDisabledBackgroundColor (Color color) |
| |
|
virtual void | setDisabledForegroundColor (Color color) |
| |
|
virtual void | setDisabledBorderColor (Color color) |
| |
|
virtual void | setFocusedBackgroundColor (Color color) |
| |
|
virtual void | setFocusedForegroundColor (Color color) |
| |
|
virtual void | setFocusedBorderColor (Color color) |
| |
| virtual void | repaint () |
| | Repaints this component.
|
| |
|
unsigned int | getX () |
| |
|
unsigned int | getY () |
| |
|
unsigned int | getWidth () |
| |
|
unsigned int | getHeight () |
| |