mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 06:41:51 +00:00
Fix up/down arrows
svn-id: r16563
This commit is contained in:
parent
2f20dd57c2
commit
f7c14e04d2
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user