2020-12-29 Fred Gleason <fredg@paravelsystems.com>

* Refactored the Full Log widget in rdairplay to use the model-based
	API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2020-12-29 12:47:31 -05:00
parent ca7ead3ea3
commit 1ce6d0ddc3
33 changed files with 984 additions and 1573 deletions

View File

@@ -97,11 +97,9 @@ void HourSelector::setTimeMode(RDAirPlayConf::TimeMode mode)
}
void HourSelector::updateHours(bool states[24])
void HourSelector::updateHour(int hour,bool state)
{
for(unsigned i=0;i<24;i++) {
hour_button[i]->setEnabled(states[i]);
}
hour_button[hour]->setEnabled(state);
}