#include "fontengine.h"
#include <cmath>
#include "client/renderingengine.h"
#include "config.h"
#include "porting.h"
#include "filesys.h"
#include "gettext.h"
#include "settings.h"
#include "irrlicht_changes/CGUITTFont.h"
#include "util/numeric.h"
#include <IGUIEnvironment.h>
#include <IGUIFont.h>
Functions | |
static void | font_setting_changed (const std::string &name, void *userdata) |
callback to be used on change of font size setting | |
Variables | |
FontEngine * | g_fontengine = nullptr |
reference to access font engine, has to be initialized by main | |
static const char * | settings [] |
|
static |
callback to be used on change of font size setting
Referenced by FontEngine::FontEngine().
FontEngine* g_fontengine = nullptr |
reference to access font engine, has to be initialized by main
interface to access main font engine
Referenced by GUIChatConsole::GUIChatConsole(), GUIEngine::GUIEngine(), ClientLauncher::~ClientLauncher(), GUIFormSpecMenu::createTextField(), TextDrawer::draw(), RenderingEngine::draw_load_screen(), Hud::drawItem(), Hud::drawLuaElements(), Camera::drawNametags(), Game::drawScene(), StyleSpec::getFont(), GameUI::init(), GUIFormSpecMenu::parsePwdField(), GUIFormSpecMenu::regenerateGui(), GUIOpenURLMenu::regenerateGui(), ClientLauncher::run(), GUIEngine::run(), ParsedText::Element::setStyle(), and GUIEngine::updateTopLeftTextSize().
|
static |
Referenced by FontEngine::FontEngine(), LuaSettings::create(), Settings::deregisterAllChangedCallbacks(), push_settings_table(), BiomeParamsOriginal::readParams(), MapgenCarpathianParams::readParams(), MapgenFlatParams::readParams(), MapgenFractalParams::readParams(), MapgenParams::readParams(), MapgenV5Params::readParams(), MapgenV6Params::readParams(), MapgenV7Params::readParams(), MapgenValleysParams::readParams(), set_default_settings(), Mapgen::setDefaultSettings(), MapgenCarpathianParams::setDefaultSettings(), MapgenFlatParams::setDefaultSettings(), MapgenFractalParams::setDefaultSettings(), MapgenV5Params::setDefaultSettings(), MapgenV6Params::setDefaultSettings(), MapgenV7Params::setDefaultSettings(), MapgenValleysParams::setDefaultSettings(), BiomeParamsOriginal::writeParams(), MapgenCarpathianParams::writeParams(), MapgenFlatParams::writeParams(), MapgenFractalParams::writeParams(), MapgenParams::writeParams(), MapgenV5Params::writeParams(), MapgenV6Params::writeParams(), MapgenV7Params::writeParams(), and MapgenValleysParams::writeParams().