aboutsummaryrefslogtreecommitdiff
path: root/engines/access/data.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/access/data.h')
-rw-r--r--engines/access/data.h68
1 files changed, 0 insertions, 68 deletions
diff --git a/engines/access/data.h b/engines/access/data.h
index 3238dafa33..1d64a6ff86 100644
--- a/engines/access/data.h
+++ b/engines/access/data.h
@@ -82,74 +82,6 @@ public:
FileIdent _vidSound;
};
-struct FontVal {
-public:
- int _lo, _hi;
-
- FontVal() { _lo = _hi = 0; }
-};
-
-class Font {
-private:
- int _bitWidth;
- int _height;
- Common::Array<Graphics::Surface> _chars;
-public:
- static byte _fontColors[4];
-public:
- Font();
-
- ~Font();
-
- /**
- * Load the given font data
- */
- void load(const int *fontIndex, const byte *fontData);
-
- /**
- * Get the width of a given character
- */
- int charWidth(char c);
-
- /**
- * Get the width of a given string
- */
- int stringWidth(const Common::String &msg);
-
- /**
- * Get a partial string that will fit in a given width
- * @param s Source string. Modified to remove line
- * @param maxWidth Maximum width allowed
- * @param line Output line
- * @param width Calculated width of returned line
- * @returns True if last line
- */
- bool getLine(Common::String &s, int maxWidth, Common::String &line, int &width);
-
- /**
- * Draw a string on a given surface
- */
- void drawString(Graphics::Surface *s, const Common::String &msg, const Common::Point &pt);
-
- /**
- * Draw a character on a given surface
- */
- int drawChar(Graphics::Surface *s, char c, Common::Point &pt);
-};
-
-class FontManager {
-public:
- FontVal _charSet;
- FontVal _charFor;
- Common::Point _printOrg;
- Common::Point _printStart;
- int _printMaxX;
- Font _font1;
- Font _font2;
-public:
- FontManager();
-};
-
} // End of namespace Access
#endif /* ACCESS_DATA_H */