aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/macfontmanager.h
diff options
context:
space:
mode:
authorEugene Sandulenko2017-02-04 16:04:36 +0100
committerEugene Sandulenko2017-02-04 16:04:36 +0100
commit1a4be95aaa3ae8a857a9d3d2b3903b42396b443d (patch)
tree3106e310ba4d76a4e60ae5730a79df9dd8d5f4ff /graphics/macgui/macfontmanager.h
parent91d85feace2588c4e9673148e453e8a6fdc0bcb5 (diff)
downloadscummvm-rg350-1a4be95aaa3ae8a857a9d3d2b3903b42396b443d.tar.gz
scummvm-rg350-1a4be95aaa3ae8a857a9d3d2b3903b42396b443d.tar.bz2
scummvm-rg350-1a4be95aaa3ae8a857a9d3d2b3903b42396b443d.zip
GRAPHICS: Try to generate font names from slant in MacFontManager
Diffstat (limited to 'graphics/macgui/macfontmanager.h')
-rw-r--r--graphics/macgui/macfontmanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/macgui/macfontmanager.h b/graphics/macgui/macfontmanager.h
index 07407e2655..c154b8ba66 100644
--- a/graphics/macgui/macfontmanager.h
+++ b/graphics/macgui/macfontmanager.h
@@ -123,7 +123,7 @@ public:
* @param size size of the font
* @return the font name or NULL if ID goes beyond the mapping
*/
- const char *getFontName(int id, int size, int slant = kMacFontRegular);
+ const char *getFontName(int id, int size, int slant = kMacFontRegular, bool tryGen = false);
const char *getFontName(MacFont &font);
int getFontIdByName(Common::String name);