diff options
author | Max Horn | 2002-09-28 19:25:09 +0000 |
---|---|---|
committer | Max Horn | 2002-09-28 19:25:09 +0000 |
commit | 94b55db8215e709a40cc562df3d8e1540e6b5174 (patch) | |
tree | 27c59541d7f9dc98f8af3635aff2fbe6ffe5c51e /scumm/dialogs.h | |
parent | 9dc5fe2a1dc4196d5785b484bfb1a96d33d732e8 (diff) | |
download | scummvm-rg350-94b55db8215e709a40cc562df3d8e1540e6b5174.tar.gz scummvm-rg350-94b55db8215e709a40cc562df3d8e1540e6b5174.tar.bz2 scummvm-rg350-94b55db8215e709a40cc562df3d8e1540e6b5174.zip |
patch #612722: MI2 NewGui title fix
svn-id: r5030
Diffstat (limited to 'scumm/dialogs.h')
-rw-r--r-- | scumm/dialogs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/dialogs.h b/scumm/dialogs.h index bc8111ea8b..f6f925b988 100644 --- a/scumm/dialogs.h +++ b/scumm/dialogs.h @@ -21,26 +21,26 @@ #ifndef SCUMM_DIALOGS_H #define SCUMM_DIALOGS_H +#include "common/str.h" #include "gui/dialog.h" class ListWidget; class Scumm; -#define RES_STRING(id) queryResString(id) -#define CUSTOM_STRING(id) queryCustomString(id) - class ScummDialog : public Dialog { public: ScummDialog(NewGui *gui, Scumm *scumm, int x, int y, int w, int h) : Dialog(gui, x, y, w, h), _scumm(scumm) {} protected: + typedef ScummVM::String String; + Scumm *_scumm; void addResText(int x, int y, int w, int h, int resID); // Query a string from the resources - const char *queryResString(int stringno); + const String queryResString(int stringno); // Query a custom string. This is in a seperate method so that we // can easily localize the messages in the future if we want to. |