aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Heider2009-09-20 11:25:39 +0000
committerAndre Heider2009-09-20 11:25:39 +0000
commitcbe7cb052427d9845d6092775b6385dc61beb301 (patch)
tree7e82983392f4da234ab57b793988a12e5c9a86eb
parent5acbc3c4828c5e7cbf048caf17383e8c7db03a78 (diff)
downloadscummvm-rg350-cbe7cb052427d9845d6092775b6385dc61beb301.tar.gz
scummvm-rg350-cbe7cb052427d9845d6092775b6385dc61beb301.tar.bz2
scummvm-rg350-cbe7cb052427d9845d6092775b6385dc61beb301.zip
Added TabWidget::getActiveTab()
svn-id: r44199
-rw-r--r--gui/TabWidget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/TabWidget.h b/gui/TabWidget.h
index 3914839f63..81544c2de7 100644
--- a/gui/TabWidget.h
+++ b/gui/TabWidget.h
@@ -76,6 +76,10 @@ public:
*/
void removeTab(int tabID);
+ int getActiveTab() {
+ return _activeTab;
+ }
+
/**
* Set the active tab by specifying a valid tab ID.
* setActiveTab changes the value of _firstWidget. This means new