aboutsummaryrefslogtreecommitdiff
path: root/queen/graphics.h
diff options
context:
space:
mode:
authorDavid Eriksson2003-10-18 12:48:05 +0000
committerDavid Eriksson2003-10-18 12:48:05 +0000
commitd2e65e35e91fc3bd3074e8d44887be90079ffbf3 (patch)
tree29a504592f8e09a5e5ebdb739eb53ea603bc190d /queen/graphics.h
parent935a476a29a8f045e54e1556e1c25ff76d9b942b (diff)
downloadscummvm-rg350-d2e65e35e91fc3bd3074e8d44887be90079ffbf3.tar.gz
scummvm-rg350-d2e65e35e91fc3bd3074e8d44887be90079ffbf3.tar.bz2
scummvm-rg350-d2e65e35e91fc3bd3074e8d44887be90079ffbf3.zip
Handle cutaway text.
svn-id: r10892
Diffstat (limited to 'queen/graphics.h')
-rw-r--r--queen/graphics.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/queen/graphics.h b/queen/graphics.h
index 6fe656e3cc..b92685485d 100644
--- a/queen/graphics.h
+++ b/queen/graphics.h
@@ -148,7 +148,8 @@ public:
void textSetCentered(uint16 y, const char *text, bool outlined = true);
void textDrawAll(); // drawtext()
void textClear(uint16 y1, uint16 y2); // blanktexts()
- uint16 textWidth(const char* text) const; // textlen()
+ uint16 textWidth(const char *text) const; // textlen()
+ int textCenterX(const char *text) const; // MIDDLE()
void frameErase(uint32 fslot);
void frameEraseAll(bool joe); // freeframes, freeallframes