[escher] Uniformize methods in menu list cell and even odd cells

Change-Id: Idccb55bdfe0ff2010fd06bd5796b8c324469446b
This commit is contained in:
Émilie Feral
2017-02-07 15:39:04 +01:00
parent dfb4f30c52
commit 24fc727b53
20 changed files with 56 additions and 39 deletions

View File

@@ -7,8 +7,13 @@ EvenOddBufferTextCell::EvenOddBufferTextCell(KDText::FontSize size, float horizo
{
}
void EvenOddBufferTextCell::reloadCell() {
EvenOddCell::reloadCell();
void EvenOddBufferTextCell::setHighlighted(bool highlight) {
EvenOddCell::setHighlighted(highlight);
m_bufferTextView.setBackgroundColor(backgroundColor());
}
void EvenOddBufferTextCell::setEven(bool even) {
EvenOddCell::setEven(even);
m_bufferTextView.setBackgroundColor(backgroundColor());
}