mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 09:55:22 +02:00
Settings: Purge getDefault, clean FontEngine
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user