diff options
Diffstat (limited to 'gui/widgets/scrollcontainer.h')
-rw-r--r-- | gui/widgets/scrollcontainer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/widgets/scrollcontainer.h b/gui/widgets/scrollcontainer.h index fd8db765a3..d534a6352b 100644 --- a/gui/widgets/scrollcontainer.h +++ b/gui/widgets/scrollcontainer.h @@ -34,7 +34,7 @@ class ScrollContainerWidget: public Widget, public CommandSender { int16 _scrolledX, _scrolledY; uint16 _limitH; uint32 _reflowCmd; - ThemeEngine::DialogBackground _backgroundType; + ThemeEngine::WidgetBackground _backgroundType; Common::String _dialogName; void recalc(); @@ -52,11 +52,10 @@ public: Common::Rect getClipRect() const override; - void setBackgroundType(ThemeEngine::DialogBackground backgroundType); + void setBackgroundType(ThemeEngine::WidgetBackground backgroundType); void handleMouseWheel(int x, int y, int direction) override; -protected: // We overload getChildY to make sure child widgets are positioned correctly. // Essentially this compensates for the space taken up by the tab title header. int16 getChildX() const override; @@ -64,6 +63,7 @@ protected: uint16 getWidth() const override; uint16 getHeight() const override; +protected: void drawWidget() override; Widget *findWidget(int x, int y) override; |