diff options
Diffstat (limited to 'gui/ScrollBarWidget.cpp')
-rw-r--r-- | gui/ScrollBarWidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gui/ScrollBarWidget.cpp b/gui/ScrollBarWidget.cpp index 52af9c97b5..2838ce19ee 100644 --- a/gui/ScrollBarWidget.cpp +++ b/gui/ScrollBarWidget.cpp @@ -187,15 +187,15 @@ void ScrollBarWidget::drawWidget() { if (_draggingPart != kNoPart) _part = _draggingPart; - Theme::ScrollbarState state = Theme::kScrollbarStateNo; + ThemeEngine::ScrollbarState state = ThemeEngine::kScrollbarStateNo; if (_numEntries <= _entriesPerPage) { - state = Theme::kScrollbarStateSinglePage; + state = ThemeEngine::kScrollbarStateSinglePage; } else if (_part == kUpArrowPart) { - state = Theme::kScrollbarStateUp; + state = ThemeEngine::kScrollbarStateUp; } else if (_part == kDownArrowPart) { - state = Theme::kScrollbarStateDown; + state = ThemeEngine::kScrollbarStateDown; } else if (_part == kSliderPart) { - state = Theme::kScrollbarStateSlider; + state = ThemeEngine::kScrollbarStateSlider; } g_gui.theme()->drawScrollbar(Common::Rect(_x, _y, _x+_w, _y+_h), _sliderPos, _sliderHeight, state, _state); |