For a smoother user experience, use different colors for inverted text of the ListWidget, depending on whether the widget has focus or not.
svn-id: r42512
This commit is contained in:
parent
6a15e14d3f
commit
6a26f1b56f
11 changed files with 376 additions and 334 deletions
|
@ -247,7 +247,7 @@ void AboutDialog::drawDialog() {
|
|||
str++;
|
||||
|
||||
if (*str && y > _y && y + g_gui.theme()->getFontHeight() < _y + _h)
|
||||
g_gui.theme()->drawText(Common::Rect(_x + _xOff, y, _x + _w - _xOff, y + g_gui.theme()->getFontHeight()), str, state, align, false, 0, false);
|
||||
g_gui.theme()->drawText(Common::Rect(_x + _xOff, y, _x + _w - _xOff, y + g_gui.theme()->getFontHeight()), str, state, align, ThemeEngine::kTextInversionNone, 0, false);
|
||||
y += _lineHeight;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue