12#include <ds_value_base.h>
66 uint8_t mBorderThickness;
67 uint16_t mCornerRadius;
75 void onPaint(
DsRenderer &renderer)
override final;
76 float onValueChange(
float value)
override final;
DsColor is a class that represents a 4 channel color (Alpha, Red, Green, Blue).
Definition ds_color.h:53
DsPoint is a class that represents the X and Y 2D coordinates of a point as integer numbers.
Definition ds_geometry.h:24
DsProgressBar is a class that implements a progress bar.
Definition ds_progress_bar.h:18
void setBorderColor(DsColor color)
Sets the border color.
void setCornerRadius(uint16_t radius)
Sets the list corner radius.
void setActiveColor(DsColor color)
Sets the active color.
void setTrackColor(DsColor color)
Sets the track color.
DsProgressBar(DsView *parent, const DsPoint &pos, const DsSize &size)
Creates a DsProgressBar view.
void setBorderThickness(uint8_t thickness)
Sets the border width.
DsRenderer is a class that implements all the drawing operations.
Definition ds_renderer.h:42
DsSize is class that represents the 2D size of a graphic object (width, height) as integer values.
Definition ds_geometry.h:780
DsValueBase is a base class that contains a float value.
Definition ds_value_base.h:19
DsView is a base class that represents any view on the screen.
Definition ds_view.h:40