diff options
author | Chris Warren-Smith | 2011-08-07 21:33:32 +1000 |
---|---|---|
committer | Chris Warren-Smith | 2011-08-21 16:37:06 +1000 |
commit | 59739a7a0e3e4826ba7b27d5270a8d7a26b787ef (patch) | |
tree | dcf98438157963eabd0ca4499b7794548b08f5fa /graphics/fontman.h | |
parent | f705a9b2865a3379b3423c7cc929086eee17a4f1 (diff) | |
download | scummvm-rg350-59739a7a0e3e4826ba7b27d5270a8d7a26b787ef.tar.gz scummvm-rg350-59739a7a0e3e4826ba7b27d5270a8d7a26b787ef.tar.bz2 scummvm-rg350-59739a7a0e3e4826ba7b27d5270a8d7a26b787ef.zip |
BADA: Initial BADA port implementation
Diffstat (limited to 'graphics/fontman.h')
-rw-r--r-- | graphics/fontman.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/fontman.h b/graphics/fontman.h index 858a733d45..7c132e613e 100644 --- a/graphics/fontman.h +++ b/graphics/fontman.h @@ -60,6 +60,16 @@ public: bool assignFontToName(const Common::String &name, const Font *font); /** + * Associates a BDF font object with an 'usage'. This is useful for platforms + * with a screen DPI much larger than a regular desktop workstation. + * + * @param name the name of the font + * @param font the font object + * @return true on success, false on failure + */ + bool assignFontToUsage(FontUsage usage, const Font *font); + + /** * Removes binding from name to font * * @param name name which should be removed |