aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2011-03-17 17:46:38 +0200
committerEugene Sandulenko2011-03-17 17:46:38 +0200
commit0389bd0c4b10e8286b6c2e52c726bfc370487ae5 (patch)
tree358951dac67137fe36bd72e2c7a03be800bddc5b
parent4ea65d0a1e6c300007efc314d32936594818a003 (diff)
downloadscummvm-rg350-0389bd0c4b10e8286b6c2e52c726bfc370487ae5.tar.gz
scummvm-rg350-0389bd0c4b10e8286b6c2e52c726bfc370487ae5.tar.bz2
scummvm-rg350-0389bd0c4b10e8286b6c2e52c726bfc370487ae5.zip
HUGO: Fix compilation
-rw-r--r--engines/hugo/dialogs.cpp9
-rw-r--r--engines/hugo/dialogs.h2
2 files changed, 10 insertions, 1 deletions
diff --git a/engines/hugo/dialogs.cpp b/engines/hugo/dialogs.cpp
index 5907012fb6..ead432c5df 100644
--- a/engines/hugo/dialogs.cpp
+++ b/engines/hugo/dialogs.cpp
@@ -239,6 +239,9 @@ EntryDialog::EntryDialog(const Common::String &title, const Common::String &butt
new GUI::ButtonWidget(this, 20, 20, 30, 10, buttonLabel, 0, kCmdButton);
}
+EntryDialog::~EntryDialog() {
+}
+
void EntryDialog::handleCommand(GUI::CommandSender *sender, uint32 command, uint32 data) {
switch (command) {
case kCmdButton:
@@ -249,5 +252,11 @@ void EntryDialog::handleCommand(GUI::CommandSender *sender, uint32 command, uint
}
}
+void EntryDialog::reflowLayout() {
+}
+
+void EntryDialog::init() {
+}
+
} // End of namespace Hugo
diff --git a/engines/hugo/dialogs.h b/engines/hugo/dialogs.h
index ce53dab45e..1ef196a708 100644
--- a/engines/hugo/dialogs.h
+++ b/engines/hugo/dialogs.h
@@ -102,7 +102,7 @@ protected:
class EntryDialog : public GUI::Dialog {
EntryDialog(const Common::String &title, const Common::String &buttonLabel, const Common::String &defaultValue);
- ~EntryDialog();
+ virtual ~EntryDialog();
void reflowLayout();
void handleCommand(GUI::CommandSender *sender, uint32 command, uint32 data);