From af19319a246100cf1164538589389258f8409d43 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 2 Nov 2003 19:11:03 +0000 Subject: added initial TabWidget stub (if you want to try it, I added some testing code to launcher.cpp which you just have to un-#if). This is not yet finished, obviously, but enough to 'get the idea', I hope svn-id: r11062 --- gui/launcher.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gui/launcher.cpp') diff --git a/gui/launcher.cpp b/gui/launcher.cpp index ead4891d25..18b0e8a000 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -29,6 +29,7 @@ #include "gui/options.h" #include "gui/EditTextWidget.h" #include "gui/ListWidget.h" +#include "gui/TabWidget.h" #include "backends/fs/fs.h" @@ -174,7 +175,13 @@ LauncherDialog::LauncherDialog(GameDetector &detector) new ButtonWidget(this, x, _h - 24, width, 16, "Start", kStartCmd, 'S'); x += space + width; // Add list with game titles +#if 0 + // HACK HACK HACK FIXME + new TabWidget(this, 0, 76, 320, 64); + _list = new ListWidget(this, 10, 28, 300, 46); +#else _list = new ListWidget(this, 10, 28, 300, 112); +#endif _list->setEditable(false); _list->setNumberingMode(kListNumberingOff); -- cgit v1.2.3