diff options
author | Max Horn | 2002-11-10 14:53:28 +0000 |
---|---|---|
committer | Max Horn | 2002-11-10 14:53:28 +0000 |
commit | 42e6a81629fa0c3fc49a81a1a4f3102a1d5b56f9 (patch) | |
tree | 3d301fc972b061a4d351dea638179408598e3613 /gui/message.h | |
parent | 54aa3f898d93813a5a6ff41cc0832c4c635165d4 (diff) | |
download | scummvm-rg350-42e6a81629fa0c3fc49a81a1a4f3102a1d5b56f9.tar.gz scummvm-rg350-42e6a81629fa0c3fc49a81a1a4f3102a1d5b56f9.tar.bz2 scummvm-rg350-42e6a81629fa0c3fc49a81a1a4f3102a1d5b56f9.zip |
improved MessageDialog: long lines are split now (this needs improvement to favor splitting at spaces); maximum size is restricted to 300x180
svn-id: r5491
Diffstat (limited to 'gui/message.h')
-rw-r--r-- | gui/message.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/message.h b/gui/message.h index 136d96be98..5b5c3ccea7 100644 --- a/gui/message.h +++ b/gui/message.h @@ -23,13 +23,18 @@ #include "dialog.h" #include "common/str.h" +#include "common/list.h" class MessageDialog : public Dialog { typedef ScummVM::String String; + typedef ScummVM::StringList StringList; public: MessageDialog(NewGui *gui, const String &message); protected: + StringList _lines; + + int addLine(const char *line, int size); }; #endif |