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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gui/widgets/tab.h b/gui/widgets/tab.h
index b19036979e..148f164fbb 100644
--- a/gui/widgets/tab.h
+++ b/gui/widgets/tab.h
@@ -17,6 +17,7 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
*/
#ifndef GUI_WIDGETS_TAB_H
@@ -28,6 +29,11 @@
namespace GUI {
+enum {
+ kTabForwards = 1,
+ kTabBackwards = -1
+};
+
class TabWidget : public Widget {
typedef Common::String String;
struct Tab {
@@ -108,6 +114,8 @@ protected:
virtual void drawWidget();
virtual Widget *findWidget(int x, int y);
+
+ virtual void adjustTabs(int value);
};
} // End of namespace GUI