experimenting with font overrides.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@890 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
knakos 2005-11-20 21:55:27 +00:00
parent edb66d80fa
commit daf3a02480
2 changed files with 9 additions and 0 deletions

View File

@ -162,3 +162,11 @@ uInt32 OSystemWinCE::getTicks(void)
{
return GetTickCount();
}
inline const GUI::Font& OSystemWinCE::font() const
{
if ( ((FrameBufferWinCE *)myFrameBuffer)->IsSmartphone() )
return consoleFont();
else
return OSystem::font();
}

View File

@ -32,6 +32,7 @@ class OSystemWinCE : public OSystem
virtual void mainLoop();
virtual uInt32 getTicks(void);
virtual void setFramerate(uInt32 framerate);
inline const GUI::Font& font() const;
};
#endif