mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-24 16:20:49 +01:00
[WIP] Fix settings
This commit is contained in:
@@ -25,7 +25,7 @@ private:
|
||||
class ContentView : public View {
|
||||
public:
|
||||
ContentView(SelectableTableView * selectableTableView) :
|
||||
m_titleView(KDFont::SmallFont, I18n::Message::ChooseDistribution, 0.5f, 0.5f, Palette::GreyDark, Palette::WallScreen),
|
||||
m_titleView(KDFont::SmallFont, I18n::Message::ChooseDistribution, 0.5f, 0.5f, Palette::GreyDark, Palette::BackgroundApps),
|
||||
m_selectableTableView(selectableTableView)
|
||||
{}
|
||||
constexpr static KDCoordinate k_titleMargin = 8;
|
||||
|
||||
@@ -15,12 +15,12 @@ SelectableViewWithMessages::SelectableViewWithMessages(SelectableTableView * sel
|
||||
for (int i = 0; i < k_maxNumberOfLines; i++) {
|
||||
m_messageLines[i].setFont(KDFont::SmallFont);
|
||||
m_messageLines[i].setAlignment(0.5f, 0.5f);
|
||||
m_messageLines[i].setBackgroundColor(Palette::WallScreen);
|
||||
m_messageLines[i].setBackgroundColor(Palette::BackgroundApps);
|
||||
}
|
||||
}
|
||||
|
||||
void SelectableViewWithMessages::drawRect(KDContext * ctx, KDRect rect) const {
|
||||
ctx->fillRect(bounds(), Palette::WallScreen);
|
||||
ctx->fillRect(bounds(), Palette::BackgroundApps);
|
||||
}
|
||||
|
||||
void SelectableViewWithMessages::setMessages(I18n::Message * m, int numberOfMessages) {
|
||||
|
||||
@@ -17,7 +17,7 @@ AbstractScrollableMultipleExpressionsView::ContentCell::ContentCell() :
|
||||
}
|
||||
|
||||
KDColor AbstractScrollableMultipleExpressionsView::ContentCell::backgroundColor() const {
|
||||
KDColor background = m_even ? KDColorWhite : Palette::WallScreen;
|
||||
KDColor background = m_even ? KDColorWhite : Palette::BackgroundApps;
|
||||
return background;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user