mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
UI
add getters for min and max in dial slider and thermo
This commit is contained in:
@@ -31,6 +31,16 @@ double UI_slider::value() const
|
||||
return m_value;
|
||||
}
|
||||
|
||||
double UI_slider::min() const
|
||||
{
|
||||
return m_min;
|
||||
}
|
||||
|
||||
double UI_slider::max() const
|
||||
{
|
||||
return m_max;
|
||||
}
|
||||
|
||||
void UI_slider::from_json(const json& j)
|
||||
{
|
||||
UI_item::from_json(j);
|
||||
|
||||
Reference in New Issue
Block a user