diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-12-19 15:06:59 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-12-19 15:06:59 +0000 |
| commit | b2fe29b773ada2caf62721d7dfe07d9807876055 (patch) | |
| tree | ef25ea2c46693e0f0145c703801ea2fb93ed79ec /main/enigma.cpp | |
| parent | 731b74fb5560df6554e586feeec2a5af08058222 (diff) | |
| download | enigma2-b2fe29b773ada2caf62721d7dfe07d9807876055.tar.gz enigma2-b2fe29b773ada2caf62721d7dfe07d9807876055.zip | |
move AddFont to more related place
small cleanup
Diffstat (limited to 'main/enigma.cpp')
| -rw-r--r-- | main/enigma.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/main/enigma.cpp b/main/enigma.cpp index 4799a5cf..cc9781cc 100644 --- a/main/enigma.cpp +++ b/main/enigma.cpp @@ -236,10 +236,3 @@ void quitMainloop(int exitCode) exit_code = exitCode; eApp->quit(0); } - -void addFont(const char *filename, const char *alias, int scale_factor, int is_replacement) -{ - fontRenderClass::getInstance()->AddFont(filename, alias, scale_factor); - if (is_replacement) - eTextPara::setReplacementFont(alias); -} |
