diff options
author | Vicent Marti | 2008-08-14 23:17:41 +0000 |
---|---|---|
committer | Vicent Marti | 2008-08-14 23:17:41 +0000 |
commit | 8e60e6c558be96286ad8df3502c69060f9db117c (patch) | |
tree | 233a0dd4538f43ada920e6d605049ed9f5c2ca71 /gui/TabWidget.h | |
parent | 8eaa982c41a083337aa512f1d303b178d25f6a2a (diff) | |
download | scummvm-rg350-8e60e6c558be96286ad8df3502c69060f9db117c.tar.gz scummvm-rg350-8e60e6c558be96286ad8df3502c69060f9db117c.tar.bz2 scummvm-rg350-8e60e6c558be96286ad8df3502c69060f9db117c.zip |
Misc GFX tweaks.
svn-id: r33883
Diffstat (limited to 'gui/TabWidget.h')
-rw-r--r-- | gui/TabWidget.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/TabWidget.h b/gui/TabWidget.h index bf316a7ac3..3dffcd2afe 100644 --- a/gui/TabWidget.h +++ b/gui/TabWidget.h @@ -85,6 +85,11 @@ public: * Widgets are always added to the active tab. */ void setActiveTab(int tabID); + + void setTabTitle(int tabID, const String &title) { + assert(0 <= tabID && tabID < (int)_tabs.size()); + _tabs[tabID].title = title; + } virtual void handleMouseDown(int x, int y, int button, int clickCount); virtual bool handleKeyDown(Common::KeyState state); |