|
|
| VerticalScrollbar (Adafruit_GFX &graphics, unsigned int x, unsigned int y, unsigned int trackLength, double knobRelativeSize) |
| |
| virtual void | paint () override |
| | Paints this component.
|
| |
| void | setKnobRelativePosition (float relativePosition) |
| | Sets the relative position of the knob in this scrollbar.
|
| |
| float | getKnobRelativePosition () |
| | Gets the relative position of the knob in this scrollbar.
|
| |
| 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 () |
| |
|
| virtual unsigned int | getKnobY () override |
| | Gets the y-coordinate of the top-left corner of the knob.
|
| |
| virtual unsigned int | getKnobHeight () override |
| | Gets the height of the knob.
|
| |
|
| Scrollbar (Adafruit_GFX &graphics, unsigned int x, unsigned int y, unsigned int width, unsigned int height, unsigned int trackLength, double knobRelativeSize) |
| |
|
unsigned int | getKnobLength () |
| |
|
unsigned int | getKnobPositionOffset () |
| |
| virtual unsigned int | getKnobX () |
| | Gets the x-coordinate of the top-left corner of the knob.
|
| |
| virtual unsigned int | getKnobWidth () |
| | Gets the width of the knob.
|
| |
|
| 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 () |
| |
|
| Dimensions (unsigned int x, unsigned int y, unsigned int width, unsigned int height) |
| |