1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Settings: Purge getDefault, clean FontEngine

This commit is contained in:
SmallJoker 2020-11-29 17:56:25 +01:00 committed by sfan5
parent 37a05ec8d6
commit 2760371d8e
8 changed files with 38 additions and 60 deletions

View file

@ -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;