GRAPHICS: Get rid of kSODFont (ScummFont)
OSD is now using the kGUIFont instead. The main advantage is that the kGUIFont can be used for translated text while only ASCII characters were present in ScummFont.
This commit is contained in:
parent
72080d8972
commit
592cca5402
8 changed files with 7 additions and 341 deletions
|
@ -2060,7 +2060,7 @@ void SdlGraphicsManager::displayMessageOnOSD(const char *msg) {
|
|||
_osdSurface->format->Bshift, _osdSurface->format->Ashift);
|
||||
|
||||
// The font we are going to use:
|
||||
const Graphics::Font *font = FontMan.getFontByUsage(Graphics::FontManager::kOSDFont);
|
||||
const Graphics::Font *font = FontMan.getFontByUsage(Graphics::FontManager::kGUIFont);
|
||||
|
||||
// Clear everything with the "transparent" color, i.e. the colorkey
|
||||
SDL_FillRect(_osdSurface, 0, kOSDColorKey);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue