aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/mads_views.h
diff options
context:
space:
mode:
authorPaul Gilbert2010-03-27 10:44:38 +0000
committerPaul Gilbert2010-03-27 10:44:38 +0000
commita2de7bb0ef8118c32e6e3ad1a945a8021544c519 (patch)
treed90c6fa014f68bfd3ca73998263b08cecacf60c9 /engines/m4/mads_views.h
parent38f2c1b7a4eaa3dc136c6cd3c29d2b76f223d153 (diff)
downloadscummvm-rg350-a2de7bb0ef8118c32e6e3ad1a945a8021544c519.tar.gz
scummvm-rg350-a2de7bb0ef8118c32e6e3ad1a945a8021544c519.tar.bz2
scummvm-rg350-a2de7bb0ef8118c32e6e3ad1a945a8021544c519.zip
Added the game options dialog, along with several bugfixes to dialog display code
svn-id: r48410
Diffstat (limited to 'engines/m4/mads_views.h')
-rw-r--r--engines/m4/mads_views.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/m4/mads_views.h b/engines/m4/mads_views.h
index 294eb3bd1a..8cd2024180 100644
--- a/engines/m4/mads_views.h
+++ b/engines/m4/mads_views.h
@@ -77,6 +77,10 @@ public:
int getIndex();
void addSprites(const char *resName);
+ void clear() {
+ startIndex = 0;
+ _sprites.clear();
+ }
void draw(View *view);
};
@@ -114,6 +118,7 @@ public:
}
int add(int xp, int yp, uint fontColour, int charSpacing, const char *msg, Font *font);
+ void clear();
void draw(View *view);
};