New Default theme: Omega theme! (Beta)

This commit is contained in:
Quentin Guidée
2019-11-29 19:42:39 +01:00
parent af2e8209ef
commit c68a0cdb33
102 changed files with 348 additions and 196 deletions

View File

@@ -9,8 +9,8 @@ using namespace Poincare;
TitleBarView::TitleBarView() :
View(),
m_titleView(KDFont::SmallFont, I18n::Message::Default, 0.5f, 0.5f, KDColorWhite, Palette::YellowDark),
m_preferenceView(KDFont::SmallFont, 1.0f, 0.5, KDColorWhite, Palette::YellowDark)
m_titleView(KDFont::SmallFont, I18n::Message::Default, 0.5f, 0.5f, Palette::ToolbarText, Palette::Toolbar),
m_preferenceView(KDFont::SmallFont, 1.0f, 0.5, Palette::ToolbarText, Palette::Toolbar)
{
m_examModeIconView.setImage(ImageStore::ExamIcon);
}
@@ -18,7 +18,7 @@ TitleBarView::TitleBarView() :
void TitleBarView::drawRect(KDContext * ctx, KDRect rect) const {
/* As we cheated to layout the title view, we have to fill a very thin
* rectangle at the top with the background color. */
ctx->fillRect(KDRect(0, 0, bounds().width(), 2), Palette::YellowDark);
ctx->fillRect(KDRect(0, 0, bounds().width(), 2), Palette::Toolbar);
}
void TitleBarView::setTitle(I18n::Message title) {