mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
New Default theme: Omega theme! (Beta)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user