mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
KDColorBlack -> Palette::Text for the theming engine
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user