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:
@@ -26,6 +26,16 @@ double UI_thermo::value() const
|
||||
return m_value;
|
||||
}
|
||||
|
||||
double UI_thermo::min() const
|
||||
{
|
||||
return m_min;
|
||||
}
|
||||
|
||||
double UI_thermo::max() const
|
||||
{
|
||||
return m_max;
|
||||
}
|
||||
|
||||
void UI_thermo::set_start_color(Color color)
|
||||
{
|
||||
this->m_color_map[0] = color;
|
||||
|
||||
Reference in New Issue
Block a user