15 namespace visualization {
38 void SetLimits(
double min_value,
double max_value);
41 const Constraints& constraints)
const override;
50 std::unique_ptr<Impl> impl_;
DrawResult Draw(const DrawContext &context) override
Size CalcPreferredSize(const LayoutContext &theme, const Constraints &constraints) const override
void SetValue(double val)
int GetIntValue() const
Returns the value of the control as an integer.
double GetMinimumValue() const
double GetMaximumValue() const
void SetLimits(double min_value, double max_value)
double GetDoubleValue() const
Returns the value of the control as a double.
void SetOnValueChanged(std::function< void(double)> on_value_changed)
Sets a function to call when the value changes because of user action.
Generic file read and write utility for python interface.