[apps/sequence/list] Improve cell rendering

Change-Id: I64e713a3beae2574593f96fa05717f346e5ffd07
This commit is contained in:
Émilie Feral
2017-02-16 14:43:58 +01:00
parent 51c33b0a5b
commit 5c8b5492e8
5 changed files with 11 additions and 4 deletions

View File

@@ -20,6 +20,9 @@ void FunctionTitleCell::drawRect(KDContext * ctx, KDRect rect) const {
} else {
ctx->fillRect(KDRect(0, 0, bounds().width(), k_colorIndicatorThickness), m_functionColor);
}
KDColor separatorColor = m_even ? Palette::WallScreen : KDColorWhite;
// Color the horizontal separator
ctx->fillRect(KDRect(k_colorIndicatorThickness, bounds().height()-k_separatorThickness, bounds().width()-k_colorIndicatorThickness, k_separatorThickness), separatorColor);
}
}