Represents a SeekBar object in the Bind framework. More...
#include <BindSeekBar.hpp>
Public Member Functions | |
uint16_t | getBytes (uint8_t *out) override |
Serialize the SeekBar data into a byte array. | |
Public Attributes | |
int16_t | x |
X-coordinate position of the SeekBar. | |
int16_t | y |
Y-coordinate position of the SeekBar. | |
uint8_t | cmdId = 0 |
Command identifier. See the notes for possible cmdId values. | |
int16_t | seekValue = 0 |
Current value selected on the SeekBar. | |
int16_t | maxValue = 100 |
Maximum value of the SeekBar. | |
int16_t | width = 200 |
Width of the SeekBar. | |
![]() | |
int16_t | tag |
Represents a SeekBar object in the Bind framework.
The BindSeekBar
class defines a SeekBar object that can be used in the Bind framework. SeekBars are typically used to select a value within a specified range (determined by maxValue) by dragging a slider. This class provides methods to configure SeekBars on the screen.
|
inlineoverridevirtual |
Serialize the SeekBar data into a byte array.
This function serializes the SeekBar's properties and data into a byte array for communication with the Bind framework.
out | A pointer to the output byte array. |
Reimplemented from BindView.