1#ifndef __BINDSEEKBAR_HPP
2#define __BINDSEEKBAR_HPP
4#include "BindUtils.hpp"
46 copyAndOffset(out, &offset, &objID,
sizeof(objID));
47 copyAndOffset(out, &offset, &
x, 2);
48 copyAndOffset(out, &offset, &
y, 2);
49 copyAndOffset(out, &offset, &tag, 2);
50 copyAndOffset(out, &offset, &
cmdId,
sizeof(
cmdId));
53 copyAndOffset(out, &offset, &
width,
sizeof(
width));
58 uint8_t objID = BIND_ID_SEEK_BAR;
Represents a SeekBar object in the Bind framework.
Definition BindSeekBar.hpp:23
uint8_t cmdId
Command identifier. See the notes for possible cmdId values.
Definition BindSeekBar.hpp:28
uint16_t getBytes(uint8_t *out) override
Serialize the SeekBar data into a byte array.
Definition BindSeekBar.hpp:43
int16_t x
X-coordinate position of the SeekBar.
Definition BindSeekBar.hpp:26
int16_t width
Width of the SeekBar.
Definition BindSeekBar.hpp:31
int16_t maxValue
Maximum value of the SeekBar.
Definition BindSeekBar.hpp:30
int16_t y
Y-coordinate position of the SeekBar.
Definition BindSeekBar.hpp:27
int16_t seekValue
Current value selected on the SeekBar.
Definition BindSeekBar.hpp:29
Definition BindView.hpp:22