aboutsummaryrefslogtreecommitdiff
path: root/engines/gargoyle/screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gargoyle/screen.h')
-rw-r--r--engines/gargoyle/screen.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/engines/gargoyle/screen.h b/engines/gargoyle/screen.h
index b1d24fa557..8cdf988777 100644
--- a/engines/gargoyle/screen.h
+++ b/engines/gargoyle/screen.h
@@ -28,9 +28,14 @@
namespace Gargoyle {
-class Screen : public Graphics::Screen, Fonts {
+class Screen : public Graphics::Screen, public Fonts {
public:
/**
+ * Constructor
+ */
+ Screen() : Graphics::Screen(), Fonts(this) {}
+
+ /**
* Fills the screen with a given rgb color
*/
void fill(const byte *rgb);
@@ -40,14 +45,6 @@ public:
*/
void fillRect(uint x, uint y, uint w, uint h, const byte *rgb);
- int drawString(int x, int y, int fidx, const byte *rgb, const char *s, int n, int spw);
-
- int drawStringUni(int x, int y, int fidx, const byte *rgb, const uint32 *s, int n, int spw);
-
- int stringWidth(int fidx, const char *s, int n, int spw);
-
- int stringWidthUni(int fidx, const uint32 *s, int n, int spw);
-
void drawCaret(const Common::Point &pos);
};