diff options
Diffstat (limited to 'graphics/fonts/bdf.h')
-rw-r--r-- | graphics/fonts/bdf.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/fonts/bdf.h b/graphics/fonts/bdf.h index b0166a2095..b91834785f 100644 --- a/graphics/fonts/bdf.h +++ b/graphics/fonts/bdf.h @@ -17,6 +17,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * */ #ifndef GRAPHICS_FONTS_BDF_H @@ -61,14 +62,14 @@ public: virtual int getFontHeight() const; virtual int getMaxCharWidth() const; - virtual int getCharWidth(byte chr) const; - virtual void drawChar(Surface *dst, byte chr, int x, int y, uint32 color) const; + virtual int getCharWidth(uint32 chr) const; + virtual void drawChar(Surface *dst, uint32 chr, int x, int y, uint32 color) const; static BdfFont *loadFont(Common::SeekableReadStream &stream); static bool cacheFontData(const BdfFont &font, const Common::String &filename); static BdfFont *loadFromCache(Common::SeekableReadStream &stream); private: - int mapToIndex(byte ch) const; + int mapToIndex(uint32 ch) const; const BdfFontData _data; const DisposeAfterUse::Flag _dispose; |