aboutsummaryrefslogtreecommitdiff
path: root/gui/ListWidget.h
diff options
context:
space:
mode:
authorMax Horn2003-11-02 14:50:53 +0000
committerMax Horn2003-11-02 14:50:53 +0000
commite9ae86bb76bf6087a1bb11f6158fd96676572866 (patch)
tree6d2035662a6c88338b15e5e884f7a2da8a4fe155 /gui/ListWidget.h
parent70a1d438154a2becf5f55224cb34ba44317c2e86 (diff)
downloadscummvm-rg350-e9ae86bb76bf6087a1bb11f6158fd96676572866.tar.gz
scummvm-rg350-e9ae86bb76bf6087a1bb11f6158fd96676572866.tar.bz2
scummvm-rg350-e9ae86bb76bf6087a1bb11f6158fd96676572866.zip
introduced common base class GuiObject for Dialog/Widget -> step towards making it possible to nest widgets (needed for TabWidget)
svn-id: r11052
Diffstat (limited to 'gui/ListWidget.h')
-rw-r--r--gui/ListWidget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/ListWidget.h b/gui/ListWidget.h
index f61ff55259..cbff05faaa 100644
--- a/gui/ListWidget.h
+++ b/gui/ListWidget.h
@@ -41,7 +41,7 @@ enum {
};
/* ListWidget */
-class ListWidget : public Widget, public CommandReceiver, public CommandSender {
+class ListWidget : public Widget, public CommandSender {
typedef Common::StringList StringList;
typedef Common::String String;
protected:
@@ -58,7 +58,7 @@ protected:
bool _caretVisible;
uint32 _caretTime;
public:
- ListWidget(Dialog *boss, int x, int y, int w, int h);
+ ListWidget(GuiObject *boss, int x, int y, int w, int h);
virtual ~ListWidget();
void setList(const StringList& list);