aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/hotspots.h
diff options
context:
space:
mode:
authorSven Hesse2009-07-09 02:54:10 +0000
committerSven Hesse2009-07-09 02:54:10 +0000
commit3823ae285f92c0b39d141b6132a4187b1e83b6be (patch)
tree1ad3b512f6653ecd5cd7ee80ddc26e11eb9d7c56 /engines/gob/hotspots.h
parentc7eedb573ac3ac1bd4c8f8e64d75ee8ee931bc50 (diff)
downloadscummvm-rg350-3823ae285f92c0b39d141b6132a4187b1e83b6be.tar.gz
scummvm-rg350-3823ae285f92c0b39d141b6132a4187b1e83b6be.tar.bz2
scummvm-rg350-3823ae285f92c0b39d141b6132a4187b1e83b6be.zip
Giving Font its own real class
svn-id: r42277
Diffstat (limited to 'engines/gob/hotspots.h')
-rw-r--r--engines/gob/hotspots.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/gob/hotspots.h b/engines/gob/hotspots.h
index c269cbb290..a389987c27 100644
--- a/engines/gob/hotspots.h
+++ b/engines/gob/hotspots.h
@@ -32,6 +32,7 @@
namespace Gob {
+class Font;
class Script;
class Hotspots {
@@ -253,7 +254,7 @@ private:
uint16 convertSpecialKey(uint16 key) const;
/** Calculate the graphical cursor position. */
- void getTextCursorPos(const Video::FontDesc &font, const char *str,
+ void getTextCursorPos(const Font &font, const char *str,
uint32 pos, uint16 x, uint16 y, uint16 width, uint16 height,
uint16 &cursorX, uint16 &cursorY, uint16 &cursorWidth, uint16 &cursorHeight) const;