mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
20 lines
331 B
C++
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();
|
|
}
|
|
}
|
|
|
|
}
|