Skip to content

Slider

Lets users select from a range of values.

Declaration

namespace bdn::ui {
    class Slider : public View
}

Example

#include <bdn/ui/Slider.h>
// ...
auto slider = std::make_shared<Slider>();
slider->value = 0.5;

Properties

  • Property<double> value

    The position of the slider. Ranges from 0.0 to 1.0.

Relationships

Inherits from: View

Source

Slider.h