diff options
author | SmallJoker <mk939@ymail.com> | 2020-11-29 17:56:25 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2021-01-29 17:32:35 +0100 |
commit | 2760371d8e43327e94d1b4ecb79fbcb56278db90 (patch) | |
tree | 848b61cc83711e254ee443c460a16d5f4e1a8e2c /src/client/fontengine.h | |
parent | 37a05ec8d6cbf9ff4432225cffe78c16fdd0647d (diff) | |
download | dragonfireclient-2760371d8e43327e94d1b4ecb79fbcb56278db90.tar.xz |
Settings: Purge getDefault, clean FontEngine
Diffstat (limited to 'src/client/fontengine.h')
-rw-r--r-- | src/client/fontengine.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/client/fontengine.h b/src/client/fontengine.h index d62e9b8ef..e27ef60e9 100644 --- a/src/client/fontengine.h +++ b/src/client/fontengine.h @@ -62,7 +62,7 @@ class FontEngine { public: - FontEngine(Settings* main_settings, gui::IGUIEnvironment* env); + FontEngine(gui::IGUIEnvironment* env); ~FontEngine(); @@ -128,9 +128,6 @@ public: /** get font size for a specific mode */ unsigned int getFontSize(FontMode mode); - /** initialize font engine */ - void initialize(Settings* main_settings, gui::IGUIEnvironment* env); - /** update internal parameters from settings */ void readSettings(); @@ -150,9 +147,6 @@ private: /** clean cache */ void cleanCache(); - /** pointer to settings for registering callbacks or reading config */ - Settings* m_settings = nullptr; - /** pointer to irrlicht gui environment */ gui::IGUIEnvironment* m_env = nullptr; |