mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-20 06:10:31 +01:00
New Default theme: Omega theme! (Beta)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
ExpressionTableCellWithPointer::ExpressionTableCellWithPointer(I18n::Message accessoryMessage, Layout layout) :
|
||||
ExpressionTableCell(layout),
|
||||
m_accessoryView(KDFont::SmallFont, accessoryMessage, 0.0f, 0.5f, Palette::GreyDark, Palette::BackgroundHard)
|
||||
m_accessoryView(KDFont::SmallFont, accessoryMessage, 0.0f, 0.5f, Palette::SecondaryText, Palette::ListCellBackground)
|
||||
{
|
||||
if (layout == Layout::Horizontal) {
|
||||
m_accessoryView.setAlignment(1.0f, 0.5f);
|
||||
@@ -17,7 +17,7 @@ View * ExpressionTableCellWithPointer::accessoryView() const {
|
||||
|
||||
void ExpressionTableCellWithPointer::setHighlighted(bool highlight) {
|
||||
ExpressionTableCell::setHighlighted(highlight);
|
||||
KDColor backgroundColor = highlight? Palette::Select : Palette::BackgroundHard;
|
||||
KDColor backgroundColor = highlight? Palette::ListCellBackgroundSelected : Palette::ListCellBackground;
|
||||
m_accessoryView.setBackgroundColor(backgroundColor);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user