KDColorBlack -> Palette::Text for the theming engine

This commit is contained in:
Quentin Guidée
2019-11-26 19:22:24 +01:00
parent eb6198306a
commit db269f1204
53 changed files with 75 additions and 66 deletions

View File

@@ -31,7 +31,7 @@ void OkView::drawRect(KDContext * ctx, KDRect rect) const {
KDCoordinate width = bounds().width();
KDCoordinate height = bounds().height();
KDRect frame((width-k_okSize)/2, (height-k_okSize)/2, k_okSize, k_okSize);
ctx->blendRectWithMask(frame, KDColorBlack, (const uint8_t *)okMask, s_okWorkingBuffer);
ctx->blendRectWithMask(frame, Palette::Text, (const uint8_t *)okMask, s_okWorkingBuffer);
}
KDSize OkView::minimalSizeForOptimalDisplay() const {