From 5a85a1361582b48218a914c380961ae0a8de4f68 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Sun, 5 Jul 2009 19:57:22 +0000 Subject: Split off some drawing related functions svn-id: r42147 --- engines/gob/hotspots.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/gob/hotspots.h') 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 -- cgit v1.2.3