|
| | Checkbox (Adafruit_GFX &graphics, unsigned int x, unsigned int y) |
| | Creates a checkbox with default length.
|
| |
| | Checkbox (Adafruit_GFX &graphics, unsigned int x, unsigned int y, unsigned int length) |
| | Creates a checkbox.
|
| |
| virtual void | paint () override |
| | Paints this component.
|
| |
| void | setChecked (bool checked) |
| | Sets whether the checkbox is checked.
|
| |
| bool | isChecked () |
| | Gets whether the checkbox is checked.
|
| |
| Color | getTickColor () |
| | Gets the color of the tick stroke.
|
| |
| void | setTickColor (Color color) |
| | Sets the color of the tick stroke.
|
| |
| 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 () |
| |