diff options
author | Paul Gilbert | 2014-08-16 22:18:53 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-08-16 22:18:53 -0400 |
commit | f784b4efba7518806195f96d0177ccdc6e2dbaf8 (patch) | |
tree | 530d1853a463f2c2d47640be18dacf62165e9a00 /engines/access/data.h | |
parent | 8d6c8ed452bc60a963774ea7a26ff92472752d63 (diff) | |
download | scummvm-rg350-f784b4efba7518806195f96d0177ccdc6e2dbaf8.tar.gz scummvm-rg350-f784b4efba7518806195f96d0177ccdc6e2dbaf8.tar.bz2 scummvm-rg350-f784b4efba7518806195f96d0177ccdc6e2dbaf8.zip |
ACCESS: Added data for font2 and font6x6
Diffstat (limited to 'engines/access/data.h')
-rw-r--r-- | engines/access/data.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/engines/access/data.h b/engines/access/data.h index 93184563c4..6d783b15dc 100644 --- a/engines/access/data.h +++ b/engines/access/data.h @@ -86,9 +86,40 @@ public: }; class Font { +private: + int _v1; + int _v2; + Common::Array<const byte *> _chars; +public: + Font(); + + /** + * Load the given font data + */ + void load(const int *index, const byte *data); + + /** + * Get the width of a given character + */ + int charWidth(char c); + + /** + * Get the width of a given string + */ + int stringWidth(const Common::String &msg); +}; + +class FontManager { public: FontVal _charSet; FontVal _charFor; + Common::Point _printOrg; + Common::Point _printStart; + int _printMaxX; + Font _font6x6; + Font _font2; +public: + FontManager(); }; } // End of namespace Access |