Files
Upsilon/apps/shared/hideable_even_odd_cell.cpp
2018-05-29 15:34:49 +02:00

20 lines
331 B
C++

#include "hideable_even_odd_cell.h"
namespace Shared {
KDColor HideableEvenOddCell::backgroundColor() const {
if (hidden()) {
return hideColor();
}
return EvenOddCell::backgroundColor();
}
void HideableEvenOddCell::setHide(bool hide) {
if (hidden() != hide) {
Hideable::setHide(hide);
reloadCell();
}
}
}