Public Member Functions | |
| PortSelector (Adafruit_GFX &graphics) | |
| virtual void | paint () override |
| Paints this component. | |
| void | setEnabled (int port, bool enabled) |
| bool | isEnabled (int port) |
| void | selectPrevEnabledPort () |
| void | selectNextEnabledPort () |
| int | getSelectedPort () |
| virtual void | setBackgroundColor (Color color) override |
| virtual void | setForegroundColor (Color color) override |
| virtual void | setBorderColor (Color color) override |
| virtual void | setDisabledBackgroundColor (Color color) override |
| virtual void | setDisabledForegroundColor (Color color) override |
| virtual void | setDisabledBorderColor (Color color) override |
| virtual void | setFocusedBackgroundColor (Color color) override |
| virtual void | setFocusedForegroundColor (Color color) override |
| virtual void | setFocusedBorderColor (Color color) override |
Public Member Functions inherited from dsgc::Component | |
| 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 | repaint () |
| Repaints this component. | |
Public Member Functions inherited from dsgc::Dimensions | |
| unsigned int | getX () |
| unsigned int | getY () |
| unsigned int | getWidth () |
| unsigned int | getHeight () |
Additional Inherited Members | |
Protected Member Functions inherited from dsgc::Component | |
| Component (Adafruit_GFX &graphics, unsigned int x, unsigned int y, unsigned int width, unsigned int height) | |
| virtual Adafruit_GFX & | getGraphics () |
| virtual Color | getCurrentBackgroundColor () |
| virtual Color | getCurrentForegroundColor () |
| virtual Color | getCurrentBorderColor () |
Protected Member Functions inherited from dsgc::Dimensions | |
| Dimensions (unsigned int x, unsigned int y, unsigned int width, unsigned int height) | |
|
overridevirtual |
Paints this component.
Override this function to implement the specifics of the actual component. In the overriding function, it is a must to call this parent function.
Reimplemented from dsgc::Component.
|
overridevirtual |
Reimplemented from dsgc::Component.
|
overridevirtual |
Reimplemented from dsgc::Component.
|
overridevirtual |
Reimplemented from dsgc::Component.
|
overridevirtual |
Reimplemented from dsgc::Component.
|
overridevirtual |
Reimplemented from dsgc::Component.
|
overridevirtual |
Reimplemented from dsgc::Component.
|
overridevirtual |
Reimplemented from dsgc::Component.
|
overridevirtual |
Reimplemented from dsgc::Component.
|
overridevirtual |
Reimplemented from dsgc::Component.