aboutsummaryrefslogtreecommitdiff
path: root/gui/widgets/tab.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/widgets/tab.h')
-rw-r--r--gui/widgets/tab.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/widgets/tab.h b/gui/widgets/tab.h
index 8411509bd0..1aa9ded031 100644
--- a/gui/widgets/tab.h
+++ b/gui/widgets/tab.h
@@ -38,6 +38,7 @@ class TabWidget : public Widget {
typedef Common::String String;
struct Tab {
String title;
+ String dialogName;
Widget *firstWidget;
int _tabWidth;
};
@@ -73,7 +74,7 @@ public:
* Add a new tab with the given title. Returns a unique ID which can be used
* to identify the tab (to remove it / activate it etc.).
*/
- int addTab(const String &title);
+ int addTab(const String &title, const String &dialogName);
/**
* Remove the tab with the given tab ID. Disposes all child widgets of that tab.