diff options
author | Torbjörn Andersson | 2006-02-24 19:33:23 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-02-24 19:33:23 +0000 |
commit | 0c91e91b44eaa82902b76522ed8a1340e89cbefe (patch) | |
tree | 0df0fd25b772c577e06c7de7ff6c3c08a297c5e8 | |
parent | 6cf5d85e8e33263007f6f7a1b54f8410b8e8e8e6 (diff) | |
download | scummvm-rg350-0c91e91b44eaa82902b76522ed8a1340e89cbefe.tar.gz scummvm-rg350-0c91e91b44eaa82902b76522ed8a1340e89cbefe.tar.bz2 scummvm-rg350-0c91e91b44eaa82902b76522ed8a1340e89cbefe.zip |
Cleanup
svn-id: r20840
-rw-r--r-- | gui/ListWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/ListWidget.cpp b/gui/ListWidget.cpp index 271577866f..c1aa044af8 100644 --- a/gui/ListWidget.cpp +++ b/gui/ListWidget.cpp @@ -309,7 +309,7 @@ void ListWidget::drawWidget(bool hilite) { Common::String buffer; // Draw a thin frame around the list. - g_gui.theme()->drawWidgetBackground(Common::Rect(_x, _y, _x+_w, _y+_h), _hints, Theme::kWidgetBackgroundBorder); + g_gui.theme()->drawWidgetBackground(Common::Rect(_x, _y, _x + _w, _y + _h), _hints, Theme::kWidgetBackgroundBorder); // Draw the list items for (i = 0, pos = _currentPos; i < _entriesPerPage && pos < len; i++, pos++) { @@ -322,7 +322,7 @@ void ListWidget::drawWidget(bool hilite) { if (_hasFocus) inverted = true; else - g_gui.theme()->drawWidgetBackground(Common::Rect(_x, _y + 1 + kLineHeight * i, _x + _w - 1, y + fontHeight - 1), _hints, Theme::kWidgetBackgroundBorderSmall); + g_gui.theme()->drawWidgetBackground(Common::Rect(_x, y - 1, _x + _w - 1, y + fontHeight - 1), _hints, Theme::kWidgetBackgroundBorderSmall); } Common::Rect r(getEditRect()); |