aboutsummaryrefslogtreecommitdiff
path: root/engines/access/data.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/access/data.h')
-rw-r--r--engines/access/data.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/access/data.h b/engines/access/data.h
index 6d783b15dc..910e2523d1 100644
--- a/engines/access/data.h
+++ b/engines/access/data.h
@@ -107,6 +107,17 @@ public:
* Get the width of a given string
*/
int stringWidth(const Common::String &msg);
+
+ /**
+ * Get a partial string that will fit in a given width
+ * @param s Source string. Modified to remove line
+ * @param maxWidth Maximum width allowed
+ * @param line Output line
+ * @param width Calculated width of returned line
+ * @returns True if last line
+ */
+ bool getLine(Common::String &s, int maxWidth, Common::String &line, int &width);
+
};
class FontManager {