diff options
author | Alexander Tkachev | 2016-06-29 21:07:12 +0600 |
---|---|---|
committer | Eugene Sandulenko | 2016-07-03 12:22:10 +0200 |
commit | 80412a4139d19024a9ef941004380e6bbb8d4da9 (patch) | |
tree | 6450b90d4c7902747f01ecda4d1abb42a9b03661 /gui/widgets | |
parent | ee00156d5450b01508894013dc446ef3d928d781 (diff) | |
download | scummvm-rg350-80412a4139d19024a9ef941004380e6bbb8d4da9.tar.gz scummvm-rg350-80412a4139d19024a9ef941004380e6bbb8d4da9.tar.bz2 scummvm-rg350-80412a4139d19024a9ef941004380e6bbb8d4da9.zip |
GUI: Add drawTabClip()
Diffstat (limited to 'gui/widgets')
-rw-r--r-- | gui/widgets/tab.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/widgets/tab.cpp b/gui/widgets/tab.cpp index 393f63aac0..784e438952 100644 --- a/gui/widgets/tab.cpp +++ b/gui/widgets/tab.cpp @@ -308,9 +308,9 @@ void TabWidget::drawWidget() { for (int i = _firstVisibleTab; i < (int)_tabs.size(); ++i) { tabs.push_back(_tabs[i].title); } - g_gui.theme()->drawDialogBackground(Common::Rect(_x + _bodyLP, _y + _bodyTP, _x+_w-_bodyRP, _y+_h-_bodyBP+_tabHeight), _bodyBackgroundType); + g_gui.theme()->drawDialogBackgroundClip(Common::Rect(_x + _bodyLP, _y + _bodyTP, _x+_w-_bodyRP, _y+_h-_bodyBP+_tabHeight), getBossClipRect(), _bodyBackgroundType); - g_gui.theme()->drawTab(Common::Rect(_x, _y, _x+_w, _y+_h), _tabHeight, _tabWidth, tabs, _activeTab - _firstVisibleTab, 0, _titleVPad); + g_gui.theme()->drawTabClip(Common::Rect(_x, _y, _x+_w, _y+_h), getBossClipRect(), _tabHeight, _tabWidth, tabs, _activeTab - _firstVisibleTab, 0, _titleVPad); } void TabWidget::draw() { |