[apps][escher] Improve colors

Change-Id: I31d3353a5372b63a6c2b3e62c88fb3b5c627e088
This commit is contained in:
Émilie Feral
2017-01-23 18:20:44 +01:00
parent d45000b3d9
commit 0704ab8776
12 changed files with 26 additions and 55 deletions

View File

@@ -3,8 +3,6 @@
namespace Graph {
constexpr KDColor FunctionExpressionView::k_separatorColor;
FunctionExpressionView::FunctionExpressionView() :
EvenOddCell(),
m_function(nullptr),
@@ -48,7 +46,7 @@ void FunctionExpressionView::layoutSubviews() {
void FunctionExpressionView::drawRect(KDContext * ctx, KDRect rect) const {
EvenOddCell::drawRect(ctx, rect);
// Color the separator
ctx->fillRect(KDRect(0, 0, k_separatorThickness, bounds().height()), k_separatorColor);
ctx->fillRect(KDRect(0, 0, k_separatorThickness, bounds().height()), Palette::GreyBright);
}
}