aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/dialogs.h
diff options
context:
space:
mode:
authorPaul Gilbert2017-12-10 21:40:58 -0500
committerPaul Gilbert2017-12-10 21:40:58 -0500
commit3f293e898596f85f805d9d711d72634683b71d2c (patch)
tree60beb8389492b53192b359c40052a57a28d52106 /engines/xeen/dialogs.h
parent618d256a92c881d580efe27f68febfa7a9471273 (diff)
downloadscummvm-rg350-3f293e898596f85f805d9d711d72634683b71d2c.tar.gz
scummvm-rg350-3f293e898596f85f805d9d711d72634683b71d2c.tar.bz2
scummvm-rg350-3f293e898596f85f805d9d711d72634683b71d2c.zip
XEEN: Implemented awards listing dialog
Diffstat (limited to 'engines/xeen/dialogs.h')
-rw-r--r--engines/xeen/dialogs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/xeen/dialogs.h b/engines/xeen/dialogs.h
index 921c72a33f..680963f907 100644
--- a/engines/xeen/dialogs.h
+++ b/engines/xeen/dialogs.h
@@ -52,6 +52,7 @@ private:
Common::Stack< Common::Array<UIButton> > _savedButtons;
protected:
Common::Array<UIButton> _buttons;
+ Common::StringArray _textStrings;
int _buttonValue;
bool checkEvents(XeenEngine *vm);
@@ -63,6 +64,12 @@ protected:
* @returns True if key or mouse pressed
*/
virtual bool doScroll(bool rollUp, bool fadeIn);
+
+ /**
+ * Load a set of text strings from the given resource
+ * @param name Name of resource containing strings
+ */
+ void loadStrings(const Common::String &name);
public:
ButtonContainer(XeenEngine *vm) : Cutscenes(vm), _buttonValue(0) {}