diff options
| author | Max Horn | 2005-01-15 21:33:56 +0000 |
|---|---|---|
| committer | Max Horn | 2005-01-15 21:33:56 +0000 |
| commit | f7c14e04d275015b257c88ae2fb9758bcc8803a1 (patch) | |
| tree | 92265e6a6c4e23ff27f856c71451e2e8cbf8092b /gui | |
| parent | 2f20dd57c2da6507a65811ce14cadb4bef1012ff (diff) | |
| download | scummvm-rg350-f7c14e04d275015b257c88ae2fb9758bcc8803a1.tar.gz scummvm-rg350-f7c14e04d275015b257c88ae2fb9758bcc8803a1.tar.bz2 scummvm-rg350-f7c14e04d275015b257c88ae2fb9758bcc8803a1.zip | |
Fix up/down arrows
svn-id: r16563
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/ScrollBarWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/ScrollBarWidget.cpp b/gui/ScrollBarWidget.cpp index 0d90414d78..0ef34f8169 100644 --- a/gui/ScrollBarWidget.cpp +++ b/gui/ScrollBarWidget.cpp @@ -225,13 +225,13 @@ void ScrollBarWidget::drawWidget(bool hilite) { // Up arrow gui->frameRect(_x, _y, _w, UP_DOWN_BOX_HEIGHT, gui->_color); - gui->drawBitmap(up_arrow, _x, _y, + gui->drawBitmap(up_arrow, _x + 1, _y, isSinglePage ? gui->_color : (hilite && _part == kUpArrowPart) ? gui->_textcolorhi : gui->_textcolor); // Down arrow gui->frameRect(_x, bottomY - UP_DOWN_BOX_HEIGHT, _w, UP_DOWN_BOX_HEIGHT, gui->_color); - gui->drawBitmap(down_arrow, _x, bottomY - UP_DOWN_BOX_HEIGHT, + gui->drawBitmap(down_arrow, _x + 1, bottomY - UP_DOWN_BOX_HEIGHT, isSinglePage ? gui->_color : (hilite && _part == kDownArrowPart) ? gui->_textcolorhi : gui->_textcolor); |
