diff options
Diffstat (limited to 'gui/widgets/tab.cpp')
-rw-r--r-- | gui/widgets/tab.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gui/widgets/tab.cpp b/gui/widgets/tab.cpp index dfcb919264..696289ef68 100644 --- a/gui/widgets/tab.cpp +++ b/gui/widgets/tab.cpp @@ -320,9 +320,12 @@ void TabWidget::drawWidget() { tabs.push_back(_tabs[i].title); widths.push_back(_tabs[i]._tabWidth); } - g_gui.theme()->drawDialogBackgroundClip(Common::Rect(_x + _bodyLP, _y + _bodyTP, _x+_w-_bodyRP, _y+_h-_bodyBP+_tabHeight), getBossClipRect(), _bodyBackgroundType); + g_gui.theme()->drawDialogBackground( + Common::Rect(_x + _bodyLP, _y + _bodyTP, _x + _w - _bodyRP, _y + _h - _bodyBP + _tabHeight), + _bodyBackgroundType); - g_gui.theme()->drawTabClip(Common::Rect(_x, _y, _x+_w, _y+_h), getBossClipRect(), _tabHeight, widths, tabs, _activeTab - _firstVisibleTab, 0, _titleVPad); + g_gui.theme()->drawTab(Common::Rect(_x, _y, _x + _w, _y + _h), _tabHeight, widths, tabs, + _activeTab - _firstVisibleTab); } void TabWidget::draw() { |