aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/dialogs.h
diff options
context:
space:
mode:
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) {}