aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/hotspots.h
diff options
context:
space:
mode:
authorSven Hesse2009-07-05 19:57:22 +0000
committerSven Hesse2009-07-05 19:57:22 +0000
commit5a85a1361582b48218a914c380961ae0a8de4f68 (patch)
tree841e4ca8414c6038942f604860afa09db4a017e8 /engines/gob/hotspots.h
parent9f0245094b8eb2ba5626cf96498ee360a3366f27 (diff)
downloadscummvm-rg350-5a85a1361582b48218a914c380961ae0a8de4f68.tar.gz
scummvm-rg350-5a85a1361582b48218a914c380961ae0a8de4f68.tar.bz2
scummvm-rg350-5a85a1361582b48218a914c380961ae0a8de4f68.zip
Split off some drawing related functions
svn-id: r42147
Diffstat (limited to 'engines/gob/hotspots.h')
-rw-r--r--engines/gob/hotspots.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/gob/hotspots.h b/engines/gob/hotspots.h
index a337620710..adc65be251 100644
--- a/engines/gob/hotspots.h
+++ b/engines/gob/hotspots.h
@@ -179,6 +179,12 @@ void checkHotspotChanged();
void evaluateNew(uint16 i, uint16 *ids, InputDesc *inputs,
uint16 &validId, bool &hasInput, uint16 &inputIndex);
+
+ void printText(uint16 x, uint16 y, const char *str, uint16 fontIndex, uint16 color);
+ void fillRect(uint16 left, uint16 top, uint16 right, uint16 bottom, uint16 color);
+ void getTextCursorPos(const Video::FontDesc &font, const char *str,
+ uint32 pos, uint16 x, uint16 y, uint16 width, uint16 height,
+ uint16 &left, uint16 &top, uint16 &right, uint16 &bottom);
};
} // End of namespace Gob