aboutsummaryrefslogtreecommitdiff
path: root/engines/access/bubble_box.h
diff options
context:
space:
mode:
authorPaul Gilbert2014-08-17 12:01:28 -0400
committerPaul Gilbert2014-08-17 12:01:28 -0400
commit77626b72a59f0a9bf35da3f77032c018fe5d7963 (patch)
treeb5c4b61fc810b0e110f5bc8717edaf9d43bfe2ab /engines/access/bubble_box.h
parent404c7cd5d33e81c7724cb78dfce5701b26b4659b (diff)
downloadscummvm-rg350-77626b72a59f0a9bf35da3f77032c018fe5d7963.tar.gz
scummvm-rg350-77626b72a59f0a9bf35da3f77032c018fe5d7963.tar.bz2
scummvm-rg350-77626b72a59f0a9bf35da3f77032c018fe5d7963.zip
ACCESS: Add missing string parameters to bubble box methods
Diffstat (limited to 'engines/access/bubble_box.h')
-rw-r--r--engines/access/bubble_box.h24
1 files changed, 17 insertions, 7 deletions
diff --git a/engines/access/bubble_box.h b/engines/access/bubble_box.h
index e02fa7c572..189e0b1c04 100644
--- a/engines/access/bubble_box.h
+++ b/engines/access/bubble_box.h
@@ -58,13 +58,23 @@ public:
void clearBubbles();
- void placeBubble();
- void placeBubble1();
-
- void calcBubble();
-
- void printBubble();
-
+ void placeBubble(const Common::String &msg);
+ void placeBubble1(const Common::String &msg);
+
+ /**
+ * Calculate the size of a bubble needed to hold a given string
+ */
+ void calcBubble(const Common::String &msg);
+
+ /**
+ * Prints a text bubble and it's contents
+ */
+ void printBubble(const Common::String &msg);
+
+ /*
+ * Draws the background for a text bubble
+ * @param index Index of bounds in _bubbles array
+ */
void drawBubble(int index);