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